Problem z modyfikacją - Bug po naprawie?
bielu - 29-08-2010, 16:11 Temat postu: Bug po naprawie? Couldn't obtain topic beers
DEBUG MODE
SQL Error : 1146 Table 'xlastpriv_cba_pl.BEER_TABLE' doesn't exist
select p1.post_id as post_id_sec, b.*, u1.username as beer_poster, u2.user_id, u2.user_beers_src, u2.user_beers_dst, u1.user_level, u1.user_jr, p2.poster_id as poster_id_sec, t.topic_id as topic_id_sec, f.forum_id as forum_id_sec from phpbb_posts p1 left join BEER_TABLE b ON b.post_id = p1.post_id left join phpbb_posts p2 ON p2.post_id = b.post_id left join phpbb_topics t ON t.topic_id = b.topic_id left join phpbb_forums f ON f.forum_id = b.forum_id left join phpbb_users u1 ON u1.user_id = b.beer_src left join phpbb_users u2 ON u2.user_id = p1.poster_id where p1.topic_id = 13 or b.beer_src = 2 or b.beer_dst = 2
Line : 224
File : functions_beermod.php
Jeśli nie potrafisz znaleźć rozwiązania tego problemu,
możesz spróbować poszukać, lub zadać pytanie na forum: http://www.przemo.org/phpBB2/
nastepny bład
maminowiec - 29-08-2010, 16:14
Zle wykonałeś zapytanie
Kod: | CREATE TABLE phpbb_browery (
beer_id int(10) unsigned NOT NULL auto_increment,
beer_uid_src int(10) NOT NULL,
beer_uid_dst int(10) NOT NULL,
beer_post_id int(10) NOT NULL,
beer_topic_id int(12) NOT NULL,
beer_forum_id int(12) NOT NULL,
beer_time int(12) NOT NULL,
KEY beer_id (beer_id)
) TYPE=MyISAM; |
phpbb_ zamień na swój prefix jesli masz inny
kevin_ - 29-08-2010, 16:15
dodaj stałą BEER_TABLE do includes/constants.php
bielu - 29-08-2010, 16:19
thx
|
|
|