SQL Problem on Photo Gallery...

Discussion in 'Suggestions, Problems and Tests' started by surgingshark, Apr 24, 2004.

  1. surgingshark

    surgingshark Valued Member

    Just got this lovely message while uploading a few photos...

    MySQL error reported!

    Script:

    Query: INSERT INTO notify (id,userid,photo) values(NULL,3237,)

    Result: 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 ')' at line 1

    Database handle: Resource id #17


    *confused*
     
  2. Saz

    Saz Nerd Admin

    At a guess I'd say its missing ' ' from the variables (id,userid,photo). Am I right? (testing my SQL knowledge, I'm learning)

    HKF will sort it in a flash :)
     
  3. Nukie

    Nukie New Member

    yea .. i'm not so sure but have been usin oracle 9i in the past few days and we had ' ' in the values tag??
     
  4. Nukie

    Nukie New Member

    oh and check your constraints as well..
     
  5. surgingshark

    surgingshark Valued Member

    Arigatou Gozaimasu *bows*
     
  6. Nukie

    Nukie New Member

    um watishiwa nukie des, hajemashite!? ah i forget my japanese... i used to study it but forget it all now.. sayonara? :)
     
  7. surgingshark

    surgingshark Valued Member

    You're not that rusty at all :)

    Watashi = I
    Wa = Am
    Nukie = Nukie
    Desu = (means that the previous words are part of a fact)
    Hajimemashite = Pleased To Meet You
     
  8. hongkongfuey

    hongkongfuey Kung Fu Geek

    SS - was this a 'one off' or has it repeated? Anyone else tried uploading photos since the site update?
     
  9. surgingshark

    surgingshark Valued Member

    Happened to me only once, hongkongfuey...
     
  10. Saz

    Saz Nerd Admin

    The problem lies somewhere between the keyboard and the chair then :D
     
  11. surgingshark

    surgingshark Valued Member

    What chair? I''m on the carpet :)
     
  12. Saz

    Saz Nerd Admin

    Ok, I'll say it less subtley.

    Its your fault, na na na nanana! :D
     
  13. surgingshark

    surgingshark Valued Member

    Sure, pick on the Californian :cry:
     
  14. La Mancha

    La Mancha Valued Member

    Works for me. Doesnt like my popup stopper though.

    David
     

    Attached Files:

Share This Page