PhotoPost Photo Gallery Sales PhotoPost Sales Toll Free Phone Number
Mon-Fri 9am-4pm EST
  PhotoPost Photo Sharing Photo Gallery    Visualize community tm
| | | | | | | | |

Go Back   PhotoPost Community > PhotoPost Support > ReviewPost Pro Support Forums > ReviewPost Bug Reports

ReviewPost Bug Reports Let us know about any post installation problems you are having with ReviewPost.

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
Old November 7th, 2007, 12:02 PM   #1 (permalink)
Senior Member
Verified Customer
 
Join Date: Jun 2003
Location: London, UK
Posts: 562
Error near: 'AND n.product=c.id AND n.type=1) WHERE c.id=1'

I'm not sure what page / actions is generating this error message... I've received three of them today:

An error was encountered during execution of the query:

SELECT c.id,c.catname,c.template,n.userid
FROM view_categories c
LEFT JOIN view_notify n ON (n.userid= AND n.product=c.id AND n.type=1)
WHERE c.id=1

The query returned with an errorcode of:

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 'AND n.product=c.id AND n.type=1)
WHERE c.id=1'
criscokid is offline   Reply With Quote
Old November 7th, 2007, 01:15 PM   #2 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,702
What integration is this? Your userid is null which is weird it should always be 0 for a guest.

Line 263 of showcat.php you can encapsulte the userid variable like so to not get an error.

Code:
Content visible to verified customers only.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is online now   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Error on Upload: Sorry, this image type () is not supported yet. Jennifer Marx Photopost Pro Installation & Upgrades 3 May 24th, 2007 06:08 AM
Invalid file type error jviegas Photopost Pro Installation & Upgrades 9 March 25th, 2007 11:37 AM
Image Type Not Supported Error Cyricx Photopost Pro Installation & Upgrades 1 May 5th, 2005 07:44 AM
Edit Product bugs? (blank fields in product edit & strange product order) Khashyar ReviewPost Bug Reports 0 April 23rd, 2005 12:51 AM
Error: Sorry, this image type (6) is not supported yet. CEDillard Photopost Pro Installation & Upgrades 4 December 22nd, 2004 04:14 PM


All times are GMT -5. The time now is 11:10 AM.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0