[u][b][color=#FF0000]unserialize() [<a href='function.unserialize'>function.unserialize</a>]: Error at offset 1089 of 1195 bytes[/color][/b][/u] [b]Call-trace:[/b] [list] [*]/homepages/40/d251214899/htdocs/gbook4/src/[b]db_cache.php[/b] in line [b]71[/b] [ Function: [b]unserialize()[/b] ] [code]0066 { 0067 $this->_cache_content = array(); 0068 if(is_array($content)) 0069 $this->_cache_content = $content; 0070 else if($content) 0071 $this->_cache_content = unserialize($content); 0072 0073 $this->_length = count($this->_cache_content); 0074 $this->_cache_content_keys = array_keys($this->_cache_content); 0075 } 0076 0077 /** [/code] [*]/homepages/40/d251214899/htdocs/gbook4/src/[b]db_cache.php[/b] in line [b]29[/b] [ Method: [b]bs_db_cache::set_content()[/b] ] [code]0024 function BS_db_cache($table_name,$cache_key,$cache_content = '',$array_key = '') 0025 { 0026 $this->_table_name = $table_name; 0027 $this->_cache_key = $cache_key; 0028 $this->_array_key = $array_key; 0029 $this->set_content($cache_content); 0030 } 0031 0032 /** 0033 * @param string $query the SQL-query for the cache 0034 * @access public 0035 */ [/code] [*]/homepages/40/d251214899/htdocs/gbook4/src/[b]cache_container.php[/b] in line [b]142[/b] [ Method: [b]bs_db_cache::bs_db_cache()[/b] ] [code]0137 $this->_cache_obj[$name] = new BS_db_cache($table_name,$name,$this->_cache_data[$name],'id'); 0138 break; 0139 0140 // default init 0141 default: 0142 $this->_cache_obj[$name] = new BS_db_cache($table_name,$name,$this->_cache_data[$name]); 0143 break; 0144 } 0145 0146 // do additional things, if required... 0147 switch($name) 0148 { [/code] [*]/homepages/40/d251214899/htdocs/gbook4/src/[b]cache_container.php[/b] in line [b]67[/b] [ Method: [b]bs_cachecontainer::_init_object()[/b] ] [code]0062 0063 if(!$this->_initialized) 0064 $this->_init_cache(); 0065 0066 if(!isset($this->_cache_obj[$name])) 0067 $this->_init_object($name); 0068 0069 $rows = &$this->_cache_obj[$name]->get_rows(); 0070 if($name == 'config') 0071 { 0072 if(isset($rows[0])) 0073 $rows = $rows[0]; [/code] [*]/homepages/40/d251214899/htdocs/gbook4/[b]index.php[/b] in line [b]112[/b] [ Method: [b]bs_cachecontainer::get_cache_content()[/b] ] [code]0107 $URL = new BS_url(); 0108 $HTML = new BS_HTML_Helper(); 0109 $CACHECON = new BS_CacheContainer(); 0110 0111 // init cache-objects 0112 $CFG = &$CACHECON->get_cache_content('config'); 0113 $LANGS = &$CACHECON->get_cache('languages'); 0114 $THEMES = &$CACHECON->get_cache('themes'); 0115 $BANS = &$CACHECON->get_cache('banlist'); 0116 $SMILEYS = &$CACHECON->get_cache('smileys'); 0117 $BADWORDS = &$CACHECON->get_cache('badwords'); 0118 $HPR = &$CACHECON->get_cache('hp_ratings'); [/code] [/list]
[u][b][color=#FF0000]array_keys() [<a href='function.array-keys'>function.array-keys</a>]: The first argument should be an array[/color][/b][/u] [b]Call-trace:[/b] [list] [*]/homepages/40/d251214899/htdocs/gbook4/src/[b]db_cache.php[/b] in line [b]74[/b] [ Function: [b]array_keys()[/b] ] [code]0069 $this->_cache_content = $content; 0070 else if($content) 0071 $this->_cache_content = unserialize($content); 0072 0073 $this->_length = count($this->_cache_content); 0074 $this->_cache_content_keys = array_keys($this->_cache_content); 0075 } 0076 0077 /** 0078 * saves the data in this object or from the db-table to the cache-table 0079 * 0080 * @param boolean $use_database do you want to use the database or this object? [/code] [*]/homepages/40/d251214899/htdocs/gbook4/src/[b]db_cache.php[/b] in line [b]29[/b] [ Method: [b]bs_db_cache::set_content()[/b] ] [code]0024 function BS_db_cache($table_name,$cache_key,$cache_content = '',$array_key = '') 0025 { 0026 $this->_table_name = $table_name; 0027 $this->_cache_key = $cache_key; 0028 $this->_array_key = $array_key; 0029 $this->set_content($cache_content); 0030 } 0031 0032 /** 0033 * @param string $query the SQL-query for the cache 0034 * @access public 0035 */ [/code] [*]/homepages/40/d251214899/htdocs/gbook4/src/[b]cache_container.php[/b] in line [b]142[/b] [ Method: [b]bs_db_cache::bs_db_cache()[/b] ] [code]0137 $this->_cache_obj[$name] = new BS_db_cache($table_name,$name,$this->_cache_data[$name],'id'); 0138 break; 0139 0140 // default init 0141 default: 0142 $this->_cache_obj[$name] = new BS_db_cache($table_name,$name,$this->_cache_data[$name]); 0143 break; 0144 } 0145 0146 // do additional things, if required... 0147 switch($name) 0148 { [/code] [*]/homepages/40/d251214899/htdocs/gbook4/src/[b]cache_container.php[/b] in line [b]67[/b] [ Method: [b]bs_cachecontainer::_init_object()[/b] ] [code]0062 0063 if(!$this->_initialized) 0064 $this->_init_cache(); 0065 0066 if(!isset($this->_cache_obj[$name])) 0067 $this->_init_object($name); 0068 0069 $rows = &$this->_cache_obj[$name]->get_rows(); 0070 if($name == 'config') 0071 { 0072 if(isset($rows[0])) 0073 $rows = $rows[0]; [/code] [*]/homepages/40/d251214899/htdocs/gbook4/[b]index.php[/b] in line [b]112[/b] [ Method: [b]bs_cachecontainer::get_cache_content()[/b] ] [code]0107 $URL = new BS_url(); 0108 $HTML = new BS_HTML_Helper(); 0109 $CACHECON = new BS_CacheContainer(); 0110 0111 // init cache-objects 0112 $CFG = &$CACHECON->get_cache_content('config'); 0113 $LANGS = &$CACHECON->get_cache('languages'); 0114 $THEMES = &$CACHECON->get_cache('themes'); 0115 $BANS = &$CACHECON->get_cache('banlist'); 0116 $SMILEYS = &$CACHECON->get_cache('smileys'); 0117 $BADWORDS = &$CACHECON->get_cache('badwords'); 0118 $HPR = &$CACHECON->get_cache('hp_ratings'); [/code] [/list]
[u][b][color=#FF0000]Undefined index: language[/color][/b][/u] [b]Call-trace:[/b] [list] [*]/homepages/40/d251214899/htdocs/gbook4/src/[b]cache_container.php[/b] in line [b]80[/b] [ Method: [b]bs_db_cache::get_cache_content()[/b] ] [code]0075 $themes = $this->get_cache('themes'); 0076 $theme_data = $themes->get_row_data($rows['theme']); 0077 $rows['theme_name'] = $theme_data['theme_folder']; 0078 0079 $langs = $this->get_cache('languages'); 0080 $lang_data = $langs->get_row_data($rows['language']); 0081 $rows['language_name'] = $lang_data['lang_folder']; 0082 } 0083 0084 return $rows; 0085 } 0086 [/code] [*]/homepages/40/d251214899/htdocs/gbook4/[b]index.php[/b] in line [b]112[/b] [ Method: [b]bs_cachecontainer::get_cache_content()[/b] ] [code]0107 $URL = new BS_url(); 0108 $HTML = new BS_HTML_Helper(); 0109 $CACHECON = new BS_CacheContainer(); 0110 0111 // init cache-objects 0112 $CFG = &$CACHECON->get_cache_content('config'); 0113 $LANGS = &$CACHECON->get_cache('languages'); 0114 $THEMES = &$CACHECON->get_cache('themes'); 0115 $BANS = &$CACHECON->get_cache('banlist'); 0116 $SMILEYS = &$CACHECON->get_cache('smileys'); 0117 $BADWORDS = &$CACHECON->get_cache('badwords'); 0118 $HPR = &$CACHECON->get_cache('hp_ratings'); [/code] [/list]
[u][b][color=#FF0000]Undefined index: theme[/color][/b][/u] [b]Call-trace:[/b] [list] [*]/homepages/40/d251214899/htdocs/gbook4/src/[b]cache_container.php[/b] in line [b]76[/b] [ Method: [b]bs_db_cache::get_cache_content()[/b] ] [code]0071 { 0072 if(isset($rows[0])) 0073 $rows = $rows[0]; 0074 0075 $themes = $this->get_cache('themes'); 0076 $theme_data = $themes->get_row_data($rows['theme']); 0077 $rows['theme_name'] = $theme_data['theme_folder']; 0078 0079 $langs = $this->get_cache('languages'); 0080 $lang_data = $langs->get_row_data($rows['language']); 0081 $rows['language_name'] = $lang_data['lang_folder']; 0082 } [/code] [*]/homepages/40/d251214899/htdocs/gbook4/src/[b]cache_container.php[/b] in line [b]117[/b] [ Method: [b]bs_cachecontainer::get_cache_content()[/b] ] [code]0112 0113 switch($name) 0114 { 0115 // badwords are a special case 0116 case 'badwords': 0117 $cfg = &$this->get_cache_content('config'); 0118 0119 $badwords = array(); 0120 $lines = explode("\n",$cfg['badwords']); 0121 foreach($lines as $line) 0122 { 0123 $split = explode('=',$line); [/code] [*]/homepages/40/d251214899/htdocs/gbook4/src/[b]cache_container.php[/b] in line [b]46[/b] [ Method: [b]bs_cachecontainer::_init_object()[/b] ] [code]0041 0042 if(!$this->_initialized) 0043 $this->_init_cache(); 0044 0045 if(!isset($this->_cache_obj[$name])) 0046 $this->_init_object($name); 0047 0048 return $this->_cache_obj[$name]; 0049 } 0050 0051 /** 0052 * returns the cache-content of the given name (the table-name) [/code] [*]/homepages/40/d251214899/htdocs/gbook4/[b]index.php[/b] in line [b]117[/b] [ Method: [b]bs_cachecontainer::get_cache()[/b] ] [code]0112 $CFG = &$CACHECON->get_cache_content('config'); 0113 $LANGS = &$CACHECON->get_cache('languages'); 0114 $THEMES = &$CACHECON->get_cache('themes'); 0115 $BANS = &$CACHECON->get_cache('banlist'); 0116 $SMILEYS = &$CACHECON->get_cache('smileys'); 0117 $BADWORDS = &$CACHECON->get_cache('badwords'); 0118 $HPR = &$CACHECON->get_cache('hp_ratings'); 0119 0120 $SESS = new BS_session(); 0121 $ADD_FIELDS = new BS_additional_fields(); 0122 0123 $LANG = array(); [/code] [/list]
[u][b][color=#FF0000]Undefined index: language[/color][/b][/u] [b]Call-trace:[/b] [list] [*]/homepages/40/d251214899/htdocs/gbook4/src/[b]cache_container.php[/b] in line [b]80[/b] [ Method: [b]bs_db_cache::get_cache_content()[/b] ] [code]0075 $themes = $this->get_cache('themes'); 0076 $theme_data = $themes->get_row_data($rows['theme']); 0077 $rows['theme_name'] = $theme_data['theme_folder']; 0078 0079 $langs = $this->get_cache('languages'); 0080 $lang_data = $langs->get_row_data($rows['language']); 0081 $rows['language_name'] = $lang_data['lang_folder']; 0082 } 0083 0084 return $rows; 0085 } 0086 [/code] [*]/homepages/40/d251214899/htdocs/gbook4/src/[b]cache_container.php[/b] in line [b]117[/b] [ Method: [b]bs_cachecontainer::get_cache_content()[/b] ] [code]0112 0113 switch($name) 0114 { 0115 // badwords are a special case 0116 case 'badwords': 0117 $cfg = &$this->get_cache_content('config'); 0118 0119 $badwords = array(); 0120 $lines = explode("\n",$cfg['badwords']); 0121 foreach($lines as $line) 0122 { 0123 $split = explode('=',$line); [/code] [*]/homepages/40/d251214899/htdocs/gbook4/src/[b]cache_container.php[/b] in line [b]46[/b] [ Method: [b]bs_cachecontainer::_init_object()[/b] ] [code]0041 0042 if(!$this->_initialized) 0043 $this->_init_cache(); 0044 0045 if(!isset($this->_cache_obj[$name])) 0046 $this->_init_object($name); 0047 0048 return $this->_cache_obj[$name]; 0049 } 0050 0051 /** 0052 * returns the cache-content of the given name (the table-name) [/code] [*]/homepages/40/d251214899/htdocs/gbook4/[b]index.php[/b] in line [b]117[/b] [ Method: [b]bs_cachecontainer::get_cache()[/b] ] [code]0112 $CFG = &$CACHECON->get_cache_content('config'); 0113 $LANGS = &$CACHECON->get_cache('languages'); 0114 $THEMES = &$CACHECON->get_cache('themes'); 0115 $BANS = &$CACHECON->get_cache('banlist'); 0116 $SMILEYS = &$CACHECON->get_cache('smileys'); 0117 $BADWORDS = &$CACHECON->get_cache('badwords'); 0118 $HPR = &$CACHECON->get_cache('hp_ratings'); 0119 0120 $SESS = new BS_session(); 0121 $ADD_FIELDS = new BS_additional_fields(); 0122 0123 $LANG = array(); [/code] [/list]
[u][b][color=#FF0000]Undefined index: badwords[/color][/b][/u] [b]Call-trace:[/b] [list] [*]/homepages/40/d251214899/htdocs/gbook4/src/[b]cache_container.php[/b] in line [b]120[/b] [ Function: [b]_init_object()[/b] ] [code]0115 // badwords are a special case 0116 case 'badwords': 0117 $cfg = &$this->get_cache_content('config'); 0118 0119 $badwords = array(); 0120 $lines = explode("\n",$cfg['badwords']); 0121 foreach($lines as $line) 0122 { 0123 $split = explode('=',$line); 0124 if(isset($split[1])) 0125 $badwords[] = array('word' => trim($split[0]),'replacement' => trim($split[1])); 0126 else [/code] [*]/homepages/40/d251214899/htdocs/gbook4/src/[b]cache_container.php[/b] in line [b]46[/b] [ Method: [b]bs_cachecontainer::_init_object()[/b] ] [code]0041 0042 if(!$this->_initialized) 0043 $this->_init_cache(); 0044 0045 if(!isset($this->_cache_obj[$name])) 0046 $this->_init_object($name); 0047 0048 return $this->_cache_obj[$name]; 0049 } 0050 0051 /** 0052 * returns the cache-content of the given name (the table-name) [/code] [*]/homepages/40/d251214899/htdocs/gbook4/[b]index.php[/b] in line [b]117[/b] [ Method: [b]bs_cachecontainer::get_cache()[/b] ] [code]0112 $CFG = &$CACHECON->get_cache_content('config'); 0113 $LANGS = &$CACHECON->get_cache('languages'); 0114 $THEMES = &$CACHECON->get_cache('themes'); 0115 $BANS = &$CACHECON->get_cache('banlist'); 0116 $SMILEYS = &$CACHECON->get_cache('smileys'); 0117 $BADWORDS = &$CACHECON->get_cache('badwords'); 0118 $HPR = &$CACHECON->get_cache('hp_ratings'); 0119 0120 $SESS = new BS_session(); 0121 $ADD_FIELDS = new BS_additional_fields(); 0122 0123 $LANG = array(); [/code] [/list]
[u][b][color=#FF0000]Undefined index: badwords_default_replacement[/color][/b][/u] [b]Call-trace:[/b] [list] [*]/homepages/40/d251214899/htdocs/gbook4/src/[b]cache_container.php[/b] in line [b]127[/b] [ Function: [b]_init_object()[/b] ] [code]0122 { 0123 $split = explode('=',$line); 0124 if(isset($split[1])) 0125 $badwords[] = array('word' => trim($split[0]),'replacement' => trim($split[1])); 0126 else 0127 $badwords[] = array('word' => trim($split[0]),'replacement' => $cfg['badwords_default_replacement']); 0128 } 0129 $this->_cache_obj[$name] = new BS_cache($badwords); 0130 break; 0131 0132 // init by id 0133 case 'themes': [/code] [*]/homepages/40/d251214899/htdocs/gbook4/src/[b]cache_container.php[/b] in line [b]46[/b] [ Method: [b]bs_cachecontainer::_init_object()[/b] ] [code]0041 0042 if(!$this->_initialized) 0043 $this->_init_cache(); 0044 0045 if(!isset($this->_cache_obj[$name])) 0046 $this->_init_object($name); 0047 0048 return $this->_cache_obj[$name]; 0049 } 0050 0051 /** 0052 * returns the cache-content of the given name (the table-name) [/code] [*]/homepages/40/d251214899/htdocs/gbook4/[b]index.php[/b] in line [b]117[/b] [ Method: [b]bs_cachecontainer::get_cache()[/b] ] [code]0112 $CFG = &$CACHECON->get_cache_content('config'); 0113 $LANGS = &$CACHECON->get_cache('languages'); 0114 $THEMES = &$CACHECON->get_cache('themes'); 0115 $BANS = &$CACHECON->get_cache('banlist'); 0116 $SMILEYS = &$CACHECON->get_cache('smileys'); 0117 $BADWORDS = &$CACHECON->get_cache('badwords'); 0118 $HPR = &$CACHECON->get_cache('hp_ratings'); 0119 0120 $SESS = new BS_session(); 0121 $ADD_FIELDS = new BS_additional_fields(); 0122 0123 $LANG = array(); [/code] [/list]
[u][b][color=#FF0000]Undefined index: daylight_saving[/color][/b][/u] [b]Call-trace:[/b] [list] [*]/homepages/40/d251214899/htdocs/gbook4/src/[b]session.php[/b] in line [b]203[/b] [ Function: [b]_calculate_timezone()[/b] ] [code]0198 * @access private 0199 */ 0200 function _calculate_timezone() 0201 { 0202 global $CFG; 0203 $cfg_daylight = $CFG['daylight_saving']; 0204 $cfg_timezone = $CFG['timezone']; 0205 0206 $daylight_saving = ($cfg_daylight == 2) ? date('I') : $cfg_daylight; 0207 $this->_adjust_time = $cfg_timezone * 3600 + $daylight_saving * 3600; 0208 } 0209 } [/code] [*]/homepages/40/d251214899/htdocs/gbook4/src/[b]session.php[/b] in line [b]35[/b] [ Method: [b]bs_session::_calculate_timezone()[/b] ] [code]0030 { 0031 $this->_determine_user_ip(); 0032 $this->_user_agent = isset($_SERVER['HTTP_USER_AGENT']) ? $_SERVER['HTTP_USER_AGENT'] : ''; 0033 0034 // time stuff 0035 $this->_calculate_timezone(); 0036 0037 $time = time(); 0038 $this->_today = gmdate('dmY',$time + $this->_adjust_time); 0039 $this->_yesterday = gmdate('dmY',$time + $this->_adjust_time - 86400); 0040 $this->_tomorrow = gmdate('dmY',$time + $this->_adjust_time + 86400); 0041 } [/code] [*]/homepages/40/d251214899/htdocs/gbook4/[b]index.php[/b] in line [b]120[/b] [ Method: [b]bs_session::bs_session()[/b] ] [code]0115 $BANS = &$CACHECON->get_cache('banlist'); 0116 $SMILEYS = &$CACHECON->get_cache('smileys'); 0117 $BADWORDS = &$CACHECON->get_cache('badwords'); 0118 $HPR = &$CACHECON->get_cache('hp_ratings'); 0119 0120 $SESS = new BS_session(); 0121 $ADD_FIELDS = new BS_additional_fields(); 0122 0123 $LANG = array(); 0124 include_once(ROOT_PATH.'languages/'.$CFG['language_name'].'/lang_index.php'); 0125 0126 // add $LANG as static array to the template-engine [/code] [/list]
[u][b][color=#FF0000]Undefined index: timezone[/color][/b][/u] [b]Call-trace:[/b] [list] [*]/homepages/40/d251214899/htdocs/gbook4/src/[b]session.php[/b] in line [b]204[/b] [ Function: [b]_calculate_timezone()[/b] ] [code]0199 */ 0200 function _calculate_timezone() 0201 { 0202 global $CFG; 0203 $cfg_daylight = $CFG['daylight_saving']; 0204 $cfg_timezone = $CFG['timezone']; 0205 0206 $daylight_saving = ($cfg_daylight == 2) ? date('I') : $cfg_daylight; 0207 $this->_adjust_time = $cfg_timezone * 3600 + $daylight_saving * 3600; 0208 } 0209 } 0210 ?> [/code] [*]/homepages/40/d251214899/htdocs/gbook4/src/[b]session.php[/b] in line [b]35[/b] [ Method: [b]bs_session::_calculate_timezone()[/b] ] [code]0030 { 0031 $this->_determine_user_ip(); 0032 $this->_user_agent = isset($_SERVER['HTTP_USER_AGENT']) ? $_SERVER['HTTP_USER_AGENT'] : ''; 0033 0034 // time stuff 0035 $this->_calculate_timezone(); 0036 0037 $time = time(); 0038 $this->_today = gmdate('dmY',$time + $this->_adjust_time); 0039 $this->_yesterday = gmdate('dmY',$time + $this->_adjust_time - 86400); 0040 $this->_tomorrow = gmdate('dmY',$time + $this->_adjust_time + 86400); 0041 } [/code] [*]/homepages/40/d251214899/htdocs/gbook4/[b]index.php[/b] in line [b]120[/b] [ Method: [b]bs_session::bs_session()[/b] ] [code]0115 $BANS = &$CACHECON->get_cache('banlist'); 0116 $SMILEYS = &$CACHECON->get_cache('smileys'); 0117 $BADWORDS = &$CACHECON->get_cache('badwords'); 0118 $HPR = &$CACHECON->get_cache('hp_ratings'); 0119 0120 $SESS = new BS_session(); 0121 $ADD_FIELDS = new BS_additional_fields(); 0122 0123 $LANG = array(); 0124 include_once(ROOT_PATH.'languages/'.$CFG['language_name'].'/lang_index.php'); 0125 0126 // add $LANG as static array to the template-engine [/code] [/list]
[u][b][color=#FF0000]unserialize() [<a href='function.unserialize'>function.unserialize</a>]: Error at offset 2633 of 3323 bytes[/color][/b][/u] [b]Call-trace:[/b] [list] [*]/homepages/40/d251214899/htdocs/gbook4/src/[b]db_cache.php[/b] in line [b]71[/b] [ Function: [b]unserialize()[/b] ] [code]0066 { 0067 $this->_cache_content = array(); 0068 if(is_array($content)) 0069 $this->_cache_content = $content; 0070 else if($content) 0071 $this->_cache_content = unserialize($content); 0072 0073 $this->_length = count($this->_cache_content); 0074 $this->_cache_content_keys = array_keys($this->_cache_content); 0075 } 0076 0077 /** [/code] [*]/homepages/40/d251214899/htdocs/gbook4/src/[b]db_cache.php[/b] in line [b]29[/b] [ Method: [b]bs_db_cache::set_content()[/b] ] [code]0024 function BS_db_cache($table_name,$cache_key,$cache_content = '',$array_key = '') 0025 { 0026 $this->_table_name = $table_name; 0027 $this->_cache_key = $cache_key; 0028 $this->_array_key = $array_key; 0029 $this->set_content($cache_content); 0030 } 0031 0032 /** 0033 * @param string $query the SQL-query for the cache 0034 * @access public 0035 */ [/code] [*]/homepages/40/d251214899/htdocs/gbook4/src/[b]cache_container.php[/b] in line [b]137[/b] [ Method: [b]bs_db_cache::bs_db_cache()[/b] ] [code]0132 // init by id 0133 case 'themes': 0134 case 'languages': 0135 case 'add_fields': 0136 case 'hp_ratings': 0137 $this->_cache_obj[$name] = new BS_db_cache($table_name,$name,$this->_cache_data[$name],'id'); 0138 break; 0139 0140 // default init 0141 default: 0142 $this->_cache_obj[$name] = new BS_db_cache($table_name,$name,$this->_cache_data[$name]); 0143 break; [/code] [*]/homepages/40/d251214899/htdocs/gbook4/src/[b]cache_container.php[/b] in line [b]46[/b] [ Method: [b]bs_cachecontainer::_init_object()[/b] ] [code]0041 0042 if(!$this->_initialized) 0043 $this->_init_cache(); 0044 0045 if(!isset($this->_cache_obj[$name])) 0046 $this->_init_object($name); 0047 0048 return $this->_cache_obj[$name]; 0049 } 0050 0051 /** 0052 * returns the cache-content of the given name (the table-name) [/code] [*]/homepages/40/d251214899/htdocs/gbook4/src/[b]additional_fields.php[/b] in line [b]13[/b] [ Method: [b]bs_cachecontainer::get_cache()[/b] ] [code]0008 * constructor 0009 */ 0010 function BS_additional_fields() 0011 { 0012 global $CACHECON; 0013 $this->_cache = &$CACHECON->get_cache('add_fields'); 0014 } 0015 0016 /** 0017 * @return object a reference to the internal cache-object 0018 */ 0019 function &get_cache() [/code] [*]/homepages/40/d251214899/htdocs/gbook4/[b]index.php[/b] in line [b]121[/b] [ Method: [b]bs_additional_fields::bs_additional_fields()[/b] ] [code]0116 $SMILEYS = &$CACHECON->get_cache('smileys'); 0117 $BADWORDS = &$CACHECON->get_cache('badwords'); 0118 $HPR = &$CACHECON->get_cache('hp_ratings'); 0119 0120 $SESS = new BS_session(); 0121 $ADD_FIELDS = new BS_additional_fields(); 0122 0123 $LANG = array(); 0124 include_once(ROOT_PATH.'languages/'.$CFG['language_name'].'/lang_index.php'); 0125 0126 // add $LANG as static array to the template-engine 0127 // because we'll need it in (nearly) every template [/code] [/list]
[u][b][color=#FF0000]array_keys() [<a href='function.array-keys'>function.array-keys</a>]: The first argument should be an array[/color][/b][/u] [b]Call-trace:[/b] [list] [*]/homepages/40/d251214899/htdocs/gbook4/src/[b]db_cache.php[/b] in line [b]74[/b] [ Function: [b]array_keys()[/b] ] [code]0069 $this->_cache_content = $content; 0070 else if($content) 0071 $this->_cache_content = unserialize($content); 0072 0073 $this->_length = count($this->_cache_content); 0074 $this->_cache_content_keys = array_keys($this->_cache_content); 0075 } 0076 0077 /** 0078 * saves the data in this object or from the db-table to the cache-table 0079 * 0080 * @param boolean $use_database do you want to use the database or this object? [/code] [*]/homepages/40/d251214899/htdocs/gbook4/src/[b]db_cache.php[/b] in line [b]29[/b] [ Method: [b]bs_db_cache::set_content()[/b] ] [code]0024 function BS_db_cache($table_name,$cache_key,$cache_content = '',$array_key = '') 0025 { 0026 $this->_table_name = $table_name; 0027 $this->_cache_key = $cache_key; 0028 $this->_array_key = $array_key; 0029 $this->set_content($cache_content); 0030 } 0031 0032 /** 0033 * @param string $query the SQL-query for the cache 0034 * @access public 0035 */ [/code] [*]/homepages/40/d251214899/htdocs/gbook4/src/[b]cache_container.php[/b] in line [b]137[/b] [ Method: [b]bs_db_cache::bs_db_cache()[/b] ] [code]0132 // init by id 0133 case 'themes': 0134 case 'languages': 0135 case 'add_fields': 0136 case 'hp_ratings': 0137 $this->_cache_obj[$name] = new BS_db_cache($table_name,$name,$this->_cache_data[$name],'id'); 0138 break; 0139 0140 // default init 0141 default: 0142 $this->_cache_obj[$name] = new BS_db_cache($table_name,$name,$this->_cache_data[$name]); 0143 break; [/code] [*]/homepages/40/d251214899/htdocs/gbook4/src/[b]cache_container.php[/b] in line [b]46[/b] [ Method: [b]bs_cachecontainer::_init_object()[/b] ] [code]0041 0042 if(!$this->_initialized) 0043 $this->_init_cache(); 0044 0045 if(!isset($this->_cache_obj[$name])) 0046 $this->_init_object($name); 0047 0048 return $this->_cache_obj[$name]; 0049 } 0050 0051 /** 0052 * returns the cache-content of the given name (the table-name) [/code] [*]/homepages/40/d251214899/htdocs/gbook4/src/[b]additional_fields.php[/b] in line [b]13[/b] [ Method: [b]bs_cachecontainer::get_cache()[/b] ] [code]0008 * constructor 0009 */ 0010 function BS_additional_fields() 0011 { 0012 global $CACHECON; 0013 $this->_cache = &$CACHECON->get_cache('add_fields'); 0014 } 0015 0016 /** 0017 * @return object a reference to the internal cache-object 0018 */ 0019 function &get_cache() [/code] [*]/homepages/40/d251214899/htdocs/gbook4/[b]index.php[/b] in line [b]121[/b] [ Method: [b]bs_additional_fields::bs_additional_fields()[/b] ] [code]0116 $SMILEYS = &$CACHECON->get_cache('smileys'); 0117 $BADWORDS = &$CACHECON->get_cache('badwords'); 0118 $HPR = &$CACHECON->get_cache('hp_ratings'); 0119 0120 $SESS = new BS_session(); 0121 $ADD_FIELDS = new BS_additional_fields(); 0122 0123 $LANG = array(); 0124 include_once(ROOT_PATH.'languages/'.$CFG['language_name'].'/lang_index.php'); 0125 0126 // add $LANG as static array to the template-engine 0127 // because we'll need it in (nearly) every template [/code] [/list]
[u][b][color=#FF0000]main(languages//lang_index.php) [<a href='function.main'>function.main</a>]: failed to open stream: No such file or directory[/color][/b][/u] [b]Call-trace:[/b] [list] [*]/homepages/40/d251214899/htdocs/gbook4/[b]index.php[/b] in line [b]124[/b] [ Function: [b]include_once()[/b] ] [code]0119 0120 $SESS = new BS_session(); 0121 $ADD_FIELDS = new BS_additional_fields(); 0122 0123 $LANG = array(); 0124 include_once(ROOT_PATH.'languages/'.$CFG['language_name'].'/lang_index.php'); 0125 0126 // add $LANG as static array to the template-engine 0127 // because we'll need it in (nearly) every template 0128 $TMP->add_array('LANG',$LANG,true); 0129 0130 // load the module depending on $action [/code] [/list]
[u][b][color=#FF0000]main() [<a href='function.include'>function.include</a>]: Failed opening 'languages//lang_index.php' for inclusion (include_path='.:/usr/lib/php4.4')[/color][/b][/u] [b]Call-trace:[/b] [list] [*]/homepages/40/d251214899/htdocs/gbook4/[b]index.php[/b] in line [b]124[/b] [ Function: [b]include_once()[/b] ] [code]0119 0120 $SESS = new BS_session(); 0121 $ADD_FIELDS = new BS_additional_fields(); 0122 0123 $LANG = array(); 0124 include_once(ROOT_PATH.'languages/'.$CFG['language_name'].'/lang_index.php'); 0125 0126 // add $LANG as static array to the template-engine 0127 // because we'll need it in (nearly) every template 0128 $TMP->add_array('LANG',$LANG,true); 0129 0130 // load the module depending on $action [/code] [/list]
[u][b][color=#FF0000]Undefined index: enable_gzip[/color][/b][/u] [b]Call-trace:[/b] [list] [*]/homepages/40/d251214899/htdocs/gbook4/src/[b]functions.php[/b] in line [b]866[/b] [ Function: [b]bs_start_document()[/b] ] [code]0861 */ 0862 function BS_start_document() 0863 { 0864 global $CFG; 0865 // don't nest the output-buffers if we're using gzip 0866 if($CFG['enable_gzip'] == 1 && (!function_exists('ob_get_level') || ob_get_level() <= 1)) 0867 @ob_start('ob_gzhandler'); 0868 else 0869 @ob_start(); 0870 } 0871 0872 /** [/code] [*]/homepages/40/d251214899/htdocs/gbook4/[b]index.php[/b] in line [b]133[/b] [ Function: [b]bs_start_document()[/b] ] [code]0128 $TMP->add_array('LANG',$LANG,true); 0129 0130 // load the module depending on $action 0131 $MODULE = BS_get_module(); 0132 0133 BS_start_document(); 0134 0135 $position = BS_get_page_position(); 0136 0137 // show the header 0138 $TMP->initialize('header.htm',0); 0139 $TMP->add_variables(array( [/code] [/list]
[u][b][color=#FF0000]Undefined index: home[/color][/b][/u] [b]Call-trace:[/b] [list] [*]/homepages/40/d251214899/htdocs/gbook4/src/[b]functions.php[/b] in line [b]828[/b] [ Function: [b]bs_get_page_position()[/b] ] [code]0823 $current_location_suffix .= ' » '.$name; 0824 else 0825 $current_location_suffix .= ' » <a class="gs_body" href="'.$url.'">'.$name.'</a>'; 0826 } 0827 0828 $current_location = '<a class="gs_body" href="'.$URL->get_index_url().'">'.$LANG['home'].'</a>'; 0829 $current_location .= $current_location_suffix; 0830 0831 return array( 0832 'position' => $current_location, 0833 'title' => strip_tags($current_location_suffix) 0834 ); [/code] [*]/homepages/40/d251214899/htdocs/gbook4/[b]index.php[/b] in line [b]135[/b] [ Function: [b]bs_get_page_position()[/b] ] [code]0130 // load the module depending on $action 0131 $MODULE = BS_get_module(); 0132 0133 BS_start_document(); 0134 0135 $position = BS_get_page_position(); 0136 0137 // show the header 0138 $TMP->initialize('header.htm',0); 0139 $TMP->add_variables(array( 0140 'new_entry_url' => $URL->get_URL('new_entry'), 0141 'admin_url' => $URL->get_admin_URL(), [/code] [/list]
[u][b][color=#FF0000]Undefined index: gbook_title[/color][/b][/u] [b]Call-trace:[/b] [list] [*]/homepages/40/d251214899/htdocs/gbook4/[b]index.php[/b] in line [b]142[/b] [ Function: [b]unknown()[/b] ] [code]0137 // show the header 0138 $TMP->initialize('header.htm',0); 0139 $TMP->add_variables(array( 0140 'new_entry_url' => $URL->get_URL('new_entry'), 0141 'admin_url' => $URL->get_admin_URL(), 0142 'gbook_title' => $CFG['gbook_title'], 0143 'title' => $CFG['gbook_title'].' '.$position['title'], 0144 'position' => $position['position'], 0145 'root' => ROOT_PATH, 0146 'theme' => $CFG['theme_name'] 0147 )); 0148 echo $TMP->parse_template(); [/code] [/list]
[u][b][color=#FF0000]Undefined index: gbook_title[/color][/b][/u] [b]Call-trace:[/b] [list] [*]/homepages/40/d251214899/htdocs/gbook4/[b]index.php[/b] in line [b]143[/b] [ Function: [b]unknown()[/b] ] [code]0138 $TMP->initialize('header.htm',0); 0139 $TMP->add_variables(array( 0140 'new_entry_url' => $URL->get_URL('new_entry'), 0141 'admin_url' => $URL->get_admin_URL(), 0142 'gbook_title' => $CFG['gbook_title'], 0143 'title' => $CFG['gbook_title'].' '.$position['title'], 0144 'position' => $position['position'], 0145 'root' => ROOT_PATH, 0146 'theme' => $CFG['theme_name'] 0147 )); 0148 echo $TMP->parse_template(); 0149 [/code] [/list]
[u][b][color=#FF0000]Undefined index: position[/color][/b][/u] [b]Call-trace:[/b] [list] [*]/homepages/40/d251214899/htdocs/gbook4/cache/[b]themes_default_templates_header.htm.php[/b] in line [b]24[/b] [ Function: [b]bs_tpl_header_htm()[/b] ] [code]0019 0020 <div style="padding: 10px 15% 10px 15%;"> 0021 0022 <table width="100%" cellpadding="0" cellspacing="0"> 0023 <tr> 0024 <td class="gs_body" width="33%"><b>{$TMP->_variables['LANG']['position']}:</b> {$TMP->_variables['position']}</td> 0025 <td class="gs_body" width="34%" align="center" style="font-size: 15px; font-weight: bold;">{$TMP->_variables['gbook_title']}</td> 0026 <td class="gs_body" width="33%"> 0027 <a class="gs_button" href="{$TMP->_variables['new_entry_url']}">{$TMP->_variables['LANG']['new_entry']}</a> 0028 <a class="gs_button" href="{$TMP->_variables['admin_url']}">{$TMP->_variables['LANG']['adminarea']}</a> 0029 </td> 0030 </tr> [/code] [*]/homepages/40/d251214899/htdocs/gbook4/src/[b]template.php[/b] in line [b]294[/b] [ Function: [b]bs_tpl_header_htm()[/b] ] [code]0289 // include the cached file (just once) 0290 include_once($this->_cache_path); 0291 0292 // call the function with corresponding part-argument 0293 $func_name = 'BS_TPL_'.str_replace('.','_',$this->_filename); 0294 return $func_name($this->_part); 0295 } 0296 } 0297 ?> [/code] [*]/homepages/40/d251214899/htdocs/gbook4/[b]index.php[/b] in line [b]148[/b] [ Method: [b]bs_template::parse_template()[/b] ] [code]0143 'title' => $CFG['gbook_title'].' '.$position['title'], 0144 'position' => $position['position'], 0145 'root' => ROOT_PATH, 0146 'theme' => $CFG['theme_name'] 0147 )); 0148 echo $TMP->parse_template(); 0149 0150 // perform database-actions 0151 // this function returns 1 if a status-page has been shown. in this case we don't want 0152 // to display the rest of the page 0153 $ACTION_RES = GS_perform_db_actions(); 0154 [/code] [/list]
[u][b][color=#FF0000]Undefined index: new_entry[/color][/b][/u] [b]Call-trace:[/b] [list] [*]/homepages/40/d251214899/htdocs/gbook4/cache/[b]themes_default_templates_header.htm.php[/b] in line [b]27[/b] [ Function: [b]bs_tpl_header_htm()[/b] ] [code]0022 <table width="100%" cellpadding="0" cellspacing="0"> 0023 <tr> 0024 <td class="gs_body" width="33%"><b>{$TMP->_variables['LANG']['position']}:</b> {$TMP->_variables['position']}</td> 0025 <td class="gs_body" width="34%" align="center" style="font-size: 15px; font-weight: bold;">{$TMP->_variables['gbook_title']}</td> 0026 <td class="gs_body" width="33%"> 0027 <a class="gs_button" href="{$TMP->_variables['new_entry_url']}">{$TMP->_variables['LANG']['new_entry']}</a> 0028 <a class="gs_button" href="{$TMP->_variables['admin_url']}">{$TMP->_variables['LANG']['adminarea']}</a> 0029 </td> 0030 </tr> 0031 </table> 0032 <br /> 0033 EOF; [/code] [*]/homepages/40/d251214899/htdocs/gbook4/src/[b]template.php[/b] in line [b]294[/b] [ Function: [b]bs_tpl_header_htm()[/b] ] [code]0289 // include the cached file (just once) 0290 include_once($this->_cache_path); 0291 0292 // call the function with corresponding part-argument 0293 $func_name = 'BS_TPL_'.str_replace('.','_',$this->_filename); 0294 return $func_name($this->_part); 0295 } 0296 } 0297 ?> [/code] [*]/homepages/40/d251214899/htdocs/gbook4/[b]index.php[/b] in line [b]148[/b] [ Method: [b]bs_template::parse_template()[/b] ] [code]0143 'title' => $CFG['gbook_title'].' '.$position['title'], 0144 'position' => $position['position'], 0145 'root' => ROOT_PATH, 0146 'theme' => $CFG['theme_name'] 0147 )); 0148 echo $TMP->parse_template(); 0149 0150 // perform database-actions 0151 // this function returns 1 if a status-page has been shown. in this case we don't want 0152 // to display the rest of the page 0153 $ACTION_RES = GS_perform_db_actions(); 0154 [/code] [/list]
[u][b][color=#FF0000]Undefined index: adminarea[/color][/b][/u] [b]Call-trace:[/b] [list] [*]/homepages/40/d251214899/htdocs/gbook4/cache/[b]themes_default_templates_header.htm.php[/b] in line [b]28[/b] [ Function: [b]bs_tpl_header_htm()[/b] ] [code]0023 <tr> 0024 <td class="gs_body" width="33%"><b>{$TMP->_variables['LANG']['position']}:</b> {$TMP->_variables['position']}</td> 0025 <td class="gs_body" width="34%" align="center" style="font-size: 15px; font-weight: bold;">{$TMP->_variables['gbook_title']}</td> 0026 <td class="gs_body" width="33%"> 0027 <a class="gs_button" href="{$TMP->_variables['new_entry_url']}">{$TMP->_variables['LANG']['new_entry']}</a> 0028 <a class="gs_button" href="{$TMP->_variables['admin_url']}">{$TMP->_variables['LANG']['adminarea']}</a> 0029 </td> 0030 </tr> 0031 </table> 0032 <br /> 0033 EOF; 0034 break; [/code] [*]/homepages/40/d251214899/htdocs/gbook4/src/[b]template.php[/b] in line [b]294[/b] [ Function: [b]bs_tpl_header_htm()[/b] ] [code]0289 // include the cached file (just once) 0290 include_once($this->_cache_path); 0291 0292 // call the function with corresponding part-argument 0293 $func_name = 'BS_TPL_'.str_replace('.','_',$this->_filename); 0294 return $func_name($this->_part); 0295 } 0296 } 0297 ?> [/code] [*]/homepages/40/d251214899/htdocs/gbook4/[b]index.php[/b] in line [b]148[/b] [ Method: [b]bs_template::parse_template()[/b] ] [code]0143 'title' => $CFG['gbook_title'].' '.$position['title'], 0144 'position' => $position['position'], 0145 'root' => ROOT_PATH, 0146 'theme' => $CFG['theme_name'] 0147 )); 0148 echo $TMP->parse_template(); 0149 0150 // perform database-actions 0151 // this function returns 1 if a status-page has been shown. in this case we don't want 0152 // to display the rest of the page 0153 $ACTION_RES = GS_perform_db_actions(); 0154 [/code] [/list]
: |
[u][b][color=#FF0000]Undefined index: enable_gbook[/color][/b][/u] [b]Call-trace:[/b] [list] [*]/homepages/40/d251214899/htdocs/gbook4/[b]index.php[/b] in line [b]157[/b] [ Function: [b]unknown()[/b] ] [code]0152 // to display the rest of the page 0153 $ACTION_RES = GS_perform_db_actions(); 0154 0155 if($ACTION_RES < 1) 0156 { 0157 if($CFG['enable_gbook'] == 0) 0158 { 0159 $msg = nl2br(htmlentities($CFG['gbook_disabled_text'],ENT_QUOTES)); 0160 BS_show_status_message($msg,'','','','',false); 0161 } 0162 else if(BS_is_banned('ip',$SESS->user_ip)) 0163 BS_show_status_message($LANG['ip_banned'],'','','','',false); [/code] [/list]
[u][b][color=#FF0000]Undefined index: gbook_disabled_text[/color][/b][/u] [b]Call-trace:[/b] [list] [*]/homepages/40/d251214899/htdocs/gbook4/[b]index.php[/b] in line [b]159[/b] [ Function: [b]unknown()[/b] ] [code]0154 0155 if($ACTION_RES < 1) 0156 { 0157 if($CFG['enable_gbook'] == 0) 0158 { 0159 $msg = nl2br(htmlentities($CFG['gbook_disabled_text'],ENT_QUOTES)); 0160 BS_show_status_message($msg,'','','','',false); 0161 } 0162 else if(BS_is_banned('ip',$SESS->user_ip)) 0163 BS_show_status_message($LANG['ip_banned'],'','','','',false); 0164 else 0165 $MODULE->run(); [/code] [/list]
[u][b][color=#FF0000]Undefined index: information[/color][/b][/u] [b]Call-trace:[/b] [list] [*]/homepages/40/d251214899/htdocs/gbook4/src/[b]functions.php[/b] in line [b]993[/b] [ Method: [b]bs_template::bs_show_status_message()[/b] ] [code]0988 $redirect = true,$redirect_time = 3,$title = 'information') 0989 { 0990 global $TMP,$LANG; 0991 $TMP->initialize('status_message.htm',0); 0992 $TMP->add_variables(array( 0993 'title' => $LANG[$title], 0994 'message' => $message, 0995 'goto_url' => $goto_url, 0996 'goto_title' => $goto_title, 0997 'add_url' => $add_url, 0998 'add_title' => $add_title, 0999 'redirect' => $redirect, [/code] [*]/homepages/40/d251214899/htdocs/gbook4/[b]index.php[/b] in line [b]160[/b] [ Function: [b]bs_show_status_message()[/b] ] [code]0155 if($ACTION_RES < 1) 0156 { 0157 if($CFG['enable_gbook'] == 0) 0158 { 0159 $msg = nl2br(htmlentities($CFG['gbook_disabled_text'],ENT_QUOTES)); 0160 BS_show_status_message($msg,'','','','',false); 0161 } 0162 else if(BS_is_banned('ip',$SESS->user_ip)) 0163 BS_show_status_message($LANG['ip_banned'],'','','','',false); 0164 else 0165 $MODULE->run(); 0166 } [/code] [/list]
|
||||
[u][b][color=#FF0000]Undefined index: enable_gzip[/color][/b][/u] [b]Call-trace:[/b] [list] [*]/homepages/40/d251214899/htdocs/gbook4/src/[b]functions.php[/b] in line [b]879[/b] [ Function: [b]bs_send_document()[/b] ] [code]0874 */ 0875 function BS_send_document() 0876 { 0877 global $CFG; 0878 @header('Cache-Control: no-cache, must-revalidate, max-age=0'); 0879 if($CFG['enable_gzip'] == 1 && (!function_exists('ob_get_level') || ob_get_level() <= 2)) 0880 { 0881 if($encoding = BS_check_gzip()) 0882 { 0883 $gzip_contents = ob_get_contents(); 0884 ob_end_clean(); 0885 [/code] [*]/homepages/40/d251214899/htdocs/gbook4/[b]index.php[/b] in line [b]172[/b] [ Function: [b]bs_send_document()[/b] ] [code]0167 0168 // show the footer 0169 $TMP->initialize('footer.htm',0); 0170 echo $TMP->parse_template(false); 0171 0172 BS_send_document(); 0173 ?> [/code] [/list]