Nach der Installation von Part 1/2/3/6 wollte ich erstmal die upi2db_db_update.php ausführen bevor ich die anderen Datein hochlade.
In der besagten Datei ist in Zeile 117 ein Fehler drin!
Code: Alles auswählen
"ALTER TABLE ".$table_prefix."users ADD user_upi2db_disable TINYINT( 1 ) DEFAULT '0' NOT NULL",
Richtig heist die Zeile so:Parse error: syntax error, unexpected ',' in /www/htdocs/v132501/upi2db_db_update.php on line 117
Code: Alles auswählen
"ALTER TABLE ".$table_prefix."users ADD user_upi2db_disable TINYINT( 1 ) DEFAULT '0' NOT NULL",
So weiter gehts:
Nachdem ich im ACP eingestellt hab das alle user den Nutzen dürfen bekomme ich im index diese schöne Zeile angezeigt:
Das stammt aus dem 3ten teil der updateanleitung und sieht bei mir so aus:Fatal error: Call to undefined function: unread() in /www/htdocs/v132501/includes/functions_categories_hierarchy.php on line 122
Code: Alles auswählen
function read_tree($force=false)
{
global $db, $userdata, $board_config, $HTTP_COOKIE_VARS;
global $tree;
global $phpbb_root_path, $phpEx;
//<!-- BEGIN Unread Post Information to Database Mod -->
if($userdata['upi2db_access'])
{
$unread = unread();
}
//<!-- END Unread Post Information to Database Mod -->
// get censored words
$orig_word = array();
$remplacement_word = array();
obtain_word_list($orig_word, $replacement_word);
// read the user cookie
$tracking_topics = ( isset($HTTP_COOKIE_VARS[$board_config['cookie_name'] . '_t']) ) ? unserialize($HTTP_COOKIE_VARS[$board_config['cookie_name'] . "_t"]) : array();
$tracking_forums = ( isset($HTTP_COOKIE_VARS[$board_config['cookie_name'] . '_f']) ) ? unserialize($HTTP_COOKIE_VARS[$board_config['cookie_name'] . "_f"]) : array();
$tracking_all = ( isset($HTTP_COOKIE_VARS[$board_config['cookie_name'] . '_f_all']) ) ? intval($HTTP_COOKIE_VARS[$board_config['cookie_name'] . '_f_all']) : -1;
Das betrifft genau die Zeilen 6-9 von meinem hier geposteten Code.