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 `functions-controller.php` script to fail to load. That load would have been the action done immediately before the execution of the statement showing the error.
More errors in the log? If `SetEnv PHP_VER 5_3` is what you need to do on your host to switch/enable php version that will be correct (never saw that actually).
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.
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.
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.
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.
Comments
I reloaded the zp-core files, but got the same error message.
I entered "SetEnv PHP_VER 5_3" in the htaccess file
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 `functions-controller.php` script to fail to load. That load would have been the action done immediately before the execution of the statement showing the error.
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.
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.