Bazy danych SQL - SQL Error : 1054 Unknown column 'g.group_id' in 'on clause'
rafix10 - 18-10-2007, 12:58 Temat postu: SQL Error : 1054 Unknown column 'g.group_id' in 'on clause' Witam wszystkich chcących mi pomóc mam następujący problem: gdy chcę edytować, napisać lub usunąć post pojawia się to:
Kod: | Error geting users post stat
DEBUG MODE
SQL Error : 1054 Unknown column 'g.group_id' in 'on clause'
SELECT ug.user_id, g.group_id as g_id, g.group_name , u.user_posts, g.group_count FROM phpbb_groups g, phpbb_users u LEFT JOIN phpbb_user_group ug ON g.group_id=ug.group_id AND ug.user_id=2 WHERE u.user_id=2 AND g.group_single_user = 0 AND g.group_count_enable = 1 AND g.group_moderator <> 2
Line : 616
File : /var/www/sites/yoyo.pl/g/s/gsmcentrum/includes/functions_post.php |
Help me
pecador - 18-10-2007, 12:59
najnowsza wersja forum to 1.12.5, a nie 1.8.
Zainstaluj najnowszą wersję.
rafix10 - 18-10-2007, 13:47
Ok spróbuje
EDIT
I Lipa ;/;/ najpiewrw podczas instalacji forum wyskoczyło to
Kod: | Wystąpił błąd przy instalacji do bazy danych:
CREATE TABLE phpbb_advertisement ( id mediumint(9) NOT NULL auto_increment, html text DEFAULT '' NULL, email varchar(128) default '' NULL, clicks int(9) default '0' NOT NULL, position tinyint(1) default '0' NOT NULL, porder mediumint(4) default '0' NOT NULL, added int(11) default '0' NOT NULL, expire int(11) default '0' NOT NULL, last_update int(11) default '0' NOT NULL, notify tinyint(1) default '0' NOT NULL, type tinyint(1) default '0' NOT NULL, PRIMARY KEY (id) )
Table 'phpbb_advertisement' already exists
Wystąpił nieoczekiwany błąd instalacji do bazy SQL. Plik instalacyjny: db/schemas/mysql_schema.sql
W bazie danych "db409572" istnieją tabele phpBB2 z prefixem "phpbb_"
Możesz wybrać inny prefix dla nowo instalowanego forum, lub usunąć istniejące tabele. Jeżeli zdecydujesz się usunąć, upewnij się, że tabele nie są potrzebne (nie korzysta z nich inne forum dyskusyjne. Nie można cofnąć tej operacji ! |
Zaznaczyłem usuń tabele(...) A Teraz Forum niby działa ale nie moge sie zalogować do panelu Admina tj. jak sie zaloguje klikam na dole w panel administracyjny i wyskakuje pusta strona ;/
Tak wogóle gdy otworzyłem plik config.php w pajączku to zobaczyłem
Kod: | • You have <u>damaged</u>: <b>config.'.$phpEx.'</b> file !<br />• File must begin with: <b><?php</b> and finish with <b>?></b> with any other chars (spaces, tabs or new line) before <?php and after ?><br />• You must correct the file !<br />• Remember <u>it is not mistake</u>, if your text editor can not see this space, tab or new line, use other editor with operating multi (CR/LF) format or create new file with clean content.<br />• Forum will not work correctly with damaged config.php file.<hr /><br />'); |
|
|
|