"error in your SQL syntax" (2 posts)

  1. dj-anakin
    Posted 9 years ago #


    I'm using WP 2.0.4 and i'm getting the following error in the photo addition text box thing. I'm not sure if there's anything I can do about it, I don't have access/control of the server, nor do I know anything about SQL or db's.

    Any help is appriciated. I don't add photo's to my blog in this way, I use flickr, so it's not hampering my posting, but it's just kind of annoying and i'd like to know if there is anything I can do about it.


    Error to follow:

    WordPress database error: [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 'ORDER BY p.imageorder, p.added' at line 1]
    SELECT p.id, p.postid, w.imagepath, w.imagename, p.imageorder, p.modified, p.added, p.description, p.photographer, p.imageorder, w.taken FROM wp_cpl AS w, wp_cpl_post AS p WHERE w.id = p.id AND p.postid = ORDER BY p.imageorder, p.added;

  2. Kafkaesqui

    Posted 9 years ago #

    Are you using a photo plugin? None of this query looks to be from the WordPress core.

Topic Closed

This topic has been closed to new replies.

About this Topic