Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC: Error 1064

Error 1064 8 years 5 months ago #25121

  • Hammerhead
  • Hammerhead's Avatar Topic Author
  • Offline
  • Senior Boarder
  • Senior Boarder
  • Posts: 77
  • Karma: 1
  • Thank you received: 0
Trying to manually add records to the back end to replace those lost in the sauce causes a SQL error. Not sure if this might be related to the record display issue I posted a half hour ago.

An error has occurred.

1064 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 (fe.showed in(1,3) or (fe.showed =-1 and df.showed in(1,3))) and df.publishe' at line 3 SQL=Select fe.id as key1, fe.* , df.id as key2 , df.* , if(fe.showed =-1, fe.showed,fe.showed) as showed , if(fe.showed =-1, fe.required,fe.required) as required ,if(fe.showed =-1, fe.group_behave ,fe.group_behave ) as group_behave From jcms_dtregister_fields as df inner join jcms_dtregister_field_event_archive as fe on fe.field_id = df.id where fe.event_id= and (fe.showed in(1,3) or (fe.showed =-1 and df.showed in(1,3))) and df.published=1 order by ordering

Please advise.

Please Log in or Create an account to join the conversation.

Error 1064 7 years 6 months ago #26346

  • sergeweb54
  • sergeweb54's Avatar
  • Offline
  • Senior Boarder
  • Senior Boarder
  • Posts: 49
  • Karma: 1
  • Thank you received: 0
i have got the same problem, any answer ?

Please Log in or Create an account to join the conversation.

  • Page:
  • 1
Time to create page: 0.691 seconds