Forums / Install & configuration / PHP Accelerator: Installed and now -> Probs
Mark Mollerus
Sunday 05 March 2006 4:22:03 pm
Hey @ll,
i have installed the PHP Accelerator ( ionCube PHP Accelerator ) so my eZ-System run faster.
Now i cant login: At one eZ i get a Error Message:
Fatal error: Allowed memory size of 44040192 bytes exhausted (tried to allocate 279660 bytes) in /var/www/web1/html/hosting/wikicity/ez/var/news/cache/template/compiled/show_content_structure-ec434c4502a2a55ebcedd1dc639ace0d.php on line 1414 Fatal error: eZ publish did not finish its request The execution of eZ publish was abruptly ended, the debug output is present below.
On another i get a blank white site, after login in the admin-panel ( there are running 4 eZ´s on one Server )
I don´t know what i shoud or hae to do. Can you help me?
Greetings Mark
Ćukasz Serwatka
Sunday 05 March 2006 11:18:29 pm
Hi Mark,
You can increase amount of memory for PHP script in php.ini configuration file.
memory_limit = 64M
Personal website -> http://serwatka.net Blog (about eZ Publish) -> http://serwatka.net/blog
Monday 06 March 2006 5:50:12 am
The Script Memory Limit is 42 MB.
Is that not enough?
Monday 06 March 2006 11:43:48 am
ok, i have changed the script size, but one eZ-System doesn´t run:
Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 279660 bytes) in /var/www/web1/html/hosting/wikicity/ez/var/news/cache/template/compiled/show_content_structure-ec434c4502a2a55ebcedd1dc639ace0d.php on line 1414
Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 32 bytes) in /var/www/web1/html/hosting/wikicity/ez/lib/ezdb/classes/ezdb.php on line 132
Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 154 bytes) in Unknown on line 0
Warning: Unknown(): A session is active. You cannot change the session module's ini settings at this time. in Unknown on line 0
Kristof Coomans
Monday 06 March 2006 11:07:13 pm
Try to limit the size of the content structure menu by modifying some settings in contentstructuremenu.ini, these are by default:
[TreeMenu] # which classes to show ShowClasses[] # max depth to fetch # "0" means unlimited MaxDepth=0 # max nodes count to fetch # "0" means unlimited MaxNodes=0
If you have template compilation enabled, you can first run the command line template compiler (bin/php/eztc.php) for the admin siteaccess, before you enter the admin site.
independent eZ Publish developer and service provider | http://blog.coomanskristof.be | http://ezpedia.org
Wednesday 08 March 2006 10:08:35 am
it does´t run
If i run the bin/php/eztc.php i get errors:
#!/usr/bin/env php Warning: main(lib/ezutils/classes/ezcli.php): failed to open stream: No such file or directory in /var/www/web1/html/hosting/wikicity/ez/bin/php/eztc.php on line 37 Warning: main(): Failed opening 'lib/ezutils/classes/ezcli.php' for inclusion (include_path='.:/usr/share/pear/') in /var/www/web1/html/hosting/wikicity/ez/bin/php/eztc.php on line 37 Warning: main(kernel/classes/ezscript.php): failed to open stream: No such file or directory in /var/www/web1/html/hosting/wikicity/ez/bin/php/eztc.php on line 38 Warning: main(): Failed opening 'kernel/classes/ezscript.php' for inclusion (include_path='.:/usr/share/pear/') in /var/www/web1/html/hosting/wikicity/ez/bin/php/eztc.php on line 38 Fatal error: Undefined class name 'ezcli' in /var/www/web1/html/hosting/wikicity/ez/bin/php/eztc.php on line 40
If i delete the show_content_structure-ec434c4502a2a55ebcedd1dc639ace0d.php, there is no reason.
What should i do?
Wednesday 08 March 2006 10:15:09 am
Are you running it from the root dir of your eZ installation?
Wednesday 08 March 2006 10:29:50 am
The System is installed on http://www.wikicity.de/ez and i tried to call http://www.wikicity.de/ez/bin/php/eztc.php
Wednesday 08 March 2006 11:06:14 pm
bin/php/eztc.php is a command line script, so try call it from the command line ;) Your current working directory has to be your eZ publish root dir (otherwise the script won't be able to find some needed include files).
Script start
Module start 'content'
Module end 'content'
Script end
Time used to render debug report: 0.0001 secs