Page 297 of 356 FirstFirst ... 197247287295296297298299307347 ... LastLast
Results 2,961 to 2,970 of 3558
  1. #2961
    Join Date
    Jan 2013
    Posts
    811
    Plugin Contributions
    0

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

    now works in different browser

  2. #2962
    Join Date
    Jan 2013
    Posts
    811
    Plugin Contributions
    0

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

    sync option i thought totals up all attributes with stock adds that as total to qty, which i use to show customers green yellow red light depending on available stock, i put stock only on 1 attribute but gave all attributes the same after clicking sync

  3. #2963
    Join Date
    Jan 2013
    Posts
    811
    Plugin Contributions
    0

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

    cant login in using firefox or chrome , just refreshes the page, i can with the e
    Last edited by jimmie; 10 Sep 2018 at 04:30 AM.

  4. #2964
    Join Date
    Jan 2013
    Posts
    811
    Plugin Contributions
    0

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

    im getting this error when i click confirm order
    [10-Sep-2018 13:52:11 America/New_York] PHP Warning: strpos() expects parameter 1 to be string, array given in /var/www/clients/client1/web4/web/WorkSite/includes/classes/shipping.php on line 32
    [10-Sep-2018 13:52:11 America/New_York] PHP Warning: substr() expects parameter 1 to be string, array given in /var/www/clients/client1/web4/web/WorkSite/includes/classes/shipping.php on line 32
    [10-Sep-2018 13:52:11 America/New_York] PHP Warning: strpos() expects parameter 1 to be string, array given in /var/www/clients/client1/web4/web/WorkSite/includes/classes/order.php on line 390
    [10-Sep-2018 13:52:11 America/New_York] PHP Warning: strpos() expects parameter 1 to be string, array given in /var/www/clients/client1/web4/web/WorkSite/includes/modules/order_total/ot_shipping.php on line 41
    [10-Sep-2018 13:52:11 America/New_York] PHP Warning: substr() expects parameter 1 to be string, array given in /var/www/clients/client1/web4/web/WorkSite/includes/modules/order_total/ot_shipping.php on line 41
    [10-Sep-2018 13:52:11 America/New_York] PHP Warning: strpos() expects parameter 1 to be string, array given in /var/www/clients/client1/web4/web/WorkSite/includes/classes/order.php on line 700
    [10-Sep-2018 13:52:11 America/New_York] PHP Warning: addslashes() expects parameter 1 to be string, array given in /var/www/clients/client1/web4/web/WorkSite/includes/functions/functions_general.php on line 861
    [10-Sep-2018 13:52:11 America/New_York] PHP Warning: explode() expects parameter 2 to be string, array given in /var/www/clients/client1/web4/web/WorkSite/includes/classes/observers/class.advshipperCheckoutProcess.php on line 48
    [10-Sep-2018 13:52:11 America/New_York] PHP Warning: explode() expects parameter 2 to be string, array given in /var/www/clients/client1/web4/web/WorkSite/includes/classes/observers/class.sopshipperCheckoutProcess.php on line 48
    [10-Sep-2018 13:52:11 America/New_York] PHP Fatal error: Call to a member function RecordCount() on a non-object in /var/www/clients/client1/web4/web/WorkSite/includes/classes/observers/class.products_with_attributes_stock.php on line 727

  5. #2965
    Join Date
    Jan 2013
    Posts
    811
    Plugin Contributions
    0

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

    getting this error when try to look at orders
    [10-Sep-2018 14:09:17 America/New_York] PHP Fatal error: Call to undefined method order::notify() in /var/www/clients/client1/web4/web/WorkSite/FAKEADMIN/includes/classes/order.php on line 184

  6. #2966
    Join Date
    Jul 2012
    Posts
    16,733
    Plugin Contributions
    17

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

    Quote Originally Posted by jimmie View Post
    im getting this error when i click confirm order
    [10-Sep-2018 13:52:11 America/New_York] PHP Warning: strpos() expects parameter 1 to be string, array given in /var/www/clients/client1/web4/web/WorkSite/includes/classes/shipping.php on line 32
    [10-Sep-2018 13:52:11 America/New_York] PHP Warning: substr() expects parameter 1 to be string, array given in /var/www/clients/client1/web4/web/WorkSite/includes/classes/shipping.php on line 32
    [10-Sep-2018 13:52:11 America/New_York] PHP Warning: strpos() expects parameter 1 to be string, array given in /var/www/clients/client1/web4/web/WorkSite/includes/classes/order.php on line 390
    [10-Sep-2018 13:52:11 America/New_York] PHP Warning: strpos() expects parameter 1 to be string, array given in /var/www/clients/client1/web4/web/WorkSite/includes/modules/order_total/ot_shipping.php on line 41
    [10-Sep-2018 13:52:11 America/New_York] PHP Warning: substr() expects parameter 1 to be string, array given in /var/www/clients/client1/web4/web/WorkSite/includes/modules/order_total/ot_shipping.php on line 41
    [10-Sep-2018 13:52:11 America/New_York] PHP Warning: strpos() expects parameter 1 to be string, array given in /var/www/clients/client1/web4/web/WorkSite/includes/classes/order.php on line 700
    [10-Sep-2018 13:52:11 America/New_York] PHP Warning: addslashes() expects parameter 1 to be string, array given in /var/www/clients/client1/web4/web/WorkSite/includes/functions/functions_general.php on line 861
    [10-Sep-2018 13:52:11 America/New_York] PHP Warning: explode() expects parameter 2 to be string, array given in /var/www/clients/client1/web4/web/WorkSite/includes/classes/observers/class.advshipperCheckoutProcess.php on line 48
    [10-Sep-2018 13:52:11 America/New_York] PHP Warning: explode() expects parameter 2 to be string, array given in /var/www/clients/client1/web4/web/WorkSite/includes/classes/observers/class.sopshipperCheckoutProcess.php on line 48
    [10-Sep-2018 13:52:11 America/New_York] PHP Fatal error: Call to a member function RecordCount() on a non-object in /var/www/clients/client1/web4/web/WorkSite/includes/classes/observers/class.products_with_attributes_stock.php on line 727
    SBA offers one and only one modification to the includes/modules/pages/checkout_confirmation/header_php.php file (which looks like the file that may be associated with this issue). The one change is to add
    Code:
    , $order->products[$i]['attributes'], 'order'
    to the end of the line that starts with:
    Code:
    if ($stock_check[$i] = zen_check_stock($order->products[$i]['id'], $order->products[$i]['qty']
    All of the issues identified above appear to be related to the header file and capturing information from the generated page. The first issue appears to be that the shipping method was stored to the page as an array which seems to cause many of the follow-on issues.

    At any rate, SBA makes the one change identified above and adds changes in two places of the checkout_confirmation template to display some additional information (that information is not required to be on the page to support operation, but helps keep information together as relates to the customid information if desired to be shown.) Technically, if both files were restored to their original condition then SBA would work just fine except for the condition where the person arriving at this page may be permitted to purchase an item that has already run out of stock because a "previous" person purchased it just before the confirmation page was processed.

    What I'm saying is, that while perhaps one of the files from the plugin was used to fully overwrite some existing template file, there really is little from the provided template file that needs to be modified, as such I can not say that there is a specific problem with the plugin, but perhaps a way that it was "introduced" into the store code. Typically should start at the top of the errors and work down, this means that the first issue seen is that line 32 of the shipping class should be receiving a string not an array. After that, pretty much everything else is a result of that issue.
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

  7. #2967
    Join Date
    Jul 2012
    Posts
    16,733
    Plugin Contributions
    17

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

    Quote Originally Posted by jimmie View Post
    getting this error when try to look at orders
    [10-Sep-2018 14:09:17 America/New_York] PHP Fatal error: Call to undefined method order::notify() in /var/www/clients/client1/web4/web/WorkSite/FAKEADMIN/includes/classes/order.php on line 184
    Didn't put a comment in the file, but in:
    admin/includes/classes/order.php
    Change:
    Code:
    class order {
    to:
    Code:
    class order extends base {
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

  8. #2968
    Join Date
    Jan 2013
    Posts
    811
    Plugin Contributions
    0

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

    i believe i now have it working

  9. #2969
    Join Date
    Jul 2012
    Posts
    16,733
    Plugin Contributions
    17

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

    Quote Originally Posted by jimmie View Post
    i believe i now have it working
    Good. What was the cause of all of the messages when clicking on the continue button for the checkout_confirmation page?
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

  10. #2970
    Join Date
    Jan 2013
    Posts
    811
    Plugin Contributions
    0

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

    not really sure, restarted, there are some things i merged that i shouldnt have, this time i merged 1 file at a time, saved, checked site and it is working so im carrying on

 

 

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