RE: Update von 1.2.6 auf 1.2.7 - Garlant - 16.05.2007
Hallo Jamax,
Ist es möglich, dass du deine ./inc/config.php mit überschrieben hast?
Schaue mal bitte nach ob in deiner config.php noch alle Daten vorhanden sind.
Mfg Garlant
RE: Update von 1.2.6 auf 1.2.7 - Jamax - 16.05.2007
Hallo, ja hatte damit was zu tun zum glück gibt es mysqldumper
RE: Update von 1.2.6 auf 1.2.7 - coma - 22.05.2007
upgrade hat bei mir soweit geklappt (was ich bisher gesehen habe) bis auf das alle Mitglieder doch recht alt geworden sind
hier mal was bei allen! Mitgliedern zum Alter steht:
Registriert seit: 03-Apr-2007
Geburtstag: 25-M-1961 (2007 Jahre alt)
Ortszeit: 22-May-2007 um 08:23
woran kann das liegen?
RE: Update von 1.2.6 auf 1.2.7 - Michael - 22.05.2007
https://www.mybb.de/forum/showthread.php?tid=5920&pid=42453#pid42453
RE: Update von 1.2.6 auf 1.2.7 - Caipirinja - 22.05.2007
Hallo zusammen
Ich habe gerade ( vielleicht etwas schnell ) mein Forum versucht zu updaten
nachdem ich meine Daten gesichert habe vom FTP, habe ich einfach alle neuen Dateien per FTP hochgeladen
ich bekomme jetzt aber folgende Fehlermeldungen
Forumzugriff
Zitat:ase contact the MyBB Group for support. MyBB Website"; } include MYBB_ROOT."inc/generic_error.php"; if($halt) { exit; } } function __destruct() { // Run shutdown function if(function_exists("run_shutdown")) { run_shutdown(); } } } ?> ; } } } ?> either. */ $config['super_admins'] = '1'; ?>; } return false; } /** * Returns whether or not this database engine supports boolean fulltext matching. * * @param string The table to be checked. * @return boolean True or false if supported or not. */ function supports_fulltext_boolean($table) { $version = $this->get_version(); $supports_fulltext = $this->supports_fulltext($table); if($version >= '4.0.1' && $supports_fulltext == true) { return true; } return false; } /** * Creates a fulltext index on the specified column in the specified table with optional index name. * * @param string The name of the table. * @param string Name of the column to be indexed. * @param string The index name, optional. */ function create_fulltext_index($table, $column, $name="") { $this->query(" ALTER TABLE $table ADD FULLTEXT $name ($column) "); } /** * Drop an index with the specified name from the specified table * * @param string The name of the table. * @param string The name of the index. */ function drop_index($table, $name) { $this->query(" ALTER TABLE $table DROP INDEX $name "); } } ?>ABLE $table DROP INDEX $name "); } } ?>: $cookielogins); $failedlogin = empty($cookietime) ? $session->failedlogin : ($cookietime < $session->failedlogin ? $session->failedlogin : $cookietime); // Work out if the user has had more than the allowed number of login attempts if($loginattempts > $mybb->settings['failedlogincount']) { // If so, then we need to work out if they can try to login again // Some maths to work out how long they have left and display it to them $now = time(); $secondsleft = ($mybb->settings['failedlogintime'] * 60 + (empty($_COOKIE['failedlogin']) ? $now : $_COOKIE['failedlogin'])) - $now; $hoursleft = floor($secondsleft / 3600); $minsleft = floor(($secondsleft / 60) % 60); $secsleft = floor($secondsleft % 60); //This value will be empty the first time the user doesn't login in, set it if(empty($failedlogin)) { my_setcookie('failedlogin', $now); if($fatal) { error(sprintf($lang->failed_login_wait, $hoursleft, $minsleft, $secsleft)); } return false; } // Work out if the user has waited long enough before letting them login again if($_COOKIE['failedlogin'] < $now - $mybb->settings['failedlogintime'] * 60) { my_setcookie('loginattempts', 1); my_unsetcookie('failedlogin'); $db->query("UPDATE ".TABLE_PREFIX."sessions SET loginattempts = 1 WHERE sid = '{$session->sid}'"); return 1; } // Not waited long enough else { if($fatal) { error(sprintf($lang->failed_login_wait, $hoursleft, $minsleft, $secsleft)); } return false; } } // User can attempt another login return $loginattempts; } /** * Validates the format of an email address. * * @param string The string to check. * @return boolean True when valid, false when invalid. */ function validate_email_format($email) { if(!preg_match("/^(.+)@[a-zA-Z0-9-]+\.[a-zA-Z0-9.-]+$/si", $email) || strpos($email, ' ') !== false) { return false; } else { return true; } } /** * Rebuilds settings.php * */ function rebuildsettings() { global $db, $mybb; if(!file_exists(MYBB_ROOT."inc/settings.php")) { $mode = "x"; } else { $mode = "w"; } $options = array( "order_by" => "title", "order_dir" => "ASC" ); $query = $db->simple_select(TABLE_PREFIX."settings", "value, name", "", $options); while($setting = $db->fetch_array($query)) { $mybb->settings[$setting['name']] = $setting['value']; $setting['value'] = addcslashes($setting['value'], '\\"$'); $settings .= "\$settings['{$setting['name']}'] = \"{$setting['value']}\";\n"; } $settings = "<"."?php\n/*********************************\ \n DO NOT EDIT THIS FILE, PLEASE USE\n THE SETTINGS EDITOR\n\*********************************/\n\n$settings\n?".">"; $file = @fopen(MYBB_ROOT."inc/settings.php", $mode); @fwrite($file, $settings); @fclose($file); $GLOBALS['settings'] = &$mybb->settings; } /** * Converts a decimal reference of a character to its UTF-8 equivilant * (Code by Anne van Kesteren, http://annevankesteren.nl/2005/05/character-references) * * @param string Decimal value of a character reference */ function dec_to_utf8($src) { $dest = ''; if($src < 0) { return false; } elseif($src <= 0x007f) { $dest .= chr($src); } elseif($src <= 0x07ff) { $dest .= chr(0xc0 | ($src >> 6)); $dest .= chr(0x80 | ($src & 0x003f)); } elseif($src <= 0xffff) { $dest .= chr(0xe0 | ($src >> 12)); $dest .= chr(0x80 | (($src >> 6) & 0x003f)); $dest .= chr(0x80 | ($src & 0x003f)); } elseif($src <= 0x10ffff) { $dest .= chr(0xf0 | ($src >> 18)); $dest .= chr(0x80 | (($src >> 12) & 0x3f)); $dest .= chr(0x80 | (($src >> 6) & 0x3f)); $dest .= chr(0x80 | ($src & 0x3f)); } else { // out of range return false; } return $dest; } /** * Return a list of banned usernames. * * @return array The array of banned usernames. */ function get_banned_usernames() { global $mybb; $banned_usernames = explode(",", $mybb->settings['bannedusernames']); $banned_usernames = array_map("trim", $banned_usernames); $banned_usernames = array_map("strtolower", $banned_usernames); return $banned_usernames; } /** * Checks if a username has been disallowed for registration/use. * * @param string The username * @return boolean True if banned, false if not banned */ function is_banned_username($username) { $banned_usernames = get_banned_usernames(); if(in_array(strtolower($username), $banned_usernames)) { return true; } else { return false; } } /** * Return a list of banned email addresses. * * @return array The array of banned email addresses. */ function get_banned_emails() { global $mybb; $banned_emails = explode(",", $mybb->settings['bannedemails']); $banned_emails = array_map("trim", $banned_emails); $banned_emails = array_map("strtolower", $banned_emails); return $banned_emails; } /** * Check if a specific email address has been banned. * * @param string The email address. * @return boolean True if banned, false if not banned */ function is_banned_email($email) { $banned_emails = get_banned_emails(); $email = strtolower($email); foreach($banned_emails as $banned_email) { if($banned_email != "" && strpos($email, $banned_email) !== false) { return true; } } return false; } /** * Return a list of banned IP addresses. * * @return array The array of banned IP addresses. */ function get_banned_ips() { global $mybb; $banned_ips = explode(",", $mybb->settings['bannedips']); $banned_ips = array_map("trim", $banned_ips); return $banned_ips; } /** * Checks if a specific IP address has been banned. * * @param string The IP address. * @return boolean True if banned, false if not banned. */ function is_banned_ip($ip_address) { $banned_ips = get_banned_ips(); foreach($banned_ips as $banned_ip) { if($banned_ip != "" && strpos($ip_address, $banned_ip) !== false) { return true; } } return false; } /** * Below are compatibility functions which replicate functions in newer versions of PHP. * * This allows MyBB to continue working on older installations of PHP without these functions. */ if(!function_exists("stripos")) { function stripos($haystack, $needle, $offset=0) { return strpos(strtoupper($haystack), strtoupper($needle), $offset); } } if(!function_exists("file_get_contents")) { function file_get_contents($file) { $handle = @fopen($file, "rb"); if($handle) { while(!@feof($handle)) { $contents .= @fread($handle, 8192); } return $contents; } return false; } } ?>(!function_exists("file_get_contents")) { function file_get_contents($file) { $handle = @fopen($file, "rb"); if($handle) { while(!@feof($handle)) { $contents .= @fread($handle, 8192); } return $contents; } return false; } } ?>emplate = str_replace("\\'", "'", $db->escape_string($template)); } return $template; } } ?> ?> $latest = $db->fetch_array($query); $reports['unread'] = $num['unreadcount']; $reports['total'] = $total['reportcount']; $reports['lastdateline'] = $latest['dateline']; $this->update("reportedposts", $reports); } /** * Update mycode cache. * */ function updatemycode() { global $db; $query = $db->simple_select(TABLE_PREFIX."mycode", "regex, replacement", "active='yes'"); while($mycode = $db->fetch_array($query)) { $mycodes[] = $mycode; } $this->update("mycode", $mycodes); } /** * Update the mailqueue cache * */ function updatemailqueue($last_run=0, $lock_time=0) { global $db; $query = $db->simple_select(TABLE_PREFIX."mailqueue", "COUNT(*) AS queue_size"); $queue_size = $db->fetch_field($query, "queue_size"); $mailqueue = $this->read("mailqueue"); $mailqueue['queue_size'] = $queue_size; if($last_run > 0) { $mailqueue['last_run'] = $last_run; } $mailqueue['locked'] = $lock_time; $this->update("mailqueue", $mailqueue); } /** * Update update_check cache (dummy function used by upgrade/install scripts) */ function updateupdate_check() { $update_cache = array( "dateline" => time() ); $this->update("update_check", $update_cache); } } ?>s->update("update_check", $update_cache); } } ?>ing The filename of the plugin. * @param int The priority of the hook. */ function remove_hook($hook, $function, $file="", $priority=10) { // Check to see if we don't already have this hook running at this priority if(!isset($this->hooks[$hook][$priority][$function])) { return true; } unset($this->hooks[$hook][$priority][$function]); } } ?>); } } ?>"yes"; } } else if(array_key_exists($option, $options) && $options[$option] == '') { $options[$option] = "no"; } else { $options[$option] = $default; } } } } ?> } } } ?> * @return string The parsed contents. */ function parse($contents) { $contents = preg_replace("# #e", "\$this->$1", $contents); return $contents; } } ?>} } ?>Definitions */ define('PROFILE_URL', "member.php?action=profile&uid={uid}"); define('FORUM_URL', "forumdisplay.php?fid={fid}"); define('FORUM_URL_PAGED', "forumdisplay.php?fid={fid}&page={page}"); define('THREAD_URL', "showthread.php?tid={tid}"); define('THREAD_URL_PAGED', "showthread.php?tid={tid}&page={page}"); define('INDEX_URL', "index.php"); ?>"); ?>'uid']; } /** * Find out the special locations. * * @return array Special locations array. */ function get_special_locations() { global $mybb; $array = array('1' => '', '2' => ''); if(preg_match("#forumdisplay.php#", $_SERVER['PHP_SELF']) && intval($mybb->input['fid']) > 0) { $array[1] = intval($mybb->input['fid']); $array[2] = ''; } elseif(preg_match("#showthread.php#", $_SERVER['PHP_SELF']) && intval($mybb->input['tid']) > 0) { $array[1] = ''; $array[2] = intval($mybb->input['tid']); } return $array; } } ?>return $array; } } ?>$langinfo['charset'] = "UTF-8"; ?>>geschlossen. Es kann sein, dass du keine Beiträge schreiben, Themen lesen oder das Forum betreten kannst. Bitte kontaktiere den Forenadministrator bei weiteren Fragen."; $l['ajax_loading'] = "Lade.
Bitte warten..."; $l['saving_changes'] = "Speichere Änderungen..."; ?> ?>icken: {4}/private.php Bitte beachte, dass du keine weitere Benachrichtigung erhältst, bevor du {3} besucht hast. Du kannst die Benachrichtigungsfunktion in den Optionen in deinem Profil abschalten: {4}/usercp.php?action=options Vielen Dank, {3}-Team {4}"; ?>am {4}"; ?>TABLE_PREFIX."sessions", "uid=0 AND time<='$timecut'"); } // Set the link to the archive. $archive_url = $mybb->settings['bburl']."/archive/index.php"; // Run hooks for end of global.php $plugins->run_hooks("global_end"); $globaltime = $maintimer->gettime(); ?>time(); ?>t == 1) { $lang->postbit_unapproved_attachments = $lang->postbit_unapproved_attachment; } else { $lang->postbit_unapproved_attachments = sprintf($lang->postbit_unapproved_attachments, $validationcount); } eval("\$post['attachmentlist'] .= \"".$templates->get("postbit_attachments_attachment_unapproved")."\";"); } if($post['thumblist']) { eval("\$post['attachedthumbs'] = \"".$templates->get("postbit_attachments_thumbnails")."\";"); } if($post['imagelist']) { eval("\$post['attachedimages'] = \"".$templates->get("postbit_attachments_images")."\";"); } if($post['attachmentlist'] || $post['thumblist'] || $post['imagelist']) { eval("\$post['attachments'] = \"".$templates->get("postbit_attachments")."\";"); } } } ?> "\";"); } } } ?> else { $unapproved_threads_count = sprintf($lang->forum_unapproved_thread_count, 1); } $unapproved_threads = " (".my_number_format($forum['unapprovedthreads']).")"; } } return array( "unapproved_posts" => $unapproved_posts, "unapproved_threads" => $unapproved_threads ); } ?> ); } ?> s(); } if(is_array($this->smilies_cache)) { $message = str_replace($this->smilies_cache, array_keys($this->smilies_cache), $message); } return $message; } /** * Strips MyCode. * * @param string The message to be parsed * @return string The parsed message. */ function strip_mycode($message, $options=array()) { if($options['allow_html'] != "yes") { $options['allow_html'] = "no"; } $options['allow_smilies'] = "no"; $options['allow_mycode'] = "yes"; $options['nl2br'] = "no"; $options['filter_badwords'] = "no"; $message = $this->parse_message($message, $options); $message = strip_tags($message); return $message; } } ?> return $message; } } ?>subforums'] = "Unterforen:"; ?>>
Freunde unter sich[/qoute]
Adminzugriff
Zitat:ase contact the MyBB Group for support. MyBB Website"; } include MYBB_ROOT."inc/generic_error.php"; if($halt) { exit; } } function __destruct() { // Run shutdown function if(function_exists("run_shutdown")) { run_shutdown(); } } } ?> ; } } } ?> either. */ $config['super_admins'] = '1'; ?>; } return false; } /** * Returns whether or not this database engine supports boolean fulltext matching. * * @param string The table to be checked. * @return boolean True or false if supported or not. */ function supports_fulltext_boolean($table) { $version = $this->get_version(); $supports_fulltext = $this->supports_fulltext($table); if($version >= '4.0.1' && $supports_fulltext == true) { return true; } return false; } /** * Creates a fulltext index on the specified column in the specified table with optional index name. * * @param string The name of the table. * @param string Name of the column to be indexed. * @param string The index name, optional. */ function create_fulltext_index($table, $column, $name="") { $this->query(" ALTER TABLE $table ADD FULLTEXT $name ($column) "); } /** * Drop an index with the specified name from the specified table * * @param string The name of the table. * @param string The name of the index. */ function drop_index($table, $name) { $this->query(" ALTER TABLE $table DROP INDEX $name "); } } ?>ABLE $table DROP INDEX $name "); } } ?>: $cookielogins); $failedlogin = empty($cookietime) ? $session->failedlogin : ($cookietime < $session->failedlogin ? $session->failedlogin : $cookietime); // Work out if the user has had more than the allowed number of login attempts if($loginattempts > $mybb->settings['failedlogincount']) { // If so, then we need to work out if they can try to login again // Some maths to work out how long they have left and display it to them $now = time(); $secondsleft = ($mybb->settings['failedlogintime'] * 60 + (empty($_COOKIE['failedlogin']) ? $now : $_COOKIE['failedlogin'])) - $now; $hoursleft = floor($secondsleft / 3600); $minsleft = floor(($secondsleft / 60) % 60); $secsleft = floor($secondsleft % 60); //This value will be empty the first time the user doesn't login in, set it if(empty($failedlogin)) { my_setcookie('failedlogin', $now); if($fatal) { error(sprintf($lang->failed_login_wait, $hoursleft, $minsleft, $secsleft)); } return false; } // Work out if the user has waited long enough before letting them login again if($_COOKIE['failedlogin'] < $now - $mybb->settings['failedlogintime'] * 60) { my_setcookie('loginattempts', 1); my_unsetcookie('failedlogin'); $db->query("UPDATE ".TABLE_PREFIX."sessions SET loginattempts = 1 WHERE sid = '{$session->sid}'"); return 1; } // Not waited long enough else { if($fatal) { error(sprintf($lang->failed_login_wait, $hoursleft, $minsleft, $secsleft)); } return false; } } // User can attempt another login return $loginattempts; } /** * Validates the format of an email address. * * @param string The string to check. * @return boolean True when valid, false when invalid. */ function validate_email_format($email) { if(!preg_match("/^(.+)@[a-zA-Z0-9-]+\.[a-zA-Z0-9.-]+$/si", $email) || strpos($email, ' ') !== false) { return false; } else { return true; } } /** * Rebuilds settings.php * */ function rebuildsettings() { global $db, $mybb; if(!file_exists(MYBB_ROOT."inc/settings.php")) { $mode = "x"; } else { $mode = "w"; } $options = array( "order_by" => "title", "order_dir" => "ASC" ); $query = $db->simple_select(TABLE_PREFIX."settings", "value, name", "", $options); while($setting = $db->fetch_array($query)) { $mybb->settings[$setting['name']] = $setting['value']; $setting['value'] = addcslashes($setting['value'], '\\"$'); $settings .= "\$settings['{$setting['name']}'] = \"{$setting['value']}\";\n"; } $settings = "<"."?php\n/*********************************\ \n DO NOT EDIT THIS FILE, PLEASE USE\n THE SETTINGS EDITOR\n\*********************************/\n\n$settings\n?".">"; $file = @fopen(MYBB_ROOT."inc/settings.php", $mode); @fwrite($file, $settings); @fclose($file); $GLOBALS['settings'] = &$mybb->settings; } /** * Converts a decimal reference of a character to its UTF-8 equivilant * (Code by Anne van Kesteren, http://annevankesteren.nl/2005/05/character-references) * * @param string Decimal value of a character reference */ function dec_to_utf8($src) { $dest = ''; if($src < 0) { return false; } elseif($src <= 0x007f) { $dest .= chr($src); } elseif($src <= 0x07ff) { $dest .= chr(0xc0 | ($src >> 6)); $dest .= chr(0x80 | ($src & 0x003f)); } elseif($src <= 0xffff) { $dest .= chr(0xe0 | ($src >> 12)); $dest .= chr(0x80 | (($src >> 6) & 0x003f)); $dest .= chr(0x80 | ($src & 0x003f)); } elseif($src <= 0x10ffff) { $dest .= chr(0xf0 | ($src >> 18)); $dest .= chr(0x80 | (($src >> 12) & 0x3f)); $dest .= chr(0x80 | (($src >> 6) & 0x3f)); $dest .= chr(0x80 | ($src & 0x3f)); } else { // out of range return false; } return $dest; } /** * Return a list of banned usernames. * * @return array The array of banned usernames. */ function get_banned_usernames() { global $mybb; $banned_usernames = explode(",", $mybb->settings['bannedusernames']); $banned_usernames = array_map("trim", $banned_usernames); $banned_usernames = array_map("strtolower", $banned_usernames); return $banned_usernames; } /** * Checks if a username has been disallowed for registration/use. * * @param string The username * @return boolean True if banned, false if not banned */ function is_banned_username($username) { $banned_usernames = get_banned_usernames(); if(in_array(strtolower($username), $banned_usernames)) { return true; } else { return false; } } /** * Return a list of banned email addresses. * * @return array The array of banned email addresses. */ function get_banned_emails() { global $mybb; $banned_emails = explode(",", $mybb->settings['bannedemails']); $banned_emails = array_map("trim", $banned_emails); $banned_emails = array_map("strtolower", $banned_emails); return $banned_emails; } /** * Check if a specific email address has been banned. * * @param string The email address. * @return boolean True if banned, false if not banned */ function is_banned_email($email) { $banned_emails = get_banned_emails(); $email = strtolower($email); foreach($banned_emails as $banned_email) { if($banned_email != "" && strpos($email, $banned_email) !== false) { return true; } } return false; } /** * Return a list of banned IP addresses. * * @return array The array of banned IP addresses. */ function get_banned_ips() { global $mybb; $banned_ips = explode(",", $mybb->settings['bannedips']); $banned_ips = array_map("trim", $banned_ips); return $banned_ips; } /** * Checks if a specific IP address has been banned. * * @param string The IP address. * @return boolean True if banned, false if not banned. */ function is_banned_ip($ip_address) { $banned_ips = get_banned_ips(); foreach($banned_ips as $banned_ip) { if($banned_ip != "" && strpos($ip_address, $banned_ip) !== false) { return true; } } return false; } /** * Below are compatibility functions which replicate functions in newer versions of PHP. * * This allows MyBB to continue working on older installations of PHP without these functions. */ if(!function_exists("stripos")) { function stripos($haystack, $needle, $offset=0) { return strpos(strtoupper($haystack), strtoupper($needle), $offset); } } if(!function_exists("file_get_contents")) { function file_get_contents($file) { $handle = @fopen($file, "rb"); if($handle) { while(!@feof($handle)) { $contents .= @fread($handle, 8192); } return $contents; } return false; } } ?>(!function_exists("file_get_contents")) { function file_get_contents($file) { $handle = @fopen($file, "rb"); if($handle) { while(!@feof($handle)) { $contents .= @fread($handle, 8192); } return $contents; } return false; } } ?>emplate = str_replace("\\'", "'", $db->escape_string($template)); } return $template; } } ?> ?> $latest = $db->fetch_array($query); $reports['unread'] = $num['unreadcount']; $reports['total'] = $total['reportcount']; $reports['lastdateline'] = $latest['dateline']; $this->update("reportedposts", $reports); } /** * Update mycode cache. * */ function updatemycode() { global $db; $query = $db->simple_select(TABLE_PREFIX."mycode", "regex, replacement", "active='yes'"); while($mycode = $db->fetch_array($query)) { $mycodes[] = $mycode; } $this->update("mycode", $mycodes); } /** * Update the mailqueue cache * */ function updatemailqueue($last_run=0, $lock_time=0) { global $db; $query = $db->simple_select(TABLE_PREFIX."mailqueue", "COUNT(*) AS queue_size"); $queue_size = $db->fetch_field($query, "queue_size"); $mailqueue = $this->read("mailqueue"); $mailqueue['queue_size'] = $queue_size; if($last_run > 0) { $mailqueue['last_run'] = $last_run; } $mailqueue['locked'] = $lock_time; $this->update("mailqueue", $mailqueue); } /** * Update update_check cache (dummy function used by upgrade/install scripts) */ function updateupdate_check() { $update_cache = array( "dateline" => time() ); $this->update("update_check", $update_cache); } } ?>s->update("update_check", $update_cache); } } ?>ing The filename of the plugin. * @param int The priority of the hook. */ function remove_hook($hook, $function, $file="", $priority=10) { // Check to see if we don't already have this hook running at this priority if(!isset($this->hooks[$hook][$priority][$function])) { return true; } unset($this->hooks[$hook][$priority][$function]); } } ?>); } } ?>"yes"; } } else if(array_key_exists($option, $options) && $options[$option] == '') { $options[$option] = "no"; } else { $options[$option] = $default; } } } } ?> } } } ?> * @return string The parsed contents. */ function parse($contents) { $contents = preg_replace("##e", "\$this->$1", $contents); return $contents; } } ?>} } ?>Definitions */ define('PROFILE_URL', "member.php?action=profile&uid={uid}"); define('FORUM_URL', "forumdisplay.php?fid={fid}"); define('FORUM_URL_PAGED', "forumdisplay.php?fid={fid}&page={page}"); define('THREAD_URL', "showthread.php?tid={tid}"); define('THREAD_URL_PAGED', "showthread.php?tid={tid}&page={page}"); define('INDEX_URL', "index.php"); ?>"); ?>://|/)#i", $url)) { return "url(../{$url})"; } else { return "url({$url})"; } } /** * Build a checkbox list of usergroups * * @param string The unique identifier for this list, e.g. "additionalgroups". * @param array Optional array of preselected groups. * @param string Optional SQL where limiter * @return string Completed list of checkboxes */ function make_usergroup_checkbox_code($name, $checked_groups='', $where='') { global $db; if(!is_array($checked_groups)) { $checked_groups = array($checked_groups); } $options = array( 'order_by' => 'title', 'order_dir' => 'ASC' ); $query = $db->simple_select(TABLE_PREFIX."usergroups", "gid, title", $where, $options); while($usergroup = $db->fetch_array($query)) { $checked = ''; if(in_array($usergroup['gid'], $checked_groups)) { $checked = ' checked="checked"'; } $groups[] = " {$usergroup['title']}"; } $groups = implode('
', $groups); return $groups; } /** * Checks if a certain user ID is in the list of super administrators * * @param int The user ID to be checked * @return boolean true when the user is a super admin, false when not */ function is_super_admin($uid) { global $config; $config['super_admins'] = str_replace(" ", "", $config['super_admins']); if(strpos(",{$config['super_admins']},", ",{$uid},") === false) { return false; } else { return true; } } /** * Makes a parent list for forums * * @param int The forum ID * @param string The separator of the parent forum IDs * @return string The generated parent list */ function makeparentlist($fid, $navsep=",") { global $pforumcache, $db; if(!$pforumcache) { $options = array( "order_by" => "disporder, pid" ); $query = $db->simple_select(TABLE_PREFIX."forums", "name, fid, pid", "", $options); while($forum = $db->fetch_array($query)) { $pforumcache[$forum[fid]][$forum[pid]] = $forum; } } reset($pforumcache); reset($pforumcache[$fid]); foreach($pforumcache[$fid] as $key => $forum) { if($fid == $forum['fid']) { if($pforumcache[$forum['pid']]) { $navigation = makeparentlist($forum['pid'], $navsep) . $navigation; } if($navigation) { $navigation .= $navsep; } $navigation .= $forum['fid']; } } return $navigation; } ?> $navigation .= $navsep; } $navigation .= $forum['fid']; } } return $navigation; } ?> name for a PM folder. * * @param int The ID of the folder. * @param string The folder name - can be blank, will use language default. * @return string The name of the folder. */ function get_pm_folder_name($fid, $name="") { global $lang; if($name != '') { return $name; } switch($fid) { case 1; return $lang->folder_inbox; break; case 2: return $lang->folder_sent_items; break; case 3: return $lang->folder_drafts; break; case 4: return $lang->folder_trash; break; default: return $lang->folder_untitled; } } ?>lang->folder_untitled; } } ?>$langinfo['charset'] = "UTF-8"; ?>>month_11'] = "November"; $l['month_12'] = "Dezember"; $l['parentforum_none'] = "Keins"; ?> ?>
[quote]Warning: Cannot modify header information - headers already sent by (output started at /srv/www/web241/html/forum/inc/class_core.php:348) in /srv/www/web241/html/forum/admin/global.php on line 93
ybb->settings['bbname']." ".$lang->control_panel; $navbits[0]['url'] = "index.php?".SID."&action=home"; if($rand == 2 || $rand == 5) { $stamp = time()-604800; $db->delete_query(TABLE_PREFIX."adminsessions", "lastactive<'$stamp'"); } $plugins->run_hooks("admin_global_end"); ?> nd"); ?> e'] = "Datenbank optimieren"; $l['nav_recount_rebuild'] = "Neu zählen & aktualisieren"; $l['mybb_admin'] = "MyBB Administration"; ?> ?> scrolling=\"auto\" src=\"".$goto."\" />\n"; echo "\n"; } else { echo "\n"; echo "\n"; echo "\n"; } echo "\n"; echo "\n"; echo "\n"; } ?> >\n"; } ?>
was habe ich falsch gemacht ?
Dank im vorraus
RE: Update von 1.2.6 auf 1.2.7 - Garlant - 22.05.2007
Hallo Caipirinja,
Bitte laden die Daten erneut hoch. Möglicherweise sind diese beim Upload beschädigt worden.
Mfg Garlant
RE: Update von 1.2.6 auf 1.2.7 - Caipirinja - 22.05.2007
Ich hab ein Upgrade nach mehrmaligen probieren dann doch vorgezogen und habe jetzt nur zwei kleine Fehlermeldungen
Admin
Zitat:either. */ $config['super_admins'] = '1'; ?>
Warning: Cannot modify header information - headers already sent by (output started at /srv/www/web241/html/forum/inc/config.php:60) in /srv/www/web241/html/forum/admin/global.php on line 93
Forum
Zitat:either. */ $config['super_admins'] = '1'; ?>
Warning: Cannot modify header information - headers already sent by (output started at /srv/www/web241/html/forum/inc/config.php:60) in /srv/www/web241/html/forum/inc/functions.php on line 1118
Habt ihr da eine abhilfe?
RE: Update von 1.2.6 auf 1.2.7 - Michael - 22.05.2007
Mit der Datei inc/config.php ist etwas nicht in Ordnung, da der Inhalt angezeigt wird. Schau dir die Datei mal genauer an.
RE: Update von 1.2.6 auf 1.2.7 - safari - 02.06.2007
Hallo!
Bei den letzten Updates (von 1.2.3 auf 1.2.6) musste ich nur die neuen Dateien hochladen und gegen die alten ersetzen, also überschreiben. Beim Update 1.2.7 steht, dass man jetzt das Uprgade-Skript verwenden muss. In diesem Thread, gleich der erste Eintrag, steht, dass alle Dateien ausser dem Install-Ordner hochgeladen werden können. Geht das jetzt auch so, oder muss ich das Skript ausführen nach dem Upload der Update-Dateien?
Danke
Safari
RE: Update von 1.2.6 auf 1.2.7 - Michael - 02.06.2007
Du solltest das Skript ausführen, da es Templateänderungen gibt. Das Skript aktualisiert die Standardtemplates.
|