Anyone found a solution for this problem?
news.html can't be generated but 2005-07.html can.
If I comment the code for smilies in parser.php
// $smiley_text = array();
// $smiley_img = array();
// // $result = $db->query('SELECT * FROM '.$db->prefix.'smilies') or error('Unable to retrieve smilies', __FILE__, __LINE__, $db->error());
// while ($db_smilies = $db->fetch_assoc($result))
// {
// $smiley_text_array = array($db_smilies['text']);
// $smiley_text = array_merge($smiley_text, $smiley_text_array);
//
// $smiley_img_array = array($db_smilies['image']);
// $smiley_img = array_merge($smiley_img, $smiley_img_array);
// }
everything works fine.
EDIT:
Solved it myself, in AP_News_Generator.php, around line 58, move the "require PUN_ROOT.'include/parser.php';" above the sql-question and everything works fine.