![]() |
|
ZP 1.2.8 upgrade and 500 internal server error - Printable Version +- ZenphotoCMS Forum (https://forum.zenphoto.org) +-- Forum: Support (https://forum.zenphoto.org/forum-1.html) +--- Forum: General support (https://forum.zenphoto.org/forum-4.html) +--- Thread: ZP 1.2.8 upgrade and 500 internal server error (/thread-6577.html) |
ZP 1.2.8 upgrade and 500 internal server error - Citron - 09-02-2010 Hi, I created a backup of my db, then erased the zp-core and old theme directory. I then uploaded the new ZP, and tried to access the zp-core/setup.php file. But I had a "500 Internal Server Error" So, first, sorry for the big story. Then : how should I do ? Each time I set the correct permissions, the setup reverse them to ones that don't work ... any solution ? ZP 1.2.8 upgrade and 500 internal server error - acrylian - 09-02-2010 Did you try 777 as well. Some host seem not to allow 755 for whatever reason. ZP 1.2.8 upgrade and 500 internal server error - Citron - 09-02-2010 Hi, ZP 1.2.8 upgrade and 500 internal server error - acrylian - 09-02-2010 Setup tries to set the permissions to what it needs. If it does not succed it actually tells that. Internal server errors often are related to modrewrite/htaccess. Did you check that? ZP 1.2.8 upgrade and 500 internal server error - Citron - 09-02-2010 I re-tried, this time without any .htaccess in my root directory, but the same problem occurs : setup shows, go, 500 errors, persmissions changed and setup shows a 500 error until I re-set permissions to 755 ZP 1.2.8 upgrade and 500 internal server error - Citron - 09-02-2010 I just edited my zp-config.php file, and notice a "define('CHMOD_VALUE', 0777);" in it ... I changed it to 755 and the update did work, and my gallery is now up and running without any problem ... What I don't understand is why did it work with my previous ZP install (1.2.6 if I remember well) But anyways, it works now and I'm happy. I just have a little modification to make to my share plugin since the getImageEXIFData() function doesn't seem to exist anymore Thanks for your wonderfull work on ZP and the help ! ZP 1.2.8 upgrade and 500 internal server error - acrylian - 09-02-2010 Glad it works now. Probably sbillard will hav an idea about this. getImageEXIFData() is deprecated and available if you enable the plugin for the deprecated functions. But best to update of course. |