This site has been archived and you can no longer log in or post new messages. For up-to-date community resources please visit ezplatform.com

eZ Community » Forums » Install & configuration » Memory limit.. and .htaccess problems
expandshrink

Memory limit.. and .htaccess problems

Memory limit.. and .htaccess problems

Monday 21 June 2004 1:13:18 am - 2 replies

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

Monday 21 June 2004 8:41:25 am

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

--
Kåre Høvik

Monday 21 June 2004 12:49:08 pm

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

ini_set( "memory_limit", "-1M"blunk.gif Emoticon;

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

Regards,

James

expandshrink

You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu

Proudly Developed with from