Seite 1 von 2

Could not obtain lastvisit data from user table

Verfasst: 24.02.2005 19:50
von Dunkles-Wesen
Hallo habe folgende Fehlermeldung

http://www.sonnenuntergang.org/forum/

define('PRIVMSGS_TABLE', $table_prefix.'privmsgs'); define('PRIVMSGS_TEXT_TABLE', $table_prefix.'privmsgs_text'); define('PRIVMSGS_IGNORE_TABLE', $table_prefix.'privmsgs_ignore'); define('PRUNE_TABLE', $table_prefix.'forum_prune'); define('RANKS_TABLE', $table_prefix.'ranks'); define('SEARCH_TABLE', $table_prefix.'search_results'); define('SEARCH_WORD_TABLE', $table_prefix.'search_wordlist'); define('SEARCH_MATCH_TABLE', $table_prefix.'search_wordmatch'); define('SESSIONS_TABLE', $table_prefix.'sessions'); define('SMILIES_TABLE', $table_prefix.'smilies'); define('THEMES_TABLE', $table_prefix.'themes'); define('THEMES_NAME_TABLE', $table_prefix.'themes_name'); define('TOPICS_TABLE', $table_prefix.'topics'); define('TOPICS_WATCH_TABLE', $table_prefix.'topics_watch'); define('USER_GROUP_TABLE', $table_prefix.'user_group'); define('USERS_TABLE', $table_prefix.'users'); define('BANNERS_TABLE', $table_prefix.'banner'); define('COLOR_GROUPS_TABLE', $table_prefix.'color_groups'); define('WORDS_TABLE', $table_prefix.'words'); define('VOTE_DESC_TABLE', $table_prefix.'vote_desc'); define('VOTE_RESULTS_TABLE', $table_prefix.'vote_results'); define('VOTE_USERS_TABLE', $table_prefix.'vote_voters'); define('LINKS_TABLE', $table_prefix.'links'); define('LINK_CATEGORIES_TABLE', $table_prefix.'link_categories'); define('FLAG_TABLE', $table_prefix.'flags'); define('MAP_MOD_MAP_TABLE', $table_prefix.'map_mod_map'); define('MAP_MOD_USER_TABLE', $table_prefix.'map_mod_user'); define('MAP_MOD_PLACE_TABLE', $table_prefix.'map_mod_place'); define('MAP_MOD_CONFIG_TABLE', $table_prefix.'map_mod_config'); define('MAP_MOD_TEXT_TABLE', $table_prefix.'map_mod_text'); define('MAP_MOD_COUNTRY_TABLE', $table_prefix.'map_mod_country'); define('DOWNLOADS_TABLE', $table_prefix.'downloads'); define('DL_CAT_TABLE', $table_prefix.'downloads_cat'); define('PROFILE_VIEW_TABLE', $table_prefix.'profile_view'); // Log actions MOD Start define('LOGS_TABLE', $table_prefix.'logs'); define('LOGS_CONFIG_TABLE', $table_prefix.'logs_config'); define('LOG_ACTIONS_VERSION', '1.1.6'); // Log actions MOD End // iNetAngel Activity Data define('iNA', $table_prefix.'ina_data'); // iNetAngel Games Data define('iNA_GAMES', $table_prefix.'ina_games'); define('iNA_SCORES', $table_prefix.'ina_scores'); define('NOTES_TABLE', $table_prefix.'notes'); //added for birthday zodiac $zodiacdates = array ('0101', '0120', '0121', '0219', '0220', '0320', '0321', '0420', '0421', '0520', '0521', '0621', '0622', '0722', '0723', '0823', '0824', '0922', '0923', '1022', '1023', '1122', '1123', '1221', '1222', '1231'); $zodiacs = array ('Capricorn','Aquarius', 'Pisces', 'Aries', 'Taurus', 'Gemini', 'Cancer', 'Leo', 'Virgo', 'Libra', 'Scorpio', 'Sagittarius','Capricorn'); include($phpbb_root_path . 'includes/cms_constants.'.$phpEx); ?> // the originate php "date()", does not work proberly on all OS, especially when going back in time // before year 1970 (year 0), this function "realdate()", has a mutch larger valid date range, // from 1901 - 2099. it returns a "like" UNIX date format (only date, related letters may be used, due to the fact that // the given date value should already be divided by 86400 - leaving no time information left) // a input like a UNIX timestamp divided by 86400 is expected, so // calculation from the originate php date and mktime is easy. // e.g. realdate ("m d Y", 3) returns the string "1 3 1970" // UNIX users should replace this function with the below code, since this should be faster // //function realdate($date_syntax="Ymd",$date=0) //{ return create_date($date_syntax,$date*86400,$board_config['board_timezone']); } function realdate($date_syntax="Ymd",$date=0) { global $lang; $i=2; if ($date>=0) { $year=date%1461; $days = $date - $year*1461; while ($days > 364) { $year++; $days-=365; if ($i++==3) { $i=0; $days--; } } if (days<=0 && $i==0) { $days++; } } else { $year= -(date%1461); $days = $date + $year*1461; while ($days<0) { $year--; $days+=365; if ($i++==3) { $i=0; $days++; } } } $leap_year = ($i==0) ? TRUE : FALSE; $months_array = ($i==0) ? array (0,31,60,91,121,152,182,213,244,274,305,335,366) : array (0,31,59,90,120,151,181,212,243,273,304,334,365) ; for ($month=1;$month<12;$month++) { if ($days<$months_array[$month]) break; } $day=$days-$months_array[$month-1]+1; //you may gain speed performance by remove som of the below entry's if they are not needed/used return strtr ($date_syntax, array( 'a' => '', 'A' => '', '\\d' => 'd', 'd' => ($day>9) ? $day : '0'.$day, '\\D' => 'D', 'D' => $lang['day_short'][($date-3)%7], '\\F' => 'F', 'F' => $lang['month_long'][$month-1], 'g' => '', 'G' => '', 'H' => '', 'h' => '', 'i' => '', 'I' => '', '\\j' => 'j', 'j' => $day, '\\l' => 'l', 'l' => $lang['day_long'][($date-3)%7], '\\L' => 'L', 'L' => $leap_year, '\\m' => 'm', 'm' => ($month>9) ? $month : '0'.$month, '\\M' => 'M', 'M' => $lang['month_short'][$month-1], '\\n' => 'n', 'n' => $month, 'O' => '', 's' => '', 'S' => '', '\\t' => 't', 't' => $months_array[$month]-$months_array[$month-1], 'w' => '', '\\y' => 'y', 'y' => ($year>29) ? $year-30 : $year+70, '\\Y' => 'Y', 'Y' => $year+1970, '\\z' => 'z', 'z' => $days, '\\' => '', 'W' => '') ); } ?> // Show 'Board is disabled' message if needed. // if( $board_config['board_disable'] && !defined("IN_ADMIN") && !defined("IN_LOGIN") ) { message_die(GENERAL_MESSAGE, $board_config['disable_msg'], 'Information'); } ?> phpBB : Critical Error

Could not obtain lastvisit data from user table

DEBUG MODE

SQL Error : 1146 Table 'sonnenun_bdsmforum.USERS_TABLE' doesn't exist

SELECT * FROM USERS_TABLE WHERE user_id = 1

Line : 68
File : sessions.php
Kann mir einer von euch da weiterhelfen.....?
Das Forum lief seit einem Jahr ohne Veränderung recht gut, und nun ohne das es eine Veränderung gab, soetwas *grübel*

Worann könnte es liegen?

Hier mal die sessions.php im Textformat www.sonnenuntergang.org/offen/sessions.txt

bin echt für jede Hilfe dankbar

Verfasst: 24.02.2005 19:59
von Mario Siebert
Table 'sonnenun_bdsmforum.USERS_TABLE' doesn't exist
Entweder die Tabelle phpbb_users ist nicht vorhanden oder dieser Eintrag in der constants.php wurde entfernt:

Code: Alles auswählen

define('USERS_TABLE', $table_prefix.'users');
Grüße Mario

Verfasst: 24.02.2005 22:29
von Dunkles-Wesen
hmm und wenn beides doch vorhanden ist?

Verfasst: 25.02.2005 09:38
von Chainat
Ich habe seit gestern das selbe Problem. Gestern Mittag war es auf einmal vorbei mit Forum und die selbe Fehlermeldung wie oben erscheint! Usertabelle ist in der DB vorhanden!

Bitte doch um Hilfe!

Gruss

Chainat

Verfasst: 25.02.2005 09:40
von Dave
Hostpoint als Hoster?

Verfasst: 25.02.2005 09:42
von nehcregit
Dave hat geschrieben:Hostpoint als Hoster?
:lol: So langsam wirds peinlich! :roll:

Verfasst: 25.02.2005 09:43
von Chainat
Ja, Hostpoint

Verfasst: 25.02.2005 09:50
von Dave
*lol* :o

Kurz gesagt: Die haben per Script bei deinem Forum nen Update gemacht was einfach nur in die Hose ging ;)
Da von allen geänderten noch eine dateiname.php.orig vorhanden ist sollte es reichen wenn du die geänderte löscht und bei der orig einfach das .orig wegnehm.
Beispiel:
Wir haben die index.php und die index.php.orig
index.php löschen
index.php.orig in index.php umbenenen

EDIT:
nehcregit hat geschrieben:
Dave hat geschrieben:Hostpoint als Hoster?
:lol: So langsam wirds peinlich! :roll:
für mich oder die? :roll:

Verfasst: 25.02.2005 09:59
von Chainat
Okay Danke

Habe nun eben mit Hostpoint telefoniert und sie machten es Rückgängig! Da ich gerade am Umzug der Wohnung bin hatte ich es gestern bei Hostpoint nicht mitgekriegt und natürlich die letzten 24 Stunden auch keinen Pc gehabt!

Danke nochmals

Chainat

Verfasst: 25.02.2005 10:16
von nehcregit
Dave hat geschrieben:EDIT:
nehcregit hat geschrieben:
Dave hat geschrieben:Hostpoint als Hoster?
:lol: So langsam wirds peinlich! :roll:
für mich oder die? :roll:
Na für den Hoster natürlich! Das ist doch alles andere als professionell, irgendwelche Skripte einzuspielen, die Dateien umbenennen und neue erstellen, und den Kunden nicht davon in Kenntnis zu setzen...

Wie kommst Du auf die Idee, ich meinte Dich damit? :o