Page 20 of 67 FirstFirst ... 10181920212230 ... LastLast
Results 191 to 200 of 663
  1. #191
    Join Date
    Feb 2007
    Posts
    15
    Plugin Contributions
    1

    Default Re: Recover Cart

    Hello, Just thought I would ask my question again in hopes that someone will be able to assist, here it is:

    Hello, I just upgraded from the old version or recover cart sales to the new version of recover cart sales version and I am using zen cart 1.3.7 and PHP Version 5.05 and MySQL Version 5.0.27 and I am getting the following error message:

    Warning: strtotime() [function.strtotime]: Called with an empty time parameter. in /home/MYUSERNAME/public_html/admin/recover_cart_sales.php on line 381

    Besides all the errors it appears that the program is working since under all the errors I see all the customers and their abandoned carts.

    The error message goes away after I contact the customer, so the error only shows on uncontacted customers.

    I hope someone can please help me.

    Thank you.

  2. #192
    Join Date
    Sep 2004
    Posts
    2,420
    Plugin Contributions
    2

    Default Re: Recover Cart

    Camay, Liberty, 100asa

    I'm not sure but a Zen Cart bug fix was posted this past summer related to errors such as you all are reporting. Maybe this relates to your issue (or maybe it does not). Search Bug Reports forum area on "foreach()" or something that relates to the error message.

    Woody

  3. #193
    Join Date
    Sep 2004
    Posts
    2,420
    Plugin Contributions
    2

    Default Re: Recover Cart

    Quote Originally Posted by xlr82quik View Post
    I am using zen cart 1.3.7 and PHP Version 5.05 and MySQL Version 5.0.27 and I am getting the following error message:

    Warning: strtotime() [function.strtotime]: Called with an empty time parameter. in /home/MYUSERNAME/public_html/admin/recover_cart_sales.php on line 381

    The error message goes away after I contact the customer, so the error only shows on uncontacted customers.
    I have observed the latest RCS mod version having issues with various datetime functions. Just before Andrew disappeared from the Zen Cart scene he added some new mod functionality but bugs were not fully vetted before he went MIA.

    I have just decided to live with the issues as I do not have the coding chops to repair.

    It indeed may be related to a MySQL and/or PHP version compatibility issue.

    Woody

  4. #194
    Join Date
    Aug 2007
    Posts
    277
    Plugin Contributions
    0

    Default Re: Recover Cart

    can anyone tell me how to do the patch in admin>patch mysql?

    the readme instructions tells me to patch but did not specify how to patch. specific and detailed instructions would be greatly appreciated. I do not know

    p.s. how to use MySQL.

  5. #195
    kelvyn Guest

    Default Re: Recover Cart

    Quote Originally Posted by twi View Post
    can anyone tell me how to do the patch in admin>patch mysql?

    the readme instructions tells me to patch but did not specify how to patch. specific and detailed instructions would be greatly appreciated. I do not know

    p.s. how to use MySQL.
    ADMIN>TOOLS>INSTALL SQL PATCHES - paste the code and then press SEND!
    (backup first!)

  6. #196
    Join Date
    Aug 2007
    Posts
    277
    Plugin Contributions
    0

    Default Re: Recover Cart

    you mean to paste in and the click send (four times) for each of the following below?:


    scartid int(11) NOT NULL auto_increment,

    customers_id int(11) NOT NULL default '0',

    dateadded varchar(8) NOT NULL default '',

    datemodified varchar(8) NOT NULL default '',


  7. #197
    Join Date
    Nov 2005
    Location
    Colorado Springs, CO USA
    Posts
    7,033
    Plugin Contributions
    31

    Default Re: Recover Cart

    Quote Originally Posted by twi View Post
    you mean to paste in and the click send (four times) for each of the following below?:


    scartid int(11) NOT NULL auto_increment,

    customers_id int(11) NOT NULL default '0',

    dateadded varchar(8) NOT NULL default '',

    datemodified varchar(8) NOT NULL default '',

    open the sql script in your text editor and then select all

    copy the entire sql script

    paste it into admin -> tools -> install sql patches and press the send button

  8. #198
    Join Date
    Aug 2007
    Posts
    277
    Plugin Contributions
    0

    Default Re: Recover Cart

    Thanks

  9. #199
    Join Date
    Aug 2004
    Location
    Saint Petersburg, Russia
    Posts
    1,786
    Plugin Contributions
    13

    Default Re: Recover Cart

    This script requires the full processing. I love the idea of the script, but did not like how it is programmed.
    Since I am no longer using this release, I have got only two corrections to the above errors.

    recover_cart_sales.php
    Find:
    Code:
    if ((time()-(RCS_EMAIL_TTL*24*60*60)) <= strtotime($basket->fields['datemodified'])) {
    Replace by
    Code:
    if ($basket->fields['datemodified'] != '' && (time()-(RCS_EMAIL_TTL*24*60*60)) <= strtotime($basket->fields['datemodified'])) {
    stats_recover_cart_sales.php
    Find:
    Code:
    $custlist = '';
    Add below
    Code:
    $cust_array = array();

  10. #200
    Join Date
    Sep 2004
    Posts
    2,420
    Plugin Contributions
    2

    Default Re: Recover Cart

    Thanks Andrew for the patch.

    To anyone else who wishes to work on improving or fixing bugs in this mod...

    Just to report that after a cart is "recovered", in ZC admin under "Reports" > Recovered Sales Results", the "order date" displays correctly but the "date added to SC" and "RC email sent" are incorrect.

    I added Andrew's patch but it did not appear to affect/correct this issue. Likely some other datetime functions are either translating the datetime entry incorrectly when being read from the DB or the datetime is incorrectly written to the database.

    Also in ZC admin, under "Tools" > "Recover Cart Sales" I observe a few "ghost" entries, that is entries without a customer name attached. And sometimes an entry has no "Cart Total" or "Set Contacted" link or "delete" button associated with it.

    Woody

 

 
Page 20 of 67 FirstFirst ... 10181920212230 ... LastLast

Similar Threads

  1. Shipping Rates in Cart [support thread]
    By Steven300 in forum Addon Shipping Modules
    Replies: 95
    Last Post: 12 May 2023, 02:39 AM
  2. Shopping Cart Steps Images [Support Thread]
    By Trinity14 in forum Addon Templates
    Replies: 21
    Last Post: 11 Apr 2021, 05:35 AM
  3. v151 AJAX Add to Cart [Support Thread]
    By balihr in forum All Other Contributions/Addons
    Replies: 133
    Last Post: 20 Oct 2020, 02:16 AM
  4. Empty Cart Manager [support thread]
    By Steven300 in forum All Other Contributions/Addons
    Replies: 49
    Last Post: 26 May 2010, 10:26 AM

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