68 Classifieds Forums

Urgent error! Please help. Query failed: You have an error in your SQL syntax

This is a discussion on Urgent error! Please help. Query failed: You have an error in your SQL syntax within the v3.0 Questions & Support forums, part of the v3.0.x Help & Support category; Anyone know how I can fix this problem? I've no idea how it happened. Notice: Query failed: You have an ...


Go Back   68 Classifieds Forums > Archives > v3.0.x Help & Support > v3.0 Questions & Support

 
 
LinkBack Thread Tools Display Modes
  #1  
Old 01-28-2008, 07:57 PM
Member
 
Join Date: Apr 2006
Posts: 39
Rep Power: 11
gabs is on a distinguished road
Default Urgent error! Please help. Query failed: You have an error in your SQL syntax

Anyone know how I can fix this problem?
I've no idea how it happened.

Notice: Query failed: 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 'n' roll bassist needed' AND owner='105'' at line 1 SQL: UPDATE class_products SET notified='Y' WHERE title='Rock 'n' roll bassist needed' AND owner='105' in /home/findband/public_html/us/includes/MySQL.php on line 120

It's found on
http://www.findbandmates.com/us/index.php

Appreciate the help.
Many thanks.

  #2  
Old 01-28-2008, 08:41 PM
Mike-N-Tosh's Avatar
Moderator
 
Join Date: Jan 2007
Posts: 990
Rep Power: 30
Mike-N-Tosh is just really niceMike-N-Tosh is just really nice
Default

Don't know for sure, but it looks like the 'n' needs to be "escaped"

Try going into your admin and manually editing the title for that ad. Either remove the apostrophes ('), escape them \'n\', or replace them like this:
PHP Code:
#39n#39 
because that is what looks like is causing the error. I couldn't get this post to actually put the apostrophe equivalent in there. It kept replacing it. The equivelent is & # 3 9 ; without the spaces in between each character.

Hope that helps.

-Mike
__________________
Mike-N-Tosh
v3.1.10 Developer IndianaPC.org - A community website
Sandbox v4.0, 4.0.1, 4.0.4, 4.0.8, 4.1b3

Templates for sale | 68 Classifieds Customizations | My blog on 68
Web Hosting | Web Design & Development
I am not a 68C employee, just a user and try to help out

Last edited by Mike-N-Tosh; 01-28-2008 at 08:46 PM.
  #3  
Old 01-28-2008, 09:11 PM
Mike-N-Tosh's Avatar
Moderator
 
Join Date: Jan 2007
Posts: 990
Rep Power: 30
Mike-N-Tosh is just really niceMike-N-Tosh is just really nice
Default

Also, since you posted this in the v3.0 support, you might be able to resolve this by downloading and installing the latest version of the tinyMCE.
__________________
Mike-N-Tosh
v3.1.10 Developer IndianaPC.org - A community website
Sandbox v4.0, 4.0.1, 4.0.4, 4.0.8, 4.1b3

Templates for sale | 68 Classifieds Customizations | My blog on 68
Web Hosting | Web Design & Development
I am not a 68C employee, just a user and try to help out
  #4  
Old 01-29-2008, 04:18 AM
Eric Barnes's Avatar
68 Classifieds Staff
 
Join Date: Mar 2006
Location: Belmont, NC
Posts: 4,307
Rep Power: 99
Eric Barnes is a jewel in the rough
Default

Also you may want to turn off the renewal feature because that appears to be the cause.
__________________
Eric Barnes
68 Classifieds Developer
Please do not send me a private message asking for support. Instead use these open forums or our ticket system.

Customer Area | Issue Tracker | Documentation | 68C Mods | Submit a Ticket | Twitter
 

Bookmarks

« index page | table »
Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Error in your SQL syntax; check the manual that corresponds to your MySQL clairemary v3.1 Questions & Support 2 05-04-2007 01:03 PM
SQL Errors wynnen v3.1 Questions & Support 5 04-03-2007 02:25 PM
SQL Image Error djm v3.1 Questions & Support 2 10-23-2006 07:39 PM


All times are GMT -4. The time now is 05:54 PM.


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

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22