Page 345 of 356 FirstFirst ... 245295335343344345346347355 ... LastLast
Results 3,441 to 3,450 of 3558
  1. #3441
    Join Date
    Jul 2012
    Posts
    16,735
    Plugin Contributions
    17

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

    Quote Originally Posted by frumious View Post
    OMG you nailed it !!!
    It was simply an incorrect setting in Dynamic Drop Downs config.
    Thank you sooo much.
    It's always worth askin...
    Care to enlighten others as to what the settings were and what was done to correct the issue? (If nothing else think about if you personally come across it again and how helpful it would have been to have that info readily available.)
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

  2. #3442
    Join Date
    Jun 2020
    Location
    Scotland
    Posts
    11
    Plugin Contributions
    0

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

    So, somehow the link to "Dynamic Dropdowns" and the link to the "SBA Setup page" has disappeared from the configration dropdown on my Admin page. What did I do?

  3. #3443
    Join Date
    Jan 2004
    Location
    N of San Antonio TX
    Posts
    9,157
    Plugin Contributions
    11

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

    Two things

    Any debug files in the logs folder?

    Do you have any footer at the bottom of the page when you try to look at the setup page. https://docs.zen-cart.com/user/troub...ng/blank_page/

  4. #3444
    Join Date
    Jul 2012
    Posts
    16,735
    Plugin Contributions
    17

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

    Quote Originally Posted by frumious View Post
    So, somehow the link to "Dynamic Dropdowns" and the link to the "SBA Setup page" has disappeared from the configration dropdown on my Admin page. What did I do?
    Well, would be nice to understand how it somehow came to be like dbltoe is asking about. But was there a database modification that went wrong? Configure.php file pointing to the wrong database? Accessed an alternate admin directory? Delete some of the language files? Rename files? Sneezed one too many times?

    There are quick fixes, but that's more likely to lead to additional problems down the road, especially if the problem happens again. That quick fix would be to basically reinstall or remove and install. Both plugins support that relatively easily, but if can't identify why it happened then either that or something worse may happen next time..
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

  5. #3445
    Join Date
    Sep 2008
    Location
    Cleethorpes
    Posts
    1,227
    Plugin Contributions
    6

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

    Is there a version of this that will work with 1.5.7d?
    Nick Smith - Venture Design and Print
    https://venturedesignandprint.co.uk

  6. #3446
    Join Date
    Sep 2008
    Location
    Cleethorpes
    Posts
    1,227
    Plugin Contributions
    6

    red flag Re: Stock by Attribute v4.0 addon for v1.3.5-1.3.9

    I found the GITHUB version

    https://github.com/mc12345678/Stock_...butes_Combined

    Tried to install it on 1.5.7d but get this when I try to run http://MYWEBSITE.co.uk/MYADMIN/stock...tr_install.php

    [06-Jul-2022 15:07:18 Europe/London] PHP Fatal error: Cannot redeclare zen_output_string() (previously declared in /home/MYWEBSITE/public_html/MYADMIN/includes/functions/general.php:39) in /home/MYWEBSITE/public_html/includes/functions/functions_general_shared.php on line 40
    Nick Smith - Venture Design and Print
    https://venturedesignandprint.co.uk

  7. #3447
    Join Date
    Jun 2020
    Location
    Scotland
    Posts
    11
    Plugin Contributions
    0

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

    Hi

    Recently updated to SBA Version 1.5.4 for Zen Cart Version 1.5.7d. ebverything works but now generating loads of logs along the lines of :

    PHP Warning: Use of undefined constant STOCK_SET_SBA_NUMRECORDS - assumed 'STOCK_SET_SBA_NUMRECORDS' (this will throw an Error in a future version of PHP) in /includes...
    or:
    --> PHP Warning: Use of undefined constant PRODINFO_ATTRIBUTE_DYNAMIC_STATUS - assumed 'PRODINFO_ATTRIBUTE_DYNAMIC_STATUS' (this will throw an Error in a future version of PHP) in /includes...

    These errors are generated by the various SBA scripts, in fact doing almost anything on y site will generate these errors. hundreds of log files a day... all the same two errors..

    So why are these two constants always undefined? Is thre somewhere i could define them to prevent the errors from occuring ?

    Thanks for any help...

    Kif

  8. #3448
    Join Date
    Jul 2012
    Posts
    16,735
    Plugin Contributions
    17

    Default Re: Stock by Attribute v4.0 addon for v1.3.5-1.3.9

    Quote Originally Posted by Nick1973 View Post
    I found the GITHUB version

    https://github.com/mc12345678/Stock_...butes_Combined

    Tried to install it on 1.5.7d but get this when I try to run http://MYWEBSITE.co.uk/MYADMIN/stock...tr_install.php

    [06-Jul-2022 15:07:18 Europe/London] PHP Fatal error: Cannot redeclare zen_output_string() (previously declared in /home/MYWEBSITE/public_html/MYADMIN/includes/functions/general.php:39) in /home/MYWEBSITE/public_html/includes/functions/functions_general_shared.php on line 40
    The last time that this module had to touch admin/includes/functions files was for support of Zen Cart version 1.5.4 or before. After that point, beginning in Zen Cart 1.5.5, the core code has sufficient features to not require touching those files. Then in 1.5.6 there was no longer a need to touch the catalog functions.

    Somewhere along the way excess code has been brought over to your 1.5.7d installation that is not needed for this module being installed to a clean install.
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

  9. #3449
    Join Date
    Jul 2012
    Posts
    16,735
    Plugin Contributions
    17

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

    Quote Originally Posted by frumious View Post
    Hi

    Recently updated to SBA Version 1.5.4 for Zen Cart Version 1.5.7d. ebverything works but now generating loads of logs along the lines of :

    PHP Warning: Use of undefined constant STOCK_SET_SBA_NUMRECORDS - assumed 'STOCK_SET_SBA_NUMRECORDS' (this will throw an Error in a future version of PHP) in /includes...
    or:
    --> PHP Warning: Use of undefined constant PRODINFO_ATTRIBUTE_DYNAMIC_STATUS - assumed 'PRODINFO_ATTRIBUTE_DYNAMIC_STATUS' (this will throw an Error in a future version of PHP) in /includes...

    These errors are generated by the various SBA scripts, in fact doing almost anything on y site will generate these errors. hundreds of log files a day... all the same two errors..

    So why are these two constants always undefined? Is thre somewhere i could define them to prevent the errors from occuring ?

    Thanks for any help...

    Kif
    Yes, by preforming the install in the admin. Log into your admin, then replace index.php with stock_by_attr_install.php and file the guidance for the install.

    Why are they not otherwise guarded from occurring? Once installed (database updated to support operation) , the problem goes away.
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

  10. #3450
    Join Date
    Jun 2020
    Location
    Scotland
    Posts
    11
    Plugin Contributions
    0

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

    SBA Version 1.5.4 for Zen Cart Version 1.5.7d

    I have installed fresh installation of Zen Cart Version 1.5.7d
    Installed SBA version 1.5.4 from Stock_By_Attributes_Combined-master. Upgraded SBA to 1.5.7.

    Everything workss fine but SBA scripts are producing hundreds of error files. Te errors are always the same and refer to undefined constants

    The error files all contain warnings as follows:

    [22-Aug-2022 22:53:05 UTC] Request URI: /index.php?main_page=product_info&cPath=1&products_id=245, IP address: 54.36.148.174
    #1 products_with_attributes_stock->updateNotifyAttributesModuleStartOptionsLoop() called at [/includes/classes/class.base.php:118]
    #2 base->notify() called at [/includes/modules/attributes.php:152]
    #3 require(/includes/modules/attributes.php) called at [/includes/modules/pages/product_info/main_template_vars.php:50]
    #4 require(/includes/modules/pages/product_info/main_template_vars.php) called at [/includes/templates/default_template/common/tpl_main_page.php:171]
    #5 require(/includes/templates/default_template/common/tpl_main_page.php) called at [/index.php:94]
    --> PHP Warning: Use of undefined constant PRODINFO_ATTRIBUTE_DYNAMIC_STATUS - assumed 'PRODINFO_ATTRIBUTE_DYNAMIC_STATUS' (this will throw an Error in a future version of PHP) in /includes/classes/observers/class.products_with_attributes_stock.php on line 679.

    or

    [22-Aug-2022 22:19:49 UTC] Request URI: /admin/index.php?cmd=products_with_attributes_stock, IP address: 146.70.133.120
    #1 products_with_attributes_stock->displayFilteredRows() called at [/admin/products_with_attributes_stock.php:1506]
    #2 require(/kazadmin/products_with_attributes_stock.php) called at [/admin/index.php:11]
    --> PHP Warning: Use of undefined constant STOCK_SET_SBA_NUMRECORDS - assumed 'STOCK_SET_SBA_NUMRECORDS' (this will throw an Error in a future version of PHP) in /admin/includes/classes/products_with_attributes_stock.php on line 349.

    More often than not the error files contain repetitions of the two warnings above. occasionally the error message may refer to a different undefined constant, but more often thn not it's refering to these two, STOCK_SET_SBA_NUMRECORDS and PRODINFO_ATTRIBUTE_DYNAMIC_STATUS.

    It's just a warning message and i wouldnt normally be overly concerned but its producing hundreds of log files full of the warnings every day and its a tad tedius dealing with them all of the time...

    Any ideas why this is happening or how i might fix it please?

    frumious

 

 

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