HTTP 500 problem

Caporegime
Joined
25 Jul 2005
Posts
28,851
Location
Canada
My new gallery 2 upgrade seems to have hit a hitch. It did work for an evening but then the server hosting the database went down, it's now up and running again but I still get a HTTP 500 error (the standard IE one). The host says to repair the tables via phpmyadmin if the websites have problems, I have tried repairing all the tables, but only two were repairable and the site still doesn't want to work.

Any ideas what else I can do to get it sorted?

Thanks
 
In IE go to Tools > Internet Options > Advanced Tab > Uncheck Show Friendly HTTP Error Messages and OK.

If your server is setup to show them, the generic 500 error should now give you a line number and description of what the error is with the code.
 
Here is the 500 error details

Code:
Error
Error (ERROR_PLATFORM_FAILURE) : 
in modules/core/classes/GalleryTemplate.class at line 241 (GalleryCoreApi::error) 
in modules/core/classes/GalleryTemplate.class at line 180 (GalleryTemplate::_initCompiledTemplateDir) 
in main.php at line 486 (GalleryTemplate::fetch) 
in main.php at line 94
in main.php at line 83

I can't find an error log at the moment but i'll see if I can get it.

The main.php file shouldn't have changed since I installed it and the lines shown mean nothing to me. Would it be advisabe to just upload the main.php and gallery template files again?
 
I was reading elsewhere it could be a permissions problem, try resetting the permissions to default on all files/folders (I imagine it'll say in the instructions). Or, as a last resort you may need to re-install the gallery if the host restored from a backup (i.e. before you had installed it last night).
 
Ah, that looks promising, I had been trying to download some plugins just before the mySQL propbem with the host happened so assumed it may have been a problem with them. I'll have a look in a bit and see if that sorts it. :)
 
Well I decided to reinstall after trying the above and getting nowhere, after faffing around getting getting the final kinks sorted it all seems to be working (for the moment).

Thanks for the help
 
Back
Top Bottom