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..
Comments
"This function goes through an array, and changes the keys to all lower case."
Is this used for the purpose of writing filenames to MySQL?
and passed the `$allowed_html` parameter.
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.
`
////////////////////////////////////////////////////////////////////////////////
// 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 (
'a' => array ('href' => array (), 'title' => array ()),
'abbr' => array ('title' => array ()),
'acronym' => array ('title' => array ()),
'b' => array (),
'blockquote' => array ('cite' => array ()),
'code' => array (),
'em' => array (),
'i' => array (),
'strike' => array (),
'strong' => array (),
'ul' => array (),
'ol' => array (),
'li' => array (),
);
*/
`