Memory limit.. and .htaccess problems

Author Message

Petter Neumann

Sunday 20 June 2004 4:13:18 pm

After install ez 3.4 and acessing the site, I get this error:
"
Fatal error: Allowed memory size of 16777216 bytes exhausted (tried to allocate 44 bytes) in /home/mydomain/www/e/lib/ezxml/classes/ezdomnode.php on line 458
Fatal error: eZ publish did not finish it's request

The execution of eZ publish was abruptly ended, the debug output is present below.
"
there is no debug output.

I also tried to copy the .htaccess_root file to my ez root directoty, rename it to
.htaccess and add the line

php_value memory_limit "32M"

But when doing that I only get a
"
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
"

/ Petter

Kåre Køhler Høvik

Sunday 20 June 2004 11:41:25 pm

eZ publish probably runs out of memory due to template compilation. You can do this from command line : http://ez.no/ez_publish/documentation/development/scripting/supplied_scripts/template_compiler

--
Kåre Høvik

Kåre Høvik

James Packham

Monday 21 June 2004 3:49:08 am

I prefer to use a hack of index.php to get around it. Just add:

ini_set( "memory_limit", "-1M");

to the begining of index.php. This will disable the php memory limit. Just remember it's there when you upgrade :)

Regards,

James

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.