Page 93 of 360 FirstFirst ... 43839192939495103143193 ... LastLast
Results 921 to 930 of 3595
  1. #921
    Join Date
    Oct 2004
    Posts
    1,045
    Plugin Contributions
    0

    Default Re: Stock by Attribute v4.0 for Zen Cart 1.3.5+

    I can't get the SQL file for this mod to upload, it keeps giving the following 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 '"zen_cfg_select_option(array('true', 'false'),"' at line 1
    in:
    [INSERT INTO zen_configuration (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, last_modified, date_added, use_function, set_function) VALUES ('Show available stock level in cart when less than order', 'STOCK_SHOW_LOW_IN_CART', 'false', 'When customer places more items in cart than are available, show the available amount on the shopping cart page:', '9', '6', NULL, now(), NULL, "zen_cfg_select_option(array('true', 'false'),"]
    If you were entering information, press the BACK button in your browser and re-check the information you had entered to be sure you left no blank fields.
    Does anyone know how to fix this? It's for a 1.3.9g store.

    Thanks!
    Danielle

  2. #922
    Join Date
    Jul 2008
    Posts
    16
    Plugin Contributions
    0

    Default Re: Stock by Attribute v4.0 for Zen Cart 1.3.5+

    Please ignore. I posted to the wrong thread.
    Last edited by woodstuff59; 10 Oct 2010 at 03:50 PM. Reason: wrong thread

  3. #923
    Join Date
    Sep 2009
    Posts
    9
    Plugin Contributions
    0

    Default Re: Stock by Attribute v4.0 for Zen Cart 1.3.5+

    Ive just noticed that my SBA is not working after upgrading to 1.39f
    So I downloaded the latest SBA from the downloads area today, and uploaded the files, replacing the necessary core files as instructed. I went to the admin area and when I click on the products with attributes stock via CP, I get a a page with a search box, sync link, but otherwise its empty, with no products showing. However there is an error code...
    Code:
    1054 Unknown column 'sort' in 'order clause'
    in:
    [select * from products_with_attributes_stock where products_id="52" order by sort ASC;]
    Ive inspected the item 52 and it does have attributes associated with it, but like the other products, does not show up in the SBA Admin. Attributes do show up in the (frontend) dropdown of the product page however, but quantity per attribute cannot be adjusted.
    As per the instructions, I did no database patching, but what seems to be causing this error?
    Sorry if I have missed a previous answer to the issue at hand..I did try search for this error via this site and google...but nothing?

    Thanks..Any help/direction appreciated!
    Last edited by fireball; 13 Oct 2010 at 02:07 AM. Reason: adding info

  4. #924
    Join Date
    Sep 2009
    Posts
    9
    Plugin Contributions
    0

    Default Re: Stock by Attribute v4.0 for Zen Cart 1.3.5+

    Just noticed there was an sql file with the download, altho not mentioned in the instructions. File was update_1_4_10.sql
    So, not having anything to lose, and knowing I had not updated the SBA in over a year..I gave it a shot. But nothing. Still have the same condition now as described in my post above.

    I really need to get this corrected, as there already have been orders for sizes which are supposed to be out of stock.

    Thanks!

  5. #925
    Join Date
    Sep 2009
    Posts
    9
    Plugin Contributions
    0

    Default Re: Stock by Attribute v4.0 for Zen Cart 1.3.5+

    OK..guess I will give this one last bump.
    I know the help here is all volunteer, but come on now, surely there is something one of you can suggest????

  6. #926
    Join Date
    Apr 2006
    Location
    London, UK
    Posts
    10,569
    Plugin Contributions
    25

    Default Re: Stock by Attribute v4.0 for Zen Cart 1.3.5+

    @fireball

    Sounds to me like you jumped to 4.10 or later of the mod without applying the upgrade sql which adds that missing sort column to the products_with_attributes_stock table.
    Kuroi Web Design and Development | Twitter

    (Questions answered in the forum only - so that any forum member can benefit - not by personal message)

  7. #927
    Join Date
    Sep 2009
    Posts
    9
    Plugin Contributions
    0

    Default Re: Stock by Attribute v4.0 for Zen Cart 1.3.5+

    Thanks Kuroi

    Well, that may be..I wanted to check the version level, but the core files were over written with the update. I did run the update sql as mentioned above, and it did add one row/table, but I still have the same error.
    Because the instructions say no changes needed to your database with a previous 4.x installation, Ive been avoiding running any other sql patch until I got some input.

    Thanks again!

  8. #928
    Join Date
    Apr 2006
    Location
    London, UK
    Posts
    10,569
    Plugin Contributions
    25

    Default Re: Stock by Attribute v4.0 for Zen Cart 1.3.5+

    Yes, looks to me like the changelog, but not the instructions have been updated.

    There are two parts to the upgrade sql. One adds a row to the config table, which it sounds as though your have done. The other adds a column called "sort" to the products_with_attributes_stock table which your error message is saying hasn't been done.
    Kuroi Web Design and Development | Twitter

    (Questions answered in the forum only - so that any forum member can benefit - not by personal message)

  9. #929
    Join Date
    Sep 2009
    Posts
    9
    Plugin Contributions
    0

    Default Re: Stock by Attribute v4.0 for Zen Cart 1.3.5+

    Thanks Kuroi, I found the problem.
    It seems the update_1_4_10.sql was indeed the issue and while I assumed it had ran completely, it had not created the sort table. It did however add the other elements to the database when ran previously, but my remote sql query software, seems to only run single parts of the script, apparently, because I had to highlight the "add sort" part of the query, then run..affected 34 rows. Now it appears that its working now..or at the least, I do not get that error anymore and can see my attributes for items.

    THANKS AGAIN for the input!!!

  10. #930
    Join Date
    Oct 2010
    Posts
    15
    Plugin Contributions
    0

    Default Re: Stock by Attribute v4.0 for Zen Cart 1.3.5+

    hi, i have quite strange problem. i`ve been using stock by attribute with only one attribute with no problems. but when i add second attribute, ie. size+color, all entries in first categories get doubled, so i have 2 smalls, 2 mediums, etc to choose from, but second dropdown/radio button is empty and i can`t choose anything and there`s nothing displayed...

    help:)

 

 

Similar Threads

  1. Problems with addon: Dynamic Drop Downs for Stock By Attribute
    By Dunk in forum All Other Contributions/Addons
    Replies: 56
    Last Post: 30 Apr 2014, 07:55 PM
  2. MySQL Problem with Product with Attribute Stock addon
    By rtwingfield in forum All Other Contributions/Addons
    Replies: 1
    Last Post: 20 Sep 2011, 03:35 PM
  3. Hide Zero Quantity Attributes with attribute-stock addon
    By leevil123 in forum All Other Contributions/Addons
    Replies: 1
    Last Post: 11 Feb 2010, 05:06 PM
  4. Replies: 4
    Last Post: 22 Jan 2010, 10:43 PM
  5. Price Products in the grid by 'Stock by Attribute' addon?
    By Salixia in forum Setting Up Categories, Products, Attributes
    Replies: 0
    Last Post: 27 Oct 2009, 06:03 PM

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
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR