![]() |
|
Fatal error after upgrading - 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: Fatal error after upgrading (/thread-11193.html) |
Fatal error after upgrading - Soleil - 13-07-2013 After upgrading to 1.4.5, I get the following message Fatal error: Call to undefined function zp_load_gallery() in /homez.65/pXXX/www/YYYY/albums/zp-core/controller.php on line 16 I would be grateful for your help how to solve this problem. Fatal error after upgrading - acrylian - 13-07-2013 Try a re-upload of the zp-core files. Also make sure your server is really compatible. Fatal error after upgrading - Soleil - 13-07-2013 Thanks, acrylian, for your quick answer. I reloaded the zp-core files, but got the same error message. I entered "SetEnv PHP_VER 5_3" in the htaccess file Fatal error after upgrading - sbillard - 13-07-2013 Best guess it that this was a faulty upgrade. Perhaps a file permissions problem or maybe some files from an older install did not get replaced. Check all your logs to see what else is shown. Specially the server access log, the CGI error log and the Zenphoto debug log. The only way that you can get this error is for the Fatal error after upgrading - acrylian - 13-07-2013 More errors in the log? If Fatal error after upgrading - Soleil - 14-07-2013 It works! After several re-uploads, I managed to have the new version working. It seems that index.php did not overwrite properly. (I know you recommend not too overwrite this file, but to erase it and then upload the new file!!!). Thank you very much for your help. I always learn a lot from your replies. Fatal error after upgrading - sbillard - 14-07-2013 We have never recommended NOT overwriting any of the files in the package. On the contrary, the process is to insure that ALL the files are overwritten. Fatal error after upgrading - acrylian - 14-07-2013 I think you misunderstood him. I actually would always recommend to delete all files first and then upload the new ones. It somehow happens that via FTP frequently that some are not correctly overwritten if you for example drop the entire zp-core on zp-core. I often had problems that way somehow but not the other way. Maybe it is the the number of files, no idea. Fatal error after upgrading - sbillard - 14-07-2013 Maybe it is your "toy" ftp client. Fatal error after upgrading - acrylian - 14-07-2013 My ftp client is even a commercial one existing for years actually. Fatal error after upgrading - sbillard - 14-07-2013 Then why does it now work? No excuse for not overwriting files when it uploads them. Fatal error after upgrading - acrylian - 15-07-2013 I cannot say to Soleil's problem but I guess on my end it was related to the connection and number of files transferred at one time. I have to say that this was our old server primarily where I had that issue. |