Solved

Joomla Poll error message when attempting to add, edit or delete poll in poll manager

Posted on 2009-07-04
2
474 Views
Last Modified: 2013-12-13
When I try to do anything in joomla poll i get the message
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 'Is this working,1246751909)' at line 2 SQL=INSERT INTO boch_ualog VALUES( NULL,'62','com_poll','publish','index.php?option=com_poll&task=edit&cid[]=17','{user} published a poll: {link}',Is this working,1246751909)

Is there a fix for this. I am running the latest version of joomla, and this poll was working until i tried to add a new poll.
0
Comment
Question by:bochaka
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 40

Accepted Solution

by:
Richard Quadling earned 500 total points
ID: 24784307
SQL=INSERT INTO boch_ualog VALUES( NULL,'62','com_poll','publish','index.php?option=com_poll&task=edit&cid[]=17','{user} published a poll: {link}',Is this working,1246751909)

The "Is this working" is not surrounded by single quotes.

Can you show the code that generated the SQL?
0

Featured Post

Webinar: MongoDB® Index Types

Join Percona’s Senior Technical Services Engineer, Adamo Tonete as he presents “MongoDB Index Types, How, When and Where Should They be Used?” on Wednesday, July 12, 2017 at 11:00 am PDT / 2:00 pm EDT (UTC-7).

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Password hashing is better than message digests or encryption, and you should be using it instead of message digests or encryption.  Find out why and how in this article, which supplements the original article on PHP Client Registration, Login, Logo…
Many old projects have bad code, but the budget doesn't exist to rewrite the codebase. You can update this code to be safer by introducing contemporary input validation, sanitation, and safer database queries.
Learn how to match and substitute tagged data using PHP regular expressions. Demonstrated on Windows 7, but also applies to other operating systems. Demonstrated technique applies to PHP (all versions) and Firefox, but very similar techniques will w…
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…

696 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question