| IP: |
n/a |
| Rang: |
|
| Registrierung: |
15.03.2006, 11:22 |
| |
 Fortgeschritten mit 102 Punkte, 72 Beiträge |
|
Hallo Nils,
ich habe mich heute Morgen zum update auf die neuste Version entschieden. Natürlich habe ich Datensicherungen nach jedem Schritt angelegt. Bis Version 1.3 ging alles gut. Da habe allerdings bei sehr vielen beiträgen Änderungen machen müssen, da die Umlaute nicht mehr dargestellt wurden. Einige Beiträge sind ganz ohne, bei den anderen habe ich das von Hand im Admintool ändern können. Damit kann man leben.
Das letzte Update auf 1.4.1 bereitet Schwierigkeiten. Erst zeigt er mir einen fehler wegen der Session-Id. Nach löschen der Cokies war der Fehler weg und ich konnte Update auswählen. Er hat dann mit folgender Fehlermeldung die Intallation des Updates abgebrochen. Das Board wird nach Löschen der Install.php zwar angezeigt, doch wenn man sich einloggt erscheint auch diese Fehlermeldung.
Code: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66
| Critical error! Stopping script-execution... MySQL-Query failed: 1146: Table 'DB170078.bs_unread' doesn't exist MySQL-Query: SELECT u.*,p.rubrikid,p.threadid FROM bs_unread u LEFT JOIN bs_posts p ON u.post_id = p.id WHERE u.user_id = 1 Call-trace:
* /fws/db/connection.php in line 252 [ Method: FWS_DB_MySQL_Connection::execute() ] 0247 * @throws FWS_DB_Exception_NotConnected if not connected 0248 * @throws FWS_DB_Exception_QueryFailed if the query fails 0249 */ 0250 public function get_rows($sql) 0251 { 0252 $set = $this->execute($sql); 0253 return $set->get_rows(); 0254 } 0255 0256 /** 0257 * Executes the query and returns the number of rows 0258 * The query will look like: * /src/dao/unread.php in line 74 [ Method: FWS_DB_Connection::get_rows() ] 0069 0070 return $db->get_rows( 0071 'SELECT u.*,p.rubrikid,p.threadid FROM '.BS_TB_UNREAD.' u 0072 LEFT JOIN '.BS_TB_POSTS.' p ON u.post_id = p.id 0073 WHERE u.user_id = '.$id 0074 ); 0075 } 0076 0077 /** 0078 * Create new entries for the given user 0079 * 0080 * @param int $userid the user-id * /src/unreadstorage/user.php in line 50 [ Method: BS_DAO_Unread::get_all_of_user() ] 0045 */ 0046 public function __construct() 0047 { 0048 $user = FWS_Props::get()->user(); 0049 0050 foreach(BS_DAO::get_unread()->get_all_of_user($user->get_user_id()) as $data) 0051 { 0052 // is the post not available anymore? 0053 if($data['rubrikid'] == '') 0054 continue; 0055 0056 if($data['is_news']) * /src/unread.php in line 84 [ Method: BS_UnreadStorage_User::__construct() ] 0079 if($user->is_loggedin()) 0080 { 0081 // remove unread topics for the guest. Because it doesn't make sense to keep them if the 0082 // user is logged in 0083 $cookies->delete_cookie('unread'); 0084 $this->_storage = new BS_UnreadStorage_User(); 0085 } 0086 else 0087 $this->_storage = new BS_UnreadStorage_Guest(); 0088 0089 $this->_unread_news = $this->_storage->get_news(); 0090 $this->_unread_threads = $this->_storage->get_topics(); * /src/proploader.php in line 44 [ Method: BS_Unread::__construct() ] 0039 /** 0040 * @return BS_Unread the property 0041 */ 0042 protected function unread() 0043 { 0044 return new BS_Unread(); 0045 } 0046 0047 /** 0048 * @return BS_Forums_Manager the property 0049 */ 0050 protected function forums() * /fws/proploader.php in line 37 [ Method: BS_PropLoader::unread() ] 0032 { 0033 if(!method_exists($this,$name)) 0034 FWS_Helper::error('The method '.$name.'() does not exist. 0035 Does the property you requested exist?'); 0036 0037 return $this->$name(); 0038 } 0039 0040 /** 0041 * @return FWS_Document the document 0042 */ 0043 protected function doc() * /fws/propaccessor.php in line 93 [ Method: FWS_PropLoader::load() ] 0088 * @return mixed the property 0089 */ 0090 protected final function get($name) 0091 { 0092 if(!isset($this->_instances[$name])) 0093 $this->_instances[$name] = $this->_loader->load($name); 0094 return $this->_instances[$name]; 0095 } 0096 0097 /** 0098 * @return FWS_Document the document-instance 0099 */ * /src/propaccessor.php in line 72 [ Method: FWS_PropAccessor::get() ] 0067 /** 0068 * @return BS_Unread the unread-property 0069 */ 0070 public function unread() 0071 { 0072 return $this->get('unread'); 0073 } 0074 0075 /** 0076 * @return BS_Forums_Manager the forums-property 0077 */ 0078 public function forums() * /front/src/renderer/html.php in line 319 [ Method: BS_PropAccessor::unread() ] 0314 $tpl = FWS_Props::get()->tpl(); 0315 $cfg = FWS_Props::get()->cfg(); 0316 $user = FWS_Props::get()->user(); 0317 $input = FWS_Props::get()->input(); 0318 $auth = FWS_Props::get()->auth(); 0319 $unread = FWS_Props::get()->unread(); 0320 0321 $breadcrumbs = $this->get_breadcrumb_links(); 0322 $page_title = str_replace($locale->lang('home'),$cfg['forum_title'],$breadcrumbs); 0323 $page_title = strip_tags($page_title); 0324 $this->set_title($page_title); 0325 * /fws/document/renderer/html/default.php in line 364 [ Method: BS_Front_Renderer_HTML::header() ] 0359 { 0360 $this->before_start(); 0361 0362 // header 0363 if($this->_show_header) 0364 $this->header(); 0365 0366 // content 0367 if($this->_show_content) 0368 { 0369 ob_start(); 0370 $this->content(); * /fws/document.php in line 449 [ Method: FWS_Document_Renderer_HTML_Default::render() ] 0444 0445 if($this->_renderer === null) 0446 FWS_Helper::error('Please specify the renderer that should be used!'); 0447 0448 // render the document 0449 $res = $this->_renderer->render($this); 0450 0451 // send header and return result 0452 $this->_send_header(); 0453 $this->finish(); 0454 0455 // use gzip, if required * /index.php in line 73 [ Method: FWS_Document::render() ] 0068 include_once(BS_PATH.'src/init.php'); 0069 0070 // show the page 0071 $doc = new BS_Front_Document(); 0072 FWS_Props::get()->set_doc($doc); 0073 echo $doc->render(); 0074 ?>
Show BBCode for the error-message (to post somewhere)
[b][color=#FF0000]MySQL-Query failed: 1146: Table 'DB170078.bs_unread' doesn't exist MySQL-Query: SELECT u.*,p.rubrikid,p.threadid FROM bs_unread u LEFT JOIN bs_posts p ON u.post_id = p.id WHERE u.user_id = 1[/color][/b] [b]Call-trace:[/b][list] [*]/fws/db/[b]connection.php[/b] in line [b]252[/b] [ Method: [b]FWS_DB_MySQL_Connection::execute()[/b] ] [*]/src/dao/[b]unread.php[/b] in line [b]74[/b] [ Method: [b]FWS_DB_Connection::get_rows()[/b] ] [*]/src/unreadstorage/[b]user.php[/b] in line [b]50[/b] [ Method: [b]BS_DAO_Unread::get_all_of_user()[/b] ] [*]/src/[b]unread.php[/b] in line [b]84[/b] [ Method: [b]BS_UnreadStorage_User::__construct()[/b] ] [*]/src/[b]proploader.php[/b] in line [b]44[/b] [ Method: [b]BS_Unread::__construct()[/b] ] [*]/fws/[b]proploader.php[/b] in line [b]37[/b] [ Method: [b]BS_PropLoader::unread()[/b] ] [*]/fws/[b]propaccessor.php[/b] in line [b]93[/b] [ Method: [b]FWS_PropLoader::load()[/b] ] [*]/src/[b]propaccessor.php[/b] in line [b]72[/b] [ Method: [b]FWS_PropAccessor::get()[/b] ] [*]/front/src/renderer/[b]html.php[/b] in line [b]319[/b] [ Method: [b]BS_PropAccessor::unread()[/b] ] [*]/fws/document/renderer/html/[b]default.php[/b] in line [b]364[/b] [ Method: [b]BS_Front_Renderer_HTML::header()[/b] ] [*]/fws/[b]document.php[/b] in line [b]449[/b] [ Method: [b]FWS_Document_Renderer_HTML_Default::render()[/b] ] [*]/[b]index.php[/b] in line [b]73[/b] [ Method: [b]FWS_Document::render()[/b] ] [/list] |
EDIT: Nachtrag
Ich habe es gerade nocheinmal versucht das Update einzuspielen. Die Überprüfung der Datenbankstruktur zeigt noch das alles in Ordnung ist. Dann kommt folgende Fehlermeldung:
Code: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36
| Critical error! Stopping script-execution... MySQL-Query failed: 1050: Table 'bs_bbcodes' already exists MySQL-Query: CREATE TABLE `bs_bbcodes` ( `id` int(11) unsigned NOT NULL auto_increment, `name` varchar(30) NOT NULL, `type` varchar(15) NOT NULL default 'inline', `content` varchar(30) NOT NULL, `replacement` text NOT NULL, `replacement_param` text NOT NULL, `param` enum('no','optional','required') NOT NULL, `param_type` varchar(10) NOT NULL, `allow_nesting` tinyint(1) unsigned NOT NULL, `ignore_whitespace` tinyint(1) unsigned NOT NULL, `ignore_unknown_tags` tinyint(1) unsigned NOT NULL, `allowed_content` varchar(255) NOT NULL, PRIMARY KEY (`id`) ) TYPE=MyISAM; Call-trace:
* /install/module/5/sql/update.php in line 64 [ Method: FWS_DB_MySQL_Connection::execute() ] 0059 `allow_nesting` tinyint(1) unsigned NOT NULL, 0060 `ignore_whitespace` tinyint(1) unsigned NOT NULL, 0061 `ignore_unknown_tags` tinyint(1) unsigned NOT NULL, 0062 `allowed_content` varchar(255) NOT NULL, 0063 PRIMARY KEY (`id`) 0064 ) TYPE=MyISAM;"); 0065 0066 $db->execute("INSERT INTO `{$consts['BS_TB_BBCODES']}` 0067 (`id`, `name`, `type`, `content`, `replacement`, `replacement_param`, `param`, `param_type`, `allow_nesting`, `ignore_whitespace`, `ignore_unknown_tags`, `allowed_content`) 0068 VALUES 0069 (1, 'b', 'inline', 'text', '<b><TEXT></b>', '', 'no', 'text', 0, 0, 0, 'inline,link'), 0070 (2, 'i', 'inline', 'text', '<i><TEXT></i>', '', 'no', 'text', 0, 0, 0, 'inline,link'), * /install/module/5/sql/base.php in line 54 [ Method: BS_Install_Module_5_SQL_Update::run() ] 0049 if(FWS_FileUtils::write('dba/access.php',$content)) 0050 { 0051 $this->add_to_log_success(); 0052 0053 // now execute the db-instructions 0054 $this->run(); 0055 } 0056 else 0057 $this->add_to_log_failed(); 0058 } 0059 else 0060 $this->add_to_log_failed(); * /install/module/5/module.php in line 51 [ Method: BS_Install_Module_5_SQL_Base::start() ] 0046 if($type == 'full') 0047 $install = new BS_Install_Module_5_SQL_Full(); 0048 else 0049 $install = new BS_Install_Module_5_SQL_Update(); 0050 0051 $install->start(); 0052 0053 $tpl->add_variables(array( 0054 'log' => $install->get_log() 0055 )); 0056 } 0057 } * /fws/document/renderer/html/default.php in line 452 [ Method: BS_Install_Module_5::run() ] 0447 { 0448 $template = $this->get_template(); 0449 if($template !== null) 0450 $tpl->set_template($template); 0451 0452 $doc->get_module()->run(); 0453 0454 if($template !== null) 0455 $tpl->restore_template(); 0456 } 0457 } 0458 * /fws/document/renderer/html/default.php in line 370 [ Method: FWS_Document_Renderer_HTML_Default::content() ] 0365 0366 // content 0367 if($this->_show_content) 0368 { 0369 ob_start(); 0370 $this->content(); 0371 $res .= ob_get_contents(); 0372 ob_clean(); 0373 } 0374 0375 // footer 0376 if($this->_show_footer) * /fws/document.php in line 449 [ Method: FWS_Document_Renderer_HTML_Default::render() ] 0444 0445 if($this->_renderer === null) 0446 FWS_Helper::error('Please specify the renderer that should be used!'); 0447 0448 // render the document 0449 $res = $this->_renderer->render($this); 0450 0451 // send header and return result 0452 $this->_send_header(); 0453 $this->finish(); 0454 0455 // use gzip, if required * /install.php in line 44 [ Method: FWS_Document::render() ] 0039 $accessor->set_loader(new BS_Install_PropLoader()); 0040 FWS_Props::set_accessor($accessor); 0041 0042 // now render document 0043 $doc = FWS_Props::get()->doc(); 0044 echo $doc->render(); 0045 ?>
Show BBCode for the error-message (to post somewhere) |
Gruß
Dieter
Dieser Beitrag wurde insgesamt 2 mal editiert. Das letzte mal 08.09.2010, 13:27 von Dieter.
|
|