I am getting ‘General Error SQL ERROR You have an error in your SQL syntax’ in my phpBB forum.

Usually, this issue is caused by a missing Anonymous user for your forum. Therefore when an unregistered user tries to open your website, it displays the SQL error.

To resolve the problem, you should create the Anonymous user in your phpBB database. To do this, go to your cPanel -> phpMyAdmin. Once you log in, select your phpBB database and locate the users table.

To create a new record in this table first click on it. After that click the Insert tab in the main menu. Here you should fill in the details for the new user. The most important ones are:

user_id = 1
user_type = 2
group_id = 1
user_permissions = 00000000004pc5m1kw
i1cjyo000000
i1cjyo000000
owqor8000000
owqor8000000
username = Anonymous
username_clean = anonymous

After that click the "GO" button and the user will be created. Check your forum - it should be working normally now.

You need help with an application? hostlantern is specialized in hosting and supporting more than 200 scripts. Sign up for our web hosting services and let us help you with your application, 24/7!

  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

How to configure phpBB Mass Email to comply with the SiteGround e-mail terms of use?

You have to configure your phpBB script to send less than 400 messages per hour and every message...

How to disable PhpBB3 search functionality for guest users?

Often the phpBB3 search functionality is abused by different spam bots. They perform searches as...

How to enable RSS in phpBB?

RSS stands for Really Simple Syndication - a web feed format for publishing frequent updates of...

How to protect phpBB2 from spam?

In order to protect your phpBB 2 forum from unwanted messages, you can use the Akismet mod for...

How to optimize phpBB for better performance?

phpBB is one of the most popular free bulletin board applications. Here are some tips on how to...