View Full Version : Server Errors after crash and backup installed
March 24th, 2008, 10:40 PM
About 9 days ago the server where my sites are hosted went down. 37 of my domains were wiped out.
After nearly a week they had the sites back on-line but with numerous problems.
My Photopost installation on sportfishingasia.com is OK except that if you click any category the result is an internal server error. This is version 6.01 completely unmodified other than adding a style and a different header that are working OK.
My Photopost installation on carsalesasia.com does not work at all. Every page, including the index results in the internal server error. This install is an earlier version but is heavily modified for languages and integration with vbPortal, vBulletin, etc so I don't want to upgrade until I have more time.
Both were working perfectly before the crash but the hosting company seem to be incapable of getting things back as they were before.
Please can someone offer any suggestions on how I can fix the problem myself?
The server error message is:
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, firstname.lastname@example.org and inform them of the time the error occurred, and anything you might have done that may have caused the error.
More information about this error may be available in the server error log.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
Apache/2.2.8 (Unix) mod_ssl/2.2.8 OpenSSL/0.9.8b mod_auth_passthrough/2.1 mod_bwlimited/1.4 FrontPage/188.8.131.5235 mod_jk/1.2.25 mod_perl/2.0.3 Perl/v5.8.8 Server at www.sportfishingasia.com Port 80
March 24th, 2008, 10:55 PM
well without knowing what the error is it is hard to suggest anything. My initial suggestion would be to reupload all files except the config files and run install to go through and make sure all server paths urls etc are correct in the database.
March 24th, 2008, 11:14 PM
I just clicked on a category three times then checked the error log for the last three entries. This is what I got. Does this help?
[Mon Mar 24 23:12:33 2008] [error] [client 184.108.40.206] File does not exist: /home/asiafish/public_html/500.shtml, referer: http://www.sportfishingasia.com/photopost/
[Mon Mar 24 23:12:33 2008] [error] [client 220.127.116.11] SoftException in Application.cpp:238: File "/home/asiafish/public_html/photopost/showgallery.php" is writeable by group, referer: http://www.sportfishingasia.com/photopost/
[Mon Mar 24 23:12:31 2008] [error] [client 18.104.22.168] File does not exist: /home/asiafish/public_html/500.shtml, referer: http://www.sportfishingasia.com/photopost/
[Mon Mar 24 23:12:31 2008] [error] [client 22.214.171.124] SoftException in Application.cpp:238: File "/home/asiafish/public_html/photopost/showgallery.php" is writeable by group, referer: http://www.sportfishingasia.com/photopost/
[Mon Mar 24 23:12:27 2008] [error] [client 126.96.36.199] File does not exist: /home/asiafish/public_html/500.shtml, referer: http://www.sportfishingasia.com/photopost/
[Mon Mar 24 23:12:27 2008] [error] [client 188.8.131.52] SoftException in Application.cpp:238: File "/home/asiafish/public_html/photopost/showgallery.php" is writeable by group, referer: http://www.sportfishingasia.com/photopost/
March 25th, 2008, 10:20 AM
Like I suggested I would reupload all files and recheck permissions and set accordingly
> SoftException in Application.cpp:246: Directory "BLAH BLAH" is writeable by group
that's an error message by your webhost.
please change the directorypermissions of your photopost folder to 755 (read+execute for the group).
March 25th, 2008, 08:35 PM
Thanks Chuck I will do as you suggest.
Easy with the new site. I may have to scrap Photopost on the big site cos I just don't have time to redo all the mods.
I was thinking it might be a server problem because two different sites have the same problem as though something has been changed on the server.
March 25th, 2008, 08:41 PM
Yeah thats what that specific issue tells me the issue is if I do a web search for that error.
March 29th, 2008, 12:44 AM
I tried uploading all except config files and running install but got a huge list of error messages that I mostly don't understand then when I tried to access the index I got errors saying global.php could not be found.
So I put back my backup copy. I am currently using 6.01 so I tried upgrading from 6.01 to 6.02 I copied all files except config files. Run upgrade.php but the nearest option is 5.61/5.62 to 6.0
Should I go ahead choosing 5.61/5.62 to 6.0 ?
March 29th, 2008, 08:21 AM
global.php not found just means you typed the wrong path to the vb forum
Rerun install disregard the duplicate mysql errors that just means the queries exist already and type in the proper info asked on step 4 and the last step the vb paths urls.
April 1st, 2008, 04:52 AM
As usual you were right. I ran install again and corrected the path. Everything went smoothly but unfortunately it didn't fix the problem. I still get server errors when I click on any category.
April 1st, 2008, 05:08 AM
Is there supposed to be a file "500.shtml" (a different number depending on the category clicked but not the category number) as indicated in the error?
"File does not exist: /home/asiafish/public_html/500.shtml "
I don't think I have ever seen these files.
April 1st, 2008, 07:35 AM
Thats some standard setup on your server its looking for an error page. I would suggest you check the server setup to determine what is wrong. Looks to me like your sending someome somewhere on the server that does not exist and your site is trying to load its 500 error page but it cant be found.
At any rate this does not appear to be a photopost support issue.
April 3rd, 2008, 06:25 AM
I copied all the 6.02 files again and ran install again. The error was the same. I then looked through the files using the site control panel and noticed 3 php files with permissions set to 666 instead of 644. I didn't expect it to fix the problem but changing them to 644 fixed it.
I never thought a file with extra permissions would cause server errors. We learn something new every day.
April 3rd, 2008, 07:53 AM
yeah making php files writable can make things hiccup on some servers it is a security measure i am sure on your server.
June 29th, 2008, 06:16 AM
I was just having this same problem just after moving servers and upgrading to apache2 and php 5. 2 files set at 666 which caused 500 errors. Thanks Frank for posting your solution, you saved me hours of hair pulling!
For the sake of the search function I'll add what my apache logs showed:
SoftException in Application.cpp
Premature end of script headers: showgallery.php
June 29th, 2008, 06:31 AM
You are very welcome.
I was surprised when I found the solution as it was nothing like what I expected. I am glad it helped at least one other person in a similar situation.
June 29th, 2008, 10:12 AM
Not an everyday run of the mill error for sure and only some servers are set this way.
vBulletin® v3.8.1, Copyright ©2000-2014, Jelsoft Enterprises Ltd.