ZenphotoCMS Forum
can't run setup after move to new server - 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: can't run setup after move to new server (/thread-12395.html)



can't run setup after move to new server - wessjan - 2015-12-27

I'm about to move my zenphoto installation to a new server. Made a sql backup, copied all files over, imported the sql backup and changed the DB parameters in zenphoto.cfg.php.

When trying to access /admin, I got the error message, that the MySql Version and the physical installation path has changed. I was asked if I would like to active the setup scripts again and to run setup.

I did, but when I try to access setup the browser fails and in the error log on the server I got "[Sun Dec 27 00:12:22.756751 2015] [:error] [pid 23794] [client xxx.xxx.xxx.xxx:54468] PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 140428521866008 bytes) in Unknown on line 0"

Any Ideas?

Best regards Jan




can't run setup after move to new server - acrylian - 2015-12-27

Only what the error says: You somehow run out of memory on that server. This usually happens on too big images to process. That should not be the case on setup though.

I would suggest to contact your host as the part [i]in Unknown on line 0[/i] maybe indicates an issue with the server itself. Perhaps the memory limit is not set correctly.

Some quick findings:
http://stackoverflow.com/questions/20745767/phpmyadmin-fatal-error-allowed-memory-size-of-134217728-bytes-exhausted-trie
http://stackoverflow.com/questions/561066/fatal-error-allowed-memory-size-of-134217728-bytes-exhausted-codeigniter-xml




can't run setup after move to new server - wessjan - 2015-12-27

Hi Acrylian,

thanks for the quick reply. The first link already addressed the problem. in the apache2 php5 configuration the opcache was not enabled.

jan