forum is messed?

Support for ANY phpBB3 related issue.
- MOD Support requests should be asked in the specific MOD topic -
Any version of phpBB3 is supported.
Forum rules
READ: StarTrekGuide.com Board Rules

Users are requested to fill out the Support Request Template and include it in every support request.

As a general rule, Support for a Specific MOD should be requested in the specific MOD topic, as it would alert the MOD Author of the support request.
Please specify if you have any MODs installed on your board when asking for support.

phpBB support requests allowed
MOD Requests and Generic discussions not allowed

forum is messed?

Postby jooda » 20 Aug 2012, 05:07

Code: Select all
General Error
SQL ERROR [ mysqli ]

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 '' at line 3 [1064]

SQL

SELECT forum_id, auth_option_id, auth_role_id, auth_setting FROM phpbb_acl_users WHERE user_id =

BACKTRACE

FILE: [ROOT]/includes/db/mysqli.php
LINE: 182
CALL: dbal->sql_error()

FILE: [ROOT]/includes/auth.php
LINE: 832
CALL: dbal_mysqli->sql_query()

FILE: [ROOT]/includes/auth.php
LINE: 400
CALL: auth->acl_raw_data_single_user()

FILE: [ROOT]/includes/auth.php
LINE: 71
CALL: auth->acl_cache()

FILE: [ROOT]/includes/functions_content.php
LINE: 1225
CALL: auth->acl()

FILE: [ROOT]/shout.php
LINE: 83
CALL: get_username_string()

FILE: [ROOT]/index.php
LINE: 37
CALL: include('[ROOT]/shout.php')



How to fix?

http://forum.alpha-evolution.net/index.php
jooda    
Ensign
Ensign
 
Posts: 73
Joined: 08 Jul 2011, 08:33
Gender: Male
phpBB Knowledge: 4


Re: forum is messed?

Postby Handyman » 20 Aug 2012, 10:49

Hey Jooda,

It's a bit hard to tell how to fix it when you haven't provided any details of what you've done.
The problem you're having is that there is no user_id provided in the query, so it's throwing an SQL error.
Please contact me if you have any news to submit to SCOFF News.
SCOFFing at the candidates while you sleep.
My Mods || My Mod Queue
Image
User avatar
Handyman    
Rear Fleet Admiral
Rear Fleet Admiral
 
Posts: 7457
Joined: 08 May 2006, 04:45
Location: Where no man has gone before!
Favorite Team: Seattle Seahawks
Gender: Male

Re: forum is messed?

Postby jooda » 29 Aug 2012, 04:55

Fixed now. It was because I deleted a user who had posted in chat lol
jooda    
Ensign
Ensign
 
Posts: 73
Joined: 08 Jul 2011, 08:33
Gender: Male
phpBB Knowledge: 4

Re: forum is messed?

Postby Handyman » 29 Aug 2012, 09:53

Ahh, that's interesting.
I didn't put any checks in the chat queries to make sure users existed, probably something I should do.
Please contact me if you have any news to submit to SCOFF News.
SCOFFing at the candidates while you sleep.
My Mods || My Mod Queue
Image
User avatar
Handyman    
Rear Fleet Admiral
Rear Fleet Admiral
 
Posts: 7457
Joined: 08 May 2006, 04:45
Location: Where no man has gone before!
Favorite Team: Seattle Seahawks
Gender: Male


Return to phpBB3 Support

Who is online

Users browsing this forum: Googlebot, YandexBot and 16 guests