I have just finished installing Boonex on my localhost and the install went fine. I am able to log into admin and the index.php displays everything correctly. However upon trying to create a new test member, after filling out the fields, which load fine, I get a long pause "waiting for localhost", and then I get hit with a 500 Internal Server error.
I am curious as to what may be causing this, and if anyone has experienced this before.
After the fact, I just tried resubmitting the test user, and it tells me the user has already been registered under that name/email. It looks as if the user made it into the db, but upon trying to login, it tells me "Profile error. Please, try again."
Thanks,
xmaddness
|
Couple things:
1. Is mod_rewrite on
2. Is your .htaccess file in the Dolphin root as it's supposed to be?
If .htaccess is not in the dolphin root directory, then you need to get it from the Dolphin Zip file and place it in, you will also need to check ray/orca and so on and make sure they have theirs
|
The .htaccess is in place correctly but mod_rewrite was not enabled. I am now enabling it in the httpd.conf and trying to test it via a small script. So far I have been unsuccessful in getting it to function.
But it is definetly a mod_rewrite issue as you stated. I logged into the admin panel and saw the user in the members section, upon clicking on the user I get the http://localhost/username not found, which means mod rewrite is unable to rewrite the url properly.
So I will work on getting the fix in properly. Thanks for the heads up.
|
I have fixed the mod_rewrite error. However, I am still unable to get the join.php to finish running completely. Checking in the apache logs I see the following entry.
[Fri Aug 14 17:16:32 2009] [error] [client 127.0.0.1] Premature end of script headers: php-cgi.exe, referer: http://localhost/survival/join.php
Any ideas?
|
I have fixed the mod_rewrite error. However, I am still unable to get the join.php to finish running completely. Checking in the apache logs I see the following entry.
[Fri Aug 14 17:16:32 2009] [error] [client 127.0.0.1] Premature end of script headers: php-cgi.exe, referer: http://localhost/survival/join.php
Any ideas?
Take all of this to your host, it is all server side issues.
Also, check your .htaccess it should have 7830 bytes if you have NOT modified it at all yet, which it should be unmodified still.
|
I am the host. I am running the webserver as localhost. |
|
It is Windows Vista OS, Apache 2.2, PHP5. Running the php-cgi.exe.
I have many other websites that I dev and I run them all on my localhost. I have not had any problems with any of the other sites running php/mysql. And as I stated, the rest of the Boonex install seems to be running fine (at least the areas I have visited).
BTW: Thank you for your responses in regard to this. Any insight would be helpful.
|
Based on this.
Premature end of script headers: php-cgi.exe,
I would say it's a *cough* *cough* windows server.
I sounds like something stupid like binary verses ascii transfer, but considering the server is his, the zip file should have been unpacked on the server rather than transfered via ftp.
Perhaps a permissions issue also.
Oh how i hate windows machines.
https://www.deanbassett.com |
LOL, my post went in to late. Windows as i suspected. And vista no less. I am out of this one. Sorry. I hate windows, and i hate vista even more.
https://www.deanbassett.com |
Yep its windows for the dev, and *nix on my production servers.
Yes there was no need to ftp so it isn't a ascii vs. binary transfer problem.
I suspect the join.php script would throw an error if there was a directory permission error. I was sure to check all the permissions for the directory structure during the install, and all were seen as correctly writable.
Any more insight would be great.
|
I just have one more thought as it is common on windows machines.
See if your php.ini file has the option for short_open_tags turned on.
This is quite often off on windows installs of php and dolphin requires it on.
https://www.deanbassett.com |
Oh, and the join page generates a captua(sp) image. Is the GD library and ImageMagick installed?
https://www.deanbassett.com |
My advice would be to partition the server and install a linux OS, placing Dolphin in that section. Otherwise, I'm out and someone who's used to windows is in... |
GD is installed, ImageMagicki s not. I was under the impression that if GDlib was installed, that I did not need ImageMagic. The eCapture does display correctly.
I will check the ini to see if that is enabled.
I do have a fedora 9 install on my other desktop and have considered making it my dev server in the past, but a combination of lazyness, and no current need for it has pretty much stopped me from doing so. Not to mention having to expose the ports and the server to the dmz for when I am out of the office. Running locally on my windows dev machine has been the easiest path, until now.
Thanks for the help guys and I will try a few other things, and if it does not work, I may just end up putting it over to my linux box.
Thanks again.
|
That is true. ImageMagick is not required if GD is installed and working.
In PHP.INI these are the important settings for dolphin.
register_globals=Off magic_quotes_gpc=On allow_url_include=Off short_open_tag=On
These are all the recommend settings.
register_globals=Off magic_quotes_gpc=On allow_url_include=Off upload_max_filesize=300M post_max_size=300M max_input_time=3000 max_execution_time=3000 memory_limit=128M short_open_tag=On
safe mode must also be off, but that should be off. The installer would have complained about some of those items anyway.
Other than that i am at a loss. Dolphin does run best on linux.
https://www.deanbassett.com |
short_open_tags is in fact turned on.
So, I will most likely be going over to the nix side with this.
Thanks again.
|
Well, after a night of reconfiguring my linux server, I am happy to say the issue has been resolved. It seems that the system just does not agree with using the php-cgi.exe windows cgi version of php on my system.
Thanks for the help all.
Now time to start customizing the backend.
xmaddne
|