Share » Forums » Setup & design » Frustrating Debug Issue

Frustrating Debug Issue

Frustrating Debug Issue

Tuesday 09 March 2004 9:16:35 am - 4 replies

Modified on Tuesday 09 March 2004 10:23:32 am by Alex Jones

Author Message

Alex Jones

Tuesday 09 March 2004 10:21:33 am

The following error also shows up in our httpd error log.
FATAL: erealloc(): Unable to allocate 1768318443 bytes

Alex

Alex
[ bald_technologist on the IRC channel (irc.freenode.net): #eZpublish ]

<i>When in doubt, clear the cache.</i>

Georg Franz

Thursday 11 March 2004 3:57:50 am

Hi Alex,

the debug output has nothing to do with your problem but with two small bugs in "clear cache".
http://ez.no/community/bug_reports/kernel_classes_ezcache_php_fatal_error_missing_includes_more

It sounds like that you have an error in your pagelayout.tpl. Do you use cache-blocks? If yes, check if they are set right:

a) Turn off caching completely (in site.ini.append) -> Did it work?
b) If yes, check if you have
{cache-block ...}
....
{$module_result.content}
{/cache-block}

in your pagelayout.tpl.

-> that means that ez loads the same cache-block (the same page) on every page. Remove the cache-block.

I hope that helps.

Kind regards,
Emil.

Best wishes,
Georg.

--
http://www.schicksal.com Horoskop website which uses eZ Publish since 2004

Alex Jones

Thursday 11 March 2004 7:31:28 am

Thanks Emil, I'll try that out and report back.

Alex

Alex
[ bald_technologist on the IRC channel (irc.freenode.net): #eZpublish ]

<i>When in doubt, clear the cache.</i>

Alex Jones

Thursday 11 March 2004 8:44:50 am

Well, turning off all caching and then turning on debug output worked which was nice. But the problem is not with cache-blocks around <i>{$module_result.content}</i>. I know enough about cache-blocks to not make that mistake. :) But, just in case, I double-checked to ensure that I didn't forget to close a cache-block further up the line.

I went ahead and made all of the changes you posted in your bug report, but it doesn't change anything when I try to debug with caching enabled.

But, in the grand scheme of things, this should get me by. I just have to turn off all caching when I am going to debug. That isn't too bad, though that means that I still can't test the speed of cached elements.

Thanks again Emil!

Alex

Alex
[ bald_technologist on the IRC channel (irc.freenode.net): #eZpublish ]

<i>When in doubt, clear the cache.</i>

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

36 542 Users on board!

Forums menu