Welcome our webmaster and SEO forum
Please enjoy the forum, contribute what you can, and wind up the Moderators!
Results 1 to 3 of 3

Thread: MySQL error(s)

  1. #1
    CyYanara is offline Junior Member
    Join Date
    Aug 2003
    Posts
    3

    Default MySQL error(s)

    The following MySQL error occurs at the home page post-installation after adding two products to the "test" shop:

    You have an error in your SQL syntax near 'rand() limit 12' at line 5

    The syntax appears to be correct and similar to other result sets, which may error as well, but i haven't gotten past this one yet. I understand that I am able to remove the "randomization" and the problem may be alleviated, but I thought I would post, since it appears as a new version is in "the works".

    In addition, the following error occurs when two products are entered into the "test" shop and, using the "quick search" feature, you select one of the products:

    You have an error in your SQL syntax near ') and p.active = 'yes'' at line 1 {CATEGORY_NAME}
    You have an error in your SQL syntax near ') and p.active = 'yes' ' at line 1 {PAGES}

    I have not investigated the second MySQL error at all, but I will post if I find a resolution.

    -Cy

  2. #2
    CyYanara is offline Junior Member
    Join Date
    Aug 2003
    Posts
    3

    Default RE: MySQL error(s)

    I have determined the following error:

    You have an error in your SQL syntax near 'rand() limit 12' at line 5

    results from the fact that the script is connecting to MySQL 3.22.32 and "order by rand() limit 12" is only supported by MySQL 3.23.xx

    Just a guess, without much investigation again, but the other error may be attributed to the version of MySQL running as well.

    -Cy

  3. #3
    imported_misi Guest

    Default

    You need to update your mysql version

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. MYSQL error during install
    By adammc in forum Boss Cart Installation Help
    Replies: 2
    Last Post: 02-17-2007, 01:07 PM
  2. SQL ERROR: MySQL connection failed (velnet.driver.mysql) not persistent
    By Piotrek in forum Boss Cart Installation Help
    Replies: 5
    Last Post: 06-02-2006, 08:59 PM
  3. mySQL error...can someone please help
    By williamp0044 in forum iG Shop
    Replies: 4
    Last Post: 04-07-2004, 12:18 AM
  4. MySQL error in shop, not in admin section
    By DJ-Loki in forum iG Shop
    Replies: 8
    Last Post: 07-12-2003, 05:50 PM
  5. Mysql error too - same problem.
    By Peter D in forum iG Shop
    Replies: 1
    Last Post: 07-05-2003, 03:00 PM

Bookmarks

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not 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