The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
MySQL Query Issues
Hello all,
I have an unusual query error. I'm using query_read(). In the query, I'm not doing anything too special. It LEFT JOINs two tables and gives each of them a synonym, and a few "AS" in the SELECT list. Other than that everything is a very standard SELECT query. I get two PHP warnings, which are: Warning: mysql_query() expects parameter 1 to be string, resource given in [path]/includes/class_core.php on line 413 Warning: chop() expects parameter 1 to be string, resource given in [path]/includes/class_core.php on line 1043 I made sure I am supplying a string. The SQL query error is: Database error in vBulletin 4.0.7: Invalid SQL: ; MySQL Error : Error Number : 0 Request Date : Tuesday, November 30th 2010 @ 01:43:35 PM Error Date : Tuesday, November 30th 2010 @ 01:43:35 PM Script : http://mypage Referrer : http://mypage IP Address : 192.168.10.100 Username : Me Classname : vB_Database MySQL Version : 5.1.41-3ubuntu12.6 Any ideas? |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|