Loading ...

Product Page Problems

Board index / General Chat / Feedback

Help us improve our services. Post any suggestions to help us improve.

Postby rajmahall on Sep 28, 2007 8 pm


Code: Select all
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 parent = 0' at line 1


I got the server message listed above when going to the detail page for "Great Spiritual Masters Vol 1".
rajmahall
Verified Customer
Verified Customer
 
Posts: 6
Joined: Sep 28, 2007 2 am
Reputation points: 0

Postby Paul on Sep 29, 2007 7 am


Hi,

Please open 'include/functions.php' file with Notepad or other text editor.

Go to line 42 (Ctrl+G in Notepad and Dreamweaver) or search for :
Code: Select all
$query2 = @mysql_query


Inline, find and replace this:
Code: Select all
catid = $parent


with this:
Code: Select all
catid = \'".$parent."\'


Save and upload.

This should fix it. If it doesn't, please tell me.

Cheers!
Paul
Developer
Developer
 
Posts: 772
Joined: Jul 14, 2007 9 am
Reputation points: 38


Who is online

Users browsing this forum: No registered users and 13 guests

cron