ZenphotoCMS Forum
Upgrade to 1.3 - 500 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: Upgrade to 1.3 - 500 Error (/thread-7121.html)



Upgrade to 1.3 - 500 Error - herverio - 2010-05-29

Dear all,

I have just upgraded to zenphoto 1.3 through my CPANEL/Softalicious hosting service and all pages belows my zenphoto "pics" folder are down : 500 Internal Server Error

I changed permissions to 777 for the whole folder including all subfolders, didn't resolved.

Thanks in advance for you help

Best regards
Hervé




Upgrade to 1.3 - 500 Error - kagutsuchi - 2010-05-29

The actual error message should have been output to your server's error logs. You should try to find those and post the actual error; otherwise, we would just be guessing what the problem is.

Also, you say that you upgraded through CPanel... did you use SimpleScripts to upgrade? If so, you will have to ask the SimpleScripts maintainers as we don't support third-party installations.




Upgrade to 1.3 - 500 Error - herverio - 2010-05-29

I found this in the error log:

[Sat May 29 12:22:39 2010] [error] [client 187.67] File does not exist: /home/herverio/public_html/500.shtml
[Sat May 29 12:22:39 2010] [error] [client 187.67] SoftException in Application.cpp:601: Directory "/public_html/pics" is writeable by group

Sorry, as I'm not an expert, can't tell you what was used during install.
I saw on my CPANEL that php version is 5.2.11

Any hint?




Upgrade to 1.3 - 500 Error - herverio - 2010-05-29

I just changed permissions of the zp-core folder and all files below to 755 and tried to access my zenphoto admin page, I got this page (screenshot):

http://img84.imageshack.us/img84/7719/zenphotoupgradeadminpag.jpg

When I try to click on the link to create the htaccess file I got a 500 error




Upgrade to 1.3 - 500 Error - sbillard - 2010-05-29

You probably have mod_rewrite set and have no .htaccess file. The last warning on page has a link to create a .htaccess file. If your server does not support rewrite, you will have to disable mod_rewrite.




Upgrade to 1.3 - 500 Error - herverio - 2010-05-29

Got it back working, the problem was that the index.php file inder the root zenphoto folder was wrong, it was actually the index.php file that is under the themes/default folder, so downloaded the zenphoto.zip package, extracted the root index.php and replaced it in the server.

Now I have a strage behavior: as a default viewer, I lost all my specific/personalized theme that I configured, but when I visualize my gallery home page logged as admin, I am viewing my personalized theme.

Do you know where it can come from?




Upgrade to 1.3 - 500 Error - herverio - 2010-05-29

This is the current index.php page of my root zenphoto folder:




Upgrade to 1.3 - 500 Error - herverio - 2010-05-29

Got everything back working, had to re-modify the php files and css in the theme folder