Tuesday 09 March 2004 9:16:35 am
I have run into a really odd problem when trying to debug a new site. Anytime I set <i>DebugOutput</i> to 'enabled' under <i>[DebugSettings]</i> in <i>site.ini</i> or a <i>site.ini.append</i> file, eZ publish won't allow any pages to be loaded. The current page is reloaded instead of the new page. The only page that I can see the debug output is the Cache admin page as that reloads properly after I clear the cache. Here are some PHP errors which may be causing the issue, though I am stumped as to the problem.
<b>Warning: PHP</b> Array to string conversion in [PATH TO EZ]/kernel/classes/ezcache.php on line 261
<b>Warning: PHP</b> Array to string conversion in [PATH TO EZ]/kernel/classes/ezcache.php on line 287
<b>Warning: PHP</b> unlink(sortkey_ez_cuttingedge.php): No such file or directory in [PATH TO EZ]/kernel/classes/ezcache.php on line 288 The rest of the errors appear to be generated by the translation system, which I don't use.
In digging through the <i>error.log</i> in <i>var/log</i> I noticed a couple of occurances of this error as well: array_merge(): Argument #2 is not an array in [PATH TO EZ]/kernel/classes/ezcontentcache.php on line 67 Could the problem be a caching issue? I do not experience any problems if I have disabled debug output, though it makes it much harder to solve another problem.
My Setup:
eZ publish 3.3.3 (5019)
FreeBSD
PHP 4.3.4
No PHP Accelerator
Maximum size of post data (text and files) is 16M.
Script memory limit is 60M. Maximum execution time is 120 seconds. The permissions for the <i>var</i> directory and its children are set to 777 and they have the same owner as <i>index.php</i>. Any help would be greatly appreciated at this point! Alex
Alex
[ bald_technologist on the IRC channel (irc.freenode.net): #eZpublish ]
<i>When in doubt, clear the cache.</i>
|