Results 1 to 5 of 5
  1. #1
    Join Date
    Nov 2006
    Location
    Los Angeles
    Posts
    91
    Plugin Contributions
    0

    Default mySql Error (PLEASE HELP!)

    I am getting an error:

    MySQL error 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 '11.4900" ,manufacturers_id=1 , products_status=1
    WHERE
    (products_id' at line 3
    When executing:
    UPDATE zen_products
    SET
    products_price="19.95" ,products_image="../catalogartwork/VP-DCM10B2VP.jpg", products_weight="0", products_tax_class_id="", products_date_available= NULL, products_date_added= "2007-02-01 08:53:29", products_last_modified=CURRENT_TIMESTAMP, products_quantity="20, products_price_w="11.4900" ,manufacturers_id=1 , products_status=1

    does anyone have ANY idea how i can fix it? i've been trying to fix it on my own for the past 2 hours and even posted in the 'other contributions' folder but have had no success or help. i've even re-installed the files... PLEASE ANYONE :)

  2. #2
    Join Date
    Nov 2006
    Location
    Los Angeles
    Posts
    91
    Plugin Contributions
    0

    Default Re: mySql Error (PLEASE HELP!)

    and for the record i have checked my "max. values" and none are "0"

  3. #3
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: mySql Error (PLEASE HELP!)

    Where are you when you see this error?

    What version Zen Cart?

    What version php and MySQL?

    What add-ons?

    Go to the Admin and look in Tools ... Developer's Tool Kit ...

    In the bottom input box type in:
    CURRENT_TIMESTAMP

    Select Catalog/Admin from the dropdown and click Search ...

    What shows up?

    Are you running EasyPopulate? If so you might look for the support threads on that add-on or go to the author's site for help ...
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  4. #4
    Join Date
    Nov 2006
    Location
    Los Angeles
    Posts
    91
    Plugin Contributions
    0

    Default Re: mySql Error (PLEASE HELP!)

    when I look up "current_timestamp" i get:


    Line #994 : expires_date < CURRENT_TIMESTAMP

    Line #1797 : CURRENT_TIMESTAMP,

    Line #1798 : CURRENT_TIMESTAMP

    Line #1850 : CURRENT_TIMESTAMP,

    Line #1851 : CURRENT_TIMESTAMP

    Line #1889 : $v_date_added = ($v_date_added == 'NULL') ? CURRENT_TIMESTAMP : $v_date_added;

    Line #1919 : CURRENT_TIMESTAMP,

    Line #1946 : $v_date_added = zen_not_null($v_date_added) ? $v_date_added : CURRENT_TIMESTAMP; // if updating, but date added is null, we use today's date

    Line #1960 : ', products_last_modified=CURRENT_TIMESTAMP' .

  5. #5
    Join Date
    Feb 2006
    Location
    Chicago
    Posts
    1,162
    Plugin Contributions
    0

    Default Re: mySql Error (PLEASE HELP!)

    Do you have QuickBooks contribution installed?
    Tutorials on Zen Cart
    http://tutorials.zen-cart.com/index.php
    ---------------
    advanced.programmer at gmail dot com
    In love with Zen Cart!!

 

 

Similar Threads

  1. Please Help mySQL Emergency
    By Miff in forum Basic Configuration
    Replies: 1
    Last Post: 8 Sep 2010, 11:33 AM
  2. My dog ate MySQL please help!
    By medragon in forum Installing on a Windows Server
    Replies: 4
    Last Post: 21 Jul 2008, 06:17 AM
  3. Mysql CONCAT help please
    By pasher in forum General Questions
    Replies: 2
    Last Post: 30 Aug 2007, 09:02 PM
  4. Problems after MYSQL upgrade - Please help
    By gosvald in forum Installing on a Linux/Unix Server
    Replies: 1
    Last Post: 12 Jul 2007, 09:20 PM
  5. MySQL Database error message help needed please
    By angelicdezigns in forum General Questions
    Replies: 2
    Last Post: 29 Jun 2006, 04:11 PM

Posting Permissions

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