![]() |
|
cPanel event log Errors - Printable Version +- ZenphotoCMS Forum (https://forum.zenphoto.org) +-- Forum: Support (https://forum.zenphoto.org/forum-1.html) +--- Forum: General support (https://forum.zenphoto.org/forum-4.html) +--- Thread: cPanel event log Errors (/thread-1679.html) |
cPanel event log Errors - DiFFeReNT - 02-10-2007 My cPanel event log is flooded with the following error when I visit (I think) index.php, themes : index.php/album.php/image.php. [error] PHP Warning: Invalid argument supplied for foreach() in /home/acct/public_html/domain/gallery/zen/kses.php on line 429 I just setup zenphoto, however I'm using a template I modified several months ago - and I don't remember everything I changed or if I could have messed something up way back then.. cPanel event log Errors - DiFFeReNT - 04-10-2007 According to comments in kses.php, Is this used for the purpose of writing filenames to MySQL? cPanel event log Errors - sbillard - 04-10-2007 This error means that an invalid parameter was passed to the function I think you will have to figure out what you changed in the template. I suggest you use a 'diff' program to compare your current code to what you based in on. cPanel event log Errors - DiFFeReNT - 05-10-2007 Maybe it's what I did here - don't allow tags in comments (zp-config.php): //////////////////////////////////////////////////////////////////////////////// // Comment cleaning configuration //////////////////////////////////////////////////////////////////////////////// // Tags and attributes allowed in comments // Follow the array form array('tag' => array('attribute' => array())) $conf['allowed_tags'] = ""; /* $conf['allowed_tags'] = array (
); */ ` cPanel event log Errors - sbillard - 05-10-2007 Yes, that did it. Change it to cPanel event log Errors - DiFFeReNT - 10-10-2007 Oh. Oops. Thanks for confirming that. |