View Single Post
  #328  
Old 31st October 2015, 11:55
kOni kOni is offline
Senior Member
 
Join Date: Apr 2012
P2P
Posts: 17
Default
Quote:
Originally Posted by Slocate View Post
Its works now! Thanks so much!


Another error when i click on userdetails

SQL Error

Table 'imgp2p_db.phpbb_posts' doesn't exist

Do u have idea how can fix it :(


if you not going to install the phpbb forum...

change this
PHP Code:
$res mysql_query("SELECT COUNT(*) FROM phpbb_posts WHERE poster_id=" $poste_id) or sqlerr(); 
PHP Code:
$res mysql_query("SELECT username FROM phpbb_users WHERE username=" $user["id"]) or sqlerr(); 
to this
PHP Code:
$res mysql_query("SELECT COUNT(*) FROM posts WHERE poster_id=" $poste_id) or sqlerr(); 
PHP Code:
$res mysql_query("SELECT username FROM users WHERE username=" $user["id"]) or sqlerr(); 
Reply With Quote
The Following User Says Thank You to kOni For This Useful Post:
C-4 (26th January 2016)