Product Page Problems
Board index / General Chat / Feedback
2 posts • Page 1 of 1
- 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
- Posts: 6
- Joined: Sep 28, 2007 2 am
- Reputation points: 0
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 :
Inline, find and replace this:
with this:
Save and upload.
This should fix it. If it doesn't, please tell me.
Cheers!
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
- Posts: 772
- Joined: Jul 14, 2007 9 am
- Reputation points: 38
2 posts • Page 1 of 1
Who is online
Users browsing this forum: No registered users and 1 guest