Dolphin - Post-Installation Blues

Hey there guys.

I am using Dolphin 6.1.X to build a webpage for a company called artmedia.

I just finished the installation of Dolphin and I am sort of lost where to go to from here. My knowledge on what we are doing is limited, I pick it up as we go but we are apparently building a social networking page for an online game. I was following a guide which told me to go to my admin page, and according to the file indexes, it looks like I need to be in <sitedir>/Admin/index.php however I get an Internal Server Error when I do.


If anyone could kindly point me in the right direction, that would be fantastic and much appreciated.

Thanks ahead.

Xevonarin

Quote · 29 Jul 2008

Try just yoursite/admin without the index.php, I know that I can not login if I use admin/index.php

From the land DownUnder
Quote · 29 Jul 2008

Do you know exactally which 6.1.x? 6.1.0, 6.1.1, 6.1.2. 6.1.3 or 6.1.4?

Reason why I ask is because 6.1.1 an under has:

php_flag register_globals Off

in the .htaccess file itself newer versions the line has been removed.

In the main .htaccess which will cause a 500 internal error on a cgi server/host setup.

6.1.2 and above it was removed. So if you have 6.1.1 or under check your main .htaccess file for:

php_flag register_globals Off

And either remove it completely or comment it out like:

#php_flag register_globals Off

Comment out is usually nicer because you can change it back much easier if need be.

If this is not the case any other specifics that might be helpful? Other pages in particualar? Does your whole site do this or just the admin area?

gameutopia

DialMe.com - Your One and Only Source For Boonex Dolphin Tutorials and Resources
Quote · 29 Jul 2008

Try just yoursite/admin without the index.php, I know that I can not login if I use admin/index.php

Error 500 - Internal Server Error :S

Do you know exactally which 6.1.x? 6.1.0, 6.1.1, 6.1.2. 6.1.3 or 6.1.4?

Reason why I ask is because 6.1.1 an under has:

php_flag register_globals Off

in the .htaccess file itself newer versions the line has been removed.

In the main .htaccess which will cause a 500 internal error on a cgi server/host setup.

6.1.2 and above it was removed. So if you have 6.1.1 or under check your main .htaccess file for:

php_flag register_globals Off

And either remove it completely or comment it out like:

#php_flag register_globals Off

Comment out is usually nicer because you can change it back much easier if need be.

If this is not the case any other specifics that might be helpful? Other pages in particualar? Does your whole site do this or just the admin area?

gameutopia

I am unsure what version we have.


Some parts of the site work (EG <sitedir>/admin/help.html) but I cannot seem to find a way to access an Admin Control Panel or similar.

Quote · 29 Jul 2008

Did you try what handsconnect suggested to see if that made any difference too:

http://www.yoursite.com/admin
or
http://www.yoursite.com/admin/index.php

Also how about:

http://www.yoursite.com

http://www.yoursite.com/index.php

http://www.yoursite.com/links.php

http://www.yoursite.com/faq.php

etc..etc..do things like this work or Internal error too?

DialMe.com - Your One and Only Source For Boonex Dolphin Tutorials and Resources
Quote · 29 Jul 2008

Did you try what handsconnect suggested to see if that made any difference too:

http://www.yoursite.com/admin
or
http://www.yoursite.com/admin/index.php

Also how about:

http://www.yoursite.com

http://www.yoursite.com/index.php

http://www.yoursite.com/links.php

http://www.yoursite.com/faq.php

etc..etc..do things like this work or Internal error too?

http://www.yoursite.com/admin = Internal Server Error

http://www.yoursite.com/admin/index.php = Internal Server Error

http://www.yoursite.com = Red Hat Enterprise Linux Test Page

http://www.yoursite.com/index.php = 404 Not Found

http://www.yoursite.com/links.php = 404 Not Found

http://www.yoursite.com/faqs.php = 404 Not Found


Edit: Might I add that the installer failed on the last page? It redirected me to a dead link so I just jumped ahead and removed it from the site.

Quote · 29 Jul 2008

copy and paste the content of the downloaded .htaccess file to the root of your site

I am unsure whether I have / downloaded such a file. I searched the site files but came up empty handed. If you know any way to find it, that would be much appreciated or where I can download one. Wink

Apologies, I am not terribly skilled with this, its a big learning curve for me Cry

Quote · 30 Jul 2008

I have compiled some screenshots which show more or less where it went wrong.

http://img237.imageshack.us/img237/6245/sitebighk4.png

http://img154.imageshack.us/img154/3234/folph1cg7.png

http://img237.imageshack.us/img237/1650/97299665rs2.png

Quote · 30 Jul 2008

During the first part of the installation you are prompted to set the file permissions for specific files folders to 666's and 777's etc in order for the script to write necessary information to them to make it work. Do you remember doing this?

When I look at this screenshot you posted:

http://img154.imageshack.us/img154/3234/folph1cg7.png

It implies that the file/folders were not writeable to begin with. If they were not writeable it's possible that necessary info didn't get written to these files.

The screen shot is post install permissions. But it would seem as though some of the pre-install permissions were not properly set. There are many of them.

Do you remember changing file/folder permissions in the first part of the install?

DialMe.com - Your One and Only Source For Boonex Dolphin Tutorials and Resources
Quote · 30 Jul 2008

During the first part of the installation you are prompted to set the file permissions for specific files folders to 666's and 777's etc in order for the script to write necessary information to them to make it work. Do you remember doing this?

When I look at this screenshot you posted:

http://img154.imageshack.us/img154/3234/folph1cg7.png

It implies that the file/folders were not writeable to begin with. If they were not writeable it's possible that necessary info didn't get written to these files.

The screen shot is post install permissions. But it would seem as though some of the pre-install permissions were not properly set. There are many of them.

Do you remember changing file/folder permissions in the first part of the install?

Yes, I set the permissions and I set the ones that it required back on that page. That is the screen it shows once I have set all the permissions back.

Also after the screen it kicks out, as noted in the screenshot. 404 Page Not Found. Seems a little odd dont you think?

Quote · 30 Jul 2008

hmm... from the surface, it seems as if it's not even seeing the Dolphin install. Do this quick test. Create an php file with an echo statement (or even just a simple html file), upload it on each of the folders in questions and run it on each folder. Does it load or 404s out?

Quote · 30 Jul 2008

How come you set the /inc folder to 644 and not 755 same with /periodic?

Did you try to set these folders to 755 instead of 644?

With a 644 it could be that it can't read the contents of the files inside /inc. Try changing the folders as specified to 755.

gameutopia

http://www.dialme.com

DialMe.com - Your One and Only Source For Boonex Dolphin Tutorials and Resources
Quote · 30 Jul 2008

Did this fix that for you?

DialMe.com - Your One and Only Source For Boonex Dolphin Tutorials and Resources
Quote · 30 Jul 2008

Hi

I'm Alan, I work with Xevonarin, he's not in today.

Xevonarin had set the permissions to 755, but then changed some back at the end.

I think the step he's missing is the 'set up the cron jobs'... I think he ignoired this step and went on to change some of the permissions back.

How do we set up the cron jobs from a windows desktop on a Linux server?

Cron Jobs
Please, setup Cron Jobs as specified below. Helpful info about Cron Jobs is available here.
MAILTO=leader@artmedia.com.au
0 0 * * * /usr/bin/php -q /var/www/vhosts/dreamguides.net/httpdocs/periodic/cmd.php
*/10 * * * * /usr/bin/php -q /var/www/vhosts/dreamguides.net/httpdocs/periodic/notifies.php
* */1 * * * /usr/bin/php -q /var/www/vhosts/dreamguides.net/httpdocs/periodic/cupid.php

The helpful info tells me to "create batch files for every cron you wish to create"

What is a cron and how do I create batch files?

thank

Quote · 30 Jul 2008

Hi

I'm Alan, I work with Xevonarin, he's not in today.

Xevonarin had set the permissions to 755, but then changed some back at the end.

I think the step he's missing is the 'set up the cron jobs'... I think he ignoired this step and went on to change some of the permissions back.

How do we set up the cron jobs from a windows desktop on a Linux server?

Cron Jobs
Please, setup Cron Jobs as specified below. Helpful info about Cron Jobs is available here.
MAILTO=leader@artmedia.com.au
0 0 * * * /usr/bin/php -q /var/www/vhosts/dreamguides.net/httpdocs/periodic/cmd.php
*/10 * * * * /usr/bin/php -q /var/www/vhosts/dreamguides.net/httpdocs/periodic/notifies.php
* */1 * * * /usr/bin/php -q /var/www/vhosts/dreamguides.net/httpdocs/periodic/cupid.php

The helpful info tells me to "create batch files for every cron you wish to create"

What is a cron and how do I create batch files?

thank

As alan said before, we had difficulty understanding the Cron Jobs part. The instructions on http://www.boonex.com/trac/dolphin/wiki/DetailedInstall were difficult to understand.

We just bypassed this step, would this shed any light on the situation?

Also I will try and reset the permissions you listed Gameutopia, will report back shortly :)

Quote · 1 Aug 2008

As alan said before, we had difficulty understanding the Cron Jobs part. The instructions on http://www.boonex.com/trac/dolphin/wiki/DetailedInstall were difficult to understand.

We just bypassed this step, would this shed any light on the situation?

Also I will try and reset the permissions you listed Gameutopia, will report back shortly :)

Nothing new. Set the permissions but still cannot access the login pages or anything Frown

Quote · 1 Aug 2008

Hey guys.

We seem to have made some progress over the last half hour. We set up the cron jobs (I hope we did it right, we sort of followed our nose) and set all the permissions to 755 and 644 (Depending on what dolphin wanted).

Alan believes dolphin should have created an Index.php and an /admin/ or /admin/index.php however the index.php is non-existant and /admin/index.php still spews out a 500 - Internal Server Error.

Any ideas? www.dreamguides.net still shows the linux test page.

Quote · 1 Aug 2008

Well, one good thing is your Apache Server is working right, sorry.....The path to admin would be yoursite.net/admin/ but, I see that doesn't work. Did you install into the public_html directory?? It appears that you might have missed a step. Your "dead link" on the last step might have been the vital key your missing. It looks as though the installer didn't work.

 

About cron jobs...cmd.php deletes old files and cleans the database, notifies.php handles the queue of emails, cupid.php sends out cupid matches according to your settings in Advanced Settings.

Cron jobs are easier done in Cpanel by clicking on Cron Jobs.

Quote · 1 Aug 2008

Well, one good thing is your Apache Server is working right, sorry.....The path to admin would be yoursite.net/admin/ but, I see that doesn't work. Did you install into the public_html directory?? It appears that you might have missed a step. Your "dead link" on the last step might have been the vital key your missing. It looks as though the installer didn't work.

We have tried the installer several times only to get the same result. We are fairly confident that we are doing it right, but right at the end it links us to a non-existant page. We THOUGHT that Dolphin would make this page for us, but maybe thats where we are wrong? Would we need to build this PHP page ourselves?

Im rather puzzled Frown

Quote · 1 Aug 2008

I always have dolphin geeks do my upgrades and had Boonex install it originally but, I would think that the page that you should be directed to is your homepage. I'll take a look around and see if I can find you an answer. Just a question...did you delete the install file??

Rob

Quote · 1 Aug 2008

I always have dolphin geeks do my upgrades and had Boonex install it originally but, I would think that the page that you should be directed to is your homepage. I'll take a look around and see if I can find you an answer. Just a question...did you delete the install file??

Rob

Yes I did but I had huge problems trying to remove the .htaaccess which stopped me from being able to delete the folder.

Quote · 1 Aug 2008

I have made another image with screenshots and such. I hope this clears up the issue a little more :)

Free Image Hosting at www.ImageShack.us

Quote · 1 Aug 2008

Well, you have the right permissions but, I don't like the 404 error. Maybe if your lucky someone here could do the install for you otherwise, you could have dolphingeeks do it for $10. Did you say you removed .htaccess as well?

That could be a problem.

Quote · 1 Aug 2008

Well, you have the right permissions but, I don't like the 404 error. Maybe if your lucky someone here could do the install for you otherwise, you could have dolphingeeks do it for $10. Did you say you removed .htaccess as well?

That could be a problem.

No were were unable to delete /install/.htaaccess.

Can we be lucky please and get someone to install it? Smile

Or Dolphingeeks sounds good Cool Have a link?


How do we make either of these happen?

Quote · 1 Aug 2008

dolphingeeks.com If you have them do the install then they will handle any errors that might pop up so it's better to do it that way.

Rob

Quote · 1 Aug 2008

dolphingeeks.com If you have them do the install then they will handle any errors that might pop up so it's better to do it that way.

Rob

Thank you very much, we have decided to get Dolphingeeks to do this for us :)

Quote · 1 Aug 2008

Yeah, it's only $10. and save you a lot of headaches......tell them Rob P. sent you

Quote · 1 Aug 2008

Yeah, it's only $10. and save you a lot of headaches......tell them Rob P. sent you

Im not the one handling the finances, but if I get a chance I will :P

Quote · 1 Aug 2008

Seems extremely peculiar to me. Why would it lose the index.php? As well, I don't think skipping the CRON settings would cause such a mess. If you don't do the CRON's it just means it won't run the 3 monthly things that are currently on the Dolphin CRON schedules..but certainly it will not cause the install to fail. Even if you don't delete the Install folder, that should be ok too. So if you encounter problems deleting it because of a pesky .htaccess, that shouldn't cause the problem. The instructions to delete is really as a precaution. For me, I simply rename the folder.

I don't know how far you got (yet) with outsourcing the installation, but if you're still in troubleshooting mode, let me ask a few questions:

First, how are you installing? Directly on the server or from a workstation? In either case, are you going to the actual install URL ? I know this lead might seem out on left field but so is the problem. So any idea might be worth considering at this point. Anyhow, I'm seeing this direction since you seem to be able to run install but you don't see anything thereafter. So, there is something install doesn't seem to be doing right. I also asked as to how you ran install since it automatically prepopulates certain variables based on how it sees it. I'm wondering if it's setting the wrong variables as a result.

Quote · 1 Aug 2008
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.