To jest tylko wersja do druku, aby zobaczyć pełną wersję tematu, kliknij TUTAJ
phpBB2 by Przemo
Support forów phpBB2 modified by Przemo

English version - [General] Could not obtain ban information

imcw - 26-01-2010, 07:17
Temat postu: [General] Could not obtain ban information
My forum at medisiana.com has problem like this :

phpBB by Przemo : Critical Error

Could not obtain ban information

DEBUG MODE

SQL Error : 1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'OR ban_email LIKE '' OR ban_email LIKE ''' at line 4

SELECT * FROM phpbb_banlist WHERE ban_ip IN ('de7c9cc2', 'de7c9cff', 'de7cffff', 'deffffff') OR ban_userid = OR ban_email LIKE '' OR ban_email LIKE ''

Line : 49
File : sessions.php

What should I do?

lui754 - 26-01-2010, 08:54

Execute sql query in phpmyadmin:

Kod:
INSERT INTO phpbb_users (user_id, username, user_level, user_regdate, user_password, user_email, user_icq, user_website, user_occ, user_from, user_interests, user_sig, user_viewemail, user_style, user_aim, user_yim, user_msnm, user_posts, user_attachsig, user_allowsmile, user_allowhtml, user_allowbbcode, user_allow_pm, user_notify_pm, user_allow_viewonline, user_rank, user_avatar, user_lang, user_timezone, user_actkey, user_newpasswd, user_notify, user_active) VALUES (-1, 'Anonymous', 0, 0, '', '', '', '', '', '', '', '', 0, NULL, '', '', '', 0, 1, 1, 1, 1, 0, 1, 1, 0, '', 'english', 1.00, '', '', 0, 0);

imcw - 26-01-2010, 14:59

thanks for the solutions, right now I can access my forum, but how do I login to admin menu? All registered member were disapeard including my user name as an administrator.
lui754 - 26-01-2010, 15:18

Check phpbb_users table contains all records. I am afraid that is not and therefore can not sign.
Where are all the Synchronize database via phpmyadmin.

sorry for my English



Powered by phpBB modified by Przemo © 2003 phpBB Group