save_pod_item help

This topic is: not resolved

This topic contains 3 replies, has 3 voices, and was last updated by  chris.pilko 1 year, 4 months ago.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #167064

    calixto
    Member

    I am submitting to a pod page the following

    SQL_CALC_FOUND_ROWS DISTINCT

    . , . FROM AS INNER JOIN AS ON . = . LEFT JOIN AS ON . = 22 AND . = .id LEFT JOIN AS ON . = . WHERE . = 4 AND ( . = ) ORDER BY . DESC LIMIT 0,15; Response: 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 . DESC LIMIT 0,15′ at line 13

    What am I doing wrong ?
    I would like the user redirected to the previous page once the information is submitted, that is why i post the $slug.

    The pod I am saving to have the following structure:
    name (txt) *
    description (desc)
    avisid (pick avis)

    Thanks !

    #167067

    chris.pilko
    Member

    You edited your code, but did your SQL error change?

    #167065

    sc0ttkclark
    Keymaster
    Post count: 803

    He fixed it, it was a pod page conflict somewhere that was running code elsewhere. There was a findRecords running somewhere that wasn’t populating avisid.id which threw the MySQL error above.

    #167066

    calixto
    Member

    Thanks Chris and Scott. I am in love with PODS now ! It is truly a magnificent piece of work !

Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.

Wordpress Cloud Hosting