error on statement on local server

Ask a Question related to Coldfusion Database Access, Design and Development.

  1. #1

    Default error on statement on local server

    I'm testing locally and got the following error. I'm stumped because this same
    page runs fine on the actual server running exactly the same: CF MX 6.1 and
    MySQL 4.1.1.

    Any ideas? All other pages running from this system seem to be fine. It was
    just this one.

    Thanks!

    Syntax error or access violation: 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 'SELECT SiteTypeID FROM SeasonDates INNER JOIN Seasons

    Can the code area this refers to is below:

    SELECT SiteTypeID, Name
    FROM SiteTypes
    WHERE CampID = #Session.CampID#
    AND IsActive <> 0
    AND SiteTypeID IN (
    SELECT SiteTypeID
    FROM SeasonDates
    INNER JOIN Seasons
    ON SeasonDates.SeasonID = Seasons.SeasonID
    WHERE IsActive <> 0
    )
    ORDER BY SortBy

    sjhf Guest

  2. Similar Questions and Discussions

    1. flash media server only works local on server
      i just installed a developers version of the flash media server on a windows server. i don't have any problems while starting my applications on...
    2. ERROR 2002: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)
      When i try to start my mysql server, i get this error ERROR 2002: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock'...
    3. Error with local test server - cannot add recordset
      :confused; Hi I am relatively new to this and learning via Dreamweaver's help but encountered problem. Running on Win2K and installed IIS...
    4. Can't use 'local' to find sql server instances on local machine
      My computer (connected to a domain) is having trouble connecting to the local MSDE when using 'local' or '(local)' as server name. The only way I...
    5. TNS Protocol Error from SQLPlus within local server
      With a new Oracle 817 server install, when connecting using SQLPlus on the local machine, leaving the Host String as blank, I get a TNS Protocol...
  3. #2

    Default Re: error on statement on local server

    it is a permission issue on the local.. make sure u have right permission..
    adonis1976 Guest

  4. #3

    Default Re: error on statement on local server

    Are you referring to MySql user permissions or NTFS system permissions?
    See4th Guest

Posting Permissions

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

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139