+ Reply to Thread
Page 1 of 2 1 2 LastLast
Results 1 to 10 of 15

Thread: Calender

  1. #1
    Sharribee's Avatar
    Sharribee is offline Matron
    Join Date
    Jan 2006
    Location
    Wales
    Posts
    11,278
    Thanks
    17
    Thanked 14 Times in 13 Posts

    Calender

    Hi guys, MOM is having problems posting in the calender, any ideas????



    Thanks
    xxx
    DELILAH
    2010 F800 GS


  2. Remove Advertisements
    XRV.org.uk
    Advertisements
     

  3. #2
    Lumiya's Avatar
    Lumiya is offline The Dark One
    Join Date
    Dec 2006
    Location
    Ziost
    Posts
    7,824
    Thanks
    20
    Thanked 20 Times in 17 Posts

    Re: Calender

    Quote Originally Posted by Mabel
    Hi guys, MOM is having problems posting in the calender, any ideas????
    No problems posting and then deleting a test event. Does he get any error messages?

    Kymmy

  4. #3
    Sharribee's Avatar
    Sharribee is offline Matron
    Join Date
    Jan 2006
    Location
    Wales
    Posts
    11,278
    Thanks
    17
    Thanked 14 Times in 13 Posts
    I have had no problems either, he does get an error message but he can't remember what. (must be his age)

    He is going to try again and then post here the message he gets


    Thanks Kymmy
    DELILAH
    2010 F800 GS


  5. #4
    Mabels Old Man's Avatar
    Mabels Old Man is offline Mines a big red one
    Join Date
    May 2006
    Location
    The Dark Side
    Posts
    5,506
    Thanks
    0
    Thanked 5 Times in 5 Posts
    OK tried again and I get the following


    Arse! Query failed:
    errorno=1064
    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 's Old Man', 'I\'ll be there ')' at line 9
    clean_query=INSERT INTO tbl_event_participant (fld_event_id, fld_participant_user_id, fld_participant_username, fld_participant_comment) VALUES (128, 1141, 'Mabel's Old Man', 'I\'ll be there ')
    query=INSERT INTO tbl_event_participant (fld_event_id, fld_participant_user_id, fld_participant_username, fld_participant_comment) VALUES (128, 1141, 'Mabel's Old Man', 'I\'ll be there ')



    Hope this means something to somebody
    1995 Fireblade Urban Tiger
    2009 BMW R1200GSA
    Events Manager GS Club

  6. #5
    Lumiya's Avatar
    Lumiya is offline The Dark One
    Join Date
    Dec 2006
    Location
    Ziost
    Posts
    7,824
    Thanks
    20
    Thanked 20 Times in 17 Posts
    Quote Originally Posted by Mabel's Old Man
    OK tried again and I get the following


    Arse! Query failed:
    errorno=1064
    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 's Old Man', 'I\'ll be there ')' at line 9
    clean_query=INSERT INTO tbl_event_participant (fld_event_id, fld_participant_user_id, fld_participant_username, fld_participant_comment) VALUES (128, 1141, 'Mabel's Old Man', 'I\'ll be there ')
    query=INSERT INTO tbl_event_participant (fld_event_id, fld_participant_user_id, fld_participant_username, fld_participant_comment) VALUES (128, 1141, 'Mabel's Old Man', 'I\'ll be there ')



    Hope this means something to somebody
    By the look of it the words I'll be there is throwing up the error. Try altering that line to something else especially without the apostraphy

    Kymmy

  7. #6
    Mabels Old Man's Avatar
    Mabels Old Man is offline Mines a big red one
    Join Date
    May 2006
    Location
    The Dark Side
    Posts
    5,506
    Thanks
    0
    Thanked 5 Times in 5 Posts
    Okey dokey Tried something simple with no punctuation

    Arse! Query failed:
    errorno=1064
    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 's Old Man', 'My calendar is clear')' at line 9
    clean_query=INSERT INTO tbl_event_participant (fld_event_id, fld_participant_user_id, fld_participant_username, fld_participant_comment) VALUES (128, 1141, 'Mabel's Old Man', 'My calendar is clear')
    query=INSERT INTO tbl_event_participant (fld_event_id, fld_participant_user_id, fld_participant_username, fld_participant_comment) VALUES (128, 1141, 'Mabel's Old Man', 'My calendar is clear')


    See told you it doesn't like BMW riders.
    1995 Fireblade Urban Tiger
    2009 BMW R1200GSA
    Events Manager GS Club

  8. #7
    Lumiya's Avatar
    Lumiya is offline The Dark One
    Join Date
    Dec 2006
    Location
    Ziost
    Posts
    7,824
    Thanks
    20
    Thanked 20 Times in 17 Posts
    Quote Originally Posted by Mabel's Old Man
    Okey dokey Tried something simple with no punctuation

    Arse! Query failed:
    errorno=1064
    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 's Old Man', 'My calendar is clear')' at line 9
    clean_query=INSERT INTO tbl_event_participant (fld_event_id, fld_participant_user_id, fld_participant_username, fld_participant_comment) VALUES (128, 1141, 'Mabel's Old Man', 'My calendar is clear')
    query=INSERT INTO tbl_event_participant (fld_event_id, fld_participant_user_id, fld_participant_username, fld_participant_comment) VALUES (128, 1141, 'Mabel's Old Man', 'My calendar is clear')


    See told you it doesn't like BMW riders.
    Nope, only thing I can think of is that it's the apostraphy in your username

    The code is trying to seperate inputed text and code by the use of apostraphies, you having one in your username is getting it confused. Try going into your profile and changing the username then retrying the entry...just remember you might have to login again using the new username and password

    ThanX Kymmy

  9. #8
    samwise's Avatar
    samwise is offline Yokel In Utah
    Join Date
    Dec 2004
    Location
    North Salt Lake, Utah
    Posts
    1,088
    Thanks
    0
    Thanked 0 Times in 0 Posts
    I'd agree with that - apostrophes cause merry hell in MS SQL anyway, if not doubled-up

  10. #9
    DaveS's Avatar
    DaveS is offline Ex XRV Site Owner
    Join Date
    Nov 2003
    Location
    Bristol, UK.
    Posts
    9,350
    Thanks
    17
    Thanked 33 Times in 26 Posts
    This can be sorted in the php code..... it is the apostrophe that's causing the problems.

    Leave it with me a bit to sort.
    Forum help and advice needed?

    2011 Yamaha XT1200Z Super Tenere
    2010 KTM 450 EXC-R

    Add yourself to our Xrv.org.uk FaceBook group.

    Follow xrv.org.uk on Twitter.

  11. #10
    Mabels Old Man's Avatar
    Mabels Old Man is offline Mines a big red one
    Join Date
    May 2006
    Location
    The Dark Side
    Posts
    5,506
    Thanks
    0
    Thanked 5 Times in 5 Posts
    Quote Originally Posted by DaveS
    This can be sorted in the php code..... it is the apostrophe that's causing the problems.

    Leave it with me a bit to sort.
    OK boss
    1995 Fireblade Urban Tiger
    2009 BMW R1200GSA
    Events Manager GS Club

+ Reply to Thread
Page 1 of 2 1 2 LastLast

Similar Threads

  1. 2007 Calender Entry
    By mgillespie in forum Chatter
    Replies: 16
    Last Post: 11-08-06, 07:42 PM
  2. Calender
    By Sharribee in forum Problems with the forum?
    Replies: 8
    Last Post: 11-05-06, 03:50 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may post new threads
  • You may post replies
  • You may post attachments
  • You may not edit your posts