Results 1 to 2 of 2
  1. #1
    Join Date
    Feb 2004
    Posts
    42
    Plugin Contributions
    0

    Default Fatal error with adding products (v1.1.x)

    Hi!

    When i click on the "products" in a admin to add new one, i get this:

    Fatal 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 '-10, 10' at line 13] in EXECUTE("select p.products_id, pd.products_name, p.products_quantity, p.products_image, p.products_price, p.products_date_added, p.products_last_modified, p.products_date_available, p.products_status, p.products_model, p.products_quantity_order_min, p.products_quantity_order_units, p.products_priced_by_attribute, p.product_is_free, p.product_is_call, p.products_quantity_mixed, p.products_quantity_order_max from products p, products_description pd, products_to_categories p2c where p.products_id = pd.products_id in /home/users/www/solvere01/www.solvere.si/trgovina/includes/classes/adodb/adodb-errorhandler.inc.php on line 142


    O know it's an old version, that needs upgrading, but it was working before and I don't have much time for upgrading right now.

    How can i solve this until i upgrade? Thank you very much.

  2. #2
    Join Date
    Jan 2004
    Posts
    66,445
    Plugin Contributions
    81

    Default Re: Fatal error with adding products

    If it was "working before", then perhaps going back to a backup of your site may help.
    Downloading a copy of your server's files and comparing them to what it's "supposed to" have may be a good way to identify where problems may exist (such as a file getting corrupted on the server somehow, etc).

    Otherwise, I suggest you work on upgrading. I don't imagine you'll find much help for troubleshooting v1.1.x code when there's been more than 10 releases of bugfixes, updates, new features, faster code, etc since your version came out 2-3 years ago.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

 

 

Similar Threads

  1. Fatal error when adding products
    By ellivir in forum Setting Up Categories, Products, Attributes
    Replies: 3
    Last Post: 29 Jan 2008, 06:07 PM
  2. fatal error , by adding Template
    By alhakeem2001 in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 14 Dec 2007, 02:24 AM
  3. Fatal error after adding rss2html.php application
    By nick04263 in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 2 Mar 2007, 04:05 AM
  4. fatal error when adding product
    By gnat in forum Setting Up Categories, Products, Attributes
    Replies: 2
    Last Post: 26 Jul 2006, 09:42 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