SCHULZ... jetz hab ich mich auch registriert!
also erstmal: ich bin von dem mod begeistert! läuft und läuft und läuft!
meine probleme:
1. wenn ich ne frage manuell starte bekomm ich n fehler angezeigt (geht aber trotzdem):
Code: Alles auswählen
Warning: Empty regular expression in /home/sites/site143/web/dgb/includes/functions_post.php on line 111
2. der bot sperrt die themen nachher nicht (hab den schon als moderator gesetzt), obwohl ich dachte, daß er das tun soll??
3. die themen werden durch richtige antwort zwar beendet... es gibt aber kein timeout oder so... sprich wenn die nächste frage kommt, ist die noch nicht beantwortete weiter aktiv... is das richtig so?
4. wenn "er" automatisch ne frage startet bekomm ich (allerdings nur, wenn noch ein quiz ungelöst ist... glaub ich):
Code: Alles auswählen
Warning: Empty regular expression in /home/sites/site143/web/dgb/includes/functions_post.php on line 111
Warning: Cannot modify header information - headers already sent by (output started at /home/sites/site143/web/dgb/includes/functions_post.php:111) in /home/sites/site143/web/dgb/includes/page_header.php on line 472
Warning: Cannot modify header information - headers already sent by (output started at /home/sites/site143/web/dgb/includes/functions_post.php:111) in /home/sites/site143/web/dgb/includes/page_header.php on line 474
Warning: Cannot modify header information - headers already sent by (output started at /home/sites/site143/web/dgb/includes/functions_post.php:111) in /home/sites/site143/web/dgb/includes/page_header.php on line 475
EDIT:
sieht momentan ehr so aus, als erscheine dieser Fehler bei jedem ersten aufruf des Forums, dann mit dem zusatz:
Code: Alles auswählen
Warning: Cannot modify header information - headers already sent by (output started at /home/sites/site143/web/dgb/includes/functions_post.php:111) in /home/sites/site143/web/dgb/includes/sessions.php on line 182
Warning: Cannot modify header information - headers already sent by (output started at /home/sites/site143/web/dgb/includes/functions_post.php:111) in /home/sites/site143/web/dgb/includes/sessions.php on line 183
da ist doch bestimmt blos irgendwo ne Variable nicht gesetzt...
/EDIT
sieht so aus, als hätten wir das hier schon ein zweimal gehabt, aber durch die erklärungen steig ich nicht durch!
anfang der functions_post.php:
Code: Alles auswählen
if (!defined('IN_PHPBB'))
{
die('Hacking attempt');
}
$html_entities_match = array('#&[a-z]+?;#', '#<#', '#>#');
$html_entities_replace = array('&', '<', '>');
$unhtml_specialchars_match = array('#>#', '#<#', '#"#', '#&#');
$unhtml_specialchars_replace = array('>', '<', '"', '&');
// BEGIN Quiz Hack
if ( defined('FUNCTIONS_POST_INCLUDED') )
{
return;
}
define('FUNCTIONS_POST_INCLUDED', true);
// END Quiz Hack
//
// This function will prepare a posted message for
// entry into the database.
//
zeile 111 selbe datei:
Code: Alles auswählen
$message = preg_replace($html_entities_match, $html_entities_replace, $message);
zeilen 470-ende page_header.php:
Code: Alles auswählen
else
{
header ('Cache-Control: private, pre-check=0, post-check=0, max-age=0');
}
header ('Expires: ' . gmdate('D, d M Y H:i:s', time()) . ' GMT');
header ('Last-Modified: ' . gmdate('D, d M Y H:i:s') . ' GMT');
$template->pparse('overall_header');
?>
wat erfreuliches zum Schluß:
hier ist mein aktueller Fragenkatalog (wird aktualisiert):
QuizDB.txt