Ich glaube ich hab mein Forum geschrottet.
Ich habe versucht das Portal für mein phpbb3 zu installieren.
Dies hat nicht funktioniert wegen irgendwas mit MySQL.
Also hab ich alles wieder vom Server runtergeworfen und mein Backup aufgespielt das ich vorher gemacht hatte.
Und nun bekomme ich beim betreten des Forums folgende Meldung:
Wer kann mir helfen???FROM ' . LANG_TABLE . " WHERE lang_iso = '" . $db->sql_escape($this->lang_name) . "'"; $result = $db->sql_query($sql); $this->lang_id = (int) $db->sql_fetchfield('lang_id'); $db->sql_freeresult($result); return $this->lang_id; } /** * Get users profile fields */ function get_profile_fields($user_id) { global $db; if (isset($this->profile_fields)) { return; } $sql = 'SELECT * FROM ' . PROFILE_FIELDS_DATA_TABLE . " WHERE user_id = $user_id"; $result = $db->sql_query_limit($sql, 1); $this->profile_fields = (!($row = $db->sql_fetchrow($result))) ? array() : $row; $db->sql_freeresult($result); } /** * Specify/Get image */ function img($img, $alt = '', $width = false, $suffix = '', $type = 'full_tag') { static $imgs; global $phpbb_root_path; $img_data = &$imgs[$img]; if (empty($img_data)) { if (!isset($this->img_array[$img])) { // Do not fill the image to let designers decide what to do if the image is empty $img_data = ''; return $img_data; } $img_data['src'] = $phpbb_root_path . 'styles/' . $this->theme['imageset_path'] . '/imageset/' . ($this->img_array[$img]['image_lang'] ? $this->img_array[$img]['image_lang'] .'/' : '') . $this->img_array[$img]['image_filename']; $img_data['width'] = $this->img_array[$img]['image_width']; $img_data['height'] = $this->img_array[$img]['image_height']; } $alt = (!empty($this->lang[$alt])) ? $this->lang[$alt] : $alt; switch ($type) { case 'src': return $img_data['src']; break; case 'width': return ($width === false) ? $img_data['width'] : $width; break; case 'height': return $img_data['height']; break; default: $use_width = ($width === false) ? $img_data['width'] : $width; return '' . $alt . ''; break; } } /** * Get option bit field from user options */ function optionget($key, $data = false) { if (!isset($this->keyvalues[$key])) { $var = ($data) ? $data : $this->data['user_options']; $this->keyvalues[$key] = ($var & 1 << $this->keyoptions[$key]) ? true : false; } return $this->keyvalues[$key]; } /** * Set option bit field for user options */ function optionset($key, $value, $data = false) { $var = ($data) ? $data : $this->data['user_options']; if ($value && !($var & 1 << $this->keyoptions[$key])) { $var += 1 << $this->keyoptions[$key]; } else if (!$value && ($var & 1 << $this->keyoptions[$key])) { $var -= 1 << $this->keyoptions[$key]; } else { return ($data) ? $var : false; } if (!$data) { $this->data['user_options'] = $var; return true; } else { return $var; } } } ?>
Fatal error: Class 'user' not found in /usr/export/www/vhosts/funnetwork/hosting/gamersvillage/forum/common.php on line 203