...

View Full Version : SQL Error:Resource is not really a resource



dagsky
03-02-2009, 01:03 PM
Hey guys! I'm going nuts here as i've never seen this error before nor can google find any solutions! I was just checking my cart admin section that records errors and i have a list of errors that go like this:

Error [Expand log message] Database N/A Resource is not really a resource 1st Mar 2009 @ 2:47 AM

Location:
/home/interscr/public_html/includes/classes/class.checkout.php (Line 3147)

Followed by:

Error [Expand log message] Database N/A You have an error in your SQL syntax; check the manual that correspond... 1st Mar 2009 @ 2:47 AM

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 1

SELECT * FROM products WHERE productid IN ()
Location:
/home/interscr/public_html/includes/classes/class.checkout.php (Line 3146)

What in the world is that all about and how do i go about fixing it please!!

PHP Version: 5.2.6
MySQL Version: 5.0.67-community-log
Server Software: Apache/2.2.10 (Unix) mod_ssl/2.2.10 OpenSSL/0.9.8b mod_auth_passthrough/2.1 mod_bwlimited/1.4 FrontPage/5.0.2.2635 PHP/5.2.6
Operating System: Linux caracas.footholds.net 2.6.18-53.el5PAE #1 SMP Mon Nov 12 02:55:09 EST 2007 i686
GD Version: bundled (2.0.34 compatible)
Safe Mode: Disabled
Remote Connection Support: CURL
fopen (Remote URLs Enabled)
Multi-byte Functionality: Multibyte
iconv
PSpell Functionality: Enabled

abduraooft
03-02-2009, 01:38 PM
Error [Expand log message] Database N/A Resource is not really a resource 1st Mar 2009 @ 2:47 AM
Could you post your code(without the secure informations like username/password) that used for connecting host and selecting DB?



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum