Results 1 to 2 of 2
  1. #1
    Join Date
    Oct 2008
    Posts
    8
    Plugin Contributions
    0

    Default checkout_shipping hangs with Store Pickup module installed

    Hi.

    I just set up a shop, had everything perfect then added the 'store pickup' shipping module.

    With the module installed, the checkout process won't advance beyond checkout_shipping.

    I get to checkout_shipping, but when I submit the page I see nothing but a blank screen.

    Of course I was doing a few other of mods at the same time, so my first instinct was that I just introduced a bug or that a file had gotten corrupt in transit. Everything was working just fine on my dev machine, just not on the live server.

    It was only after reaching my wit's end where I uninstalled all the payment and shipping modules not on my dev machine, and low and behold, it works.

    Debugging the code, inserting echo statements at various point, I see that checkout shipping is getting to the point where it's firing the function call to redirect to checkout_payment, however the redirect never happens.

    The most telling error message I get is:
    Cannot modify header information - headers already sent by (output started at C:\dev\...\public_html\includes\languages\english\email_extras.php:52) in C:\dev\...public_html\includes\functions\functions_general.php on line 43.

    Line 43 happens to where the redirect occurs. Yet it never happens.

    Has anyone has a similar experience with store pickup?

    Any advice on debugging?

    Am I running COWOA and have overidden order.php to include a separate 'Gift Message' that appears below the 'Comments' text area on the checkout pages.

    Thanks,
    Chris

  2. #2
    Join Date
    Oct 2008
    Posts
    8
    Plugin Contributions
    0

    Default Re: checkout_shipping hangs with Store Pickup module installed

    Problem solved.

    Dr Byte's Debug Error-Logging Utility for PHP and Zen Cart, as seen in this forum sticky, immediately pinpointed the error:

    http://www.zen-cart.com/forum/showthread.php?t=846

    Note to self: read more stickies.

    Anyway, the error:
    [17-Oct-2008 19:49:00] PHP Warning: Cannot modify header information - headers already sent by (output started at C:\dev\...\public_html\includes\languages\english\modules\shipping\storepickup.p hp:33) in C:\dev\...\public_html\includes\functions\functions_general.php on line 44

    was quickly solved by replacing the file (I copied clean files to the 'shipping' and overrides directory and was back in business.

    It appears the file may of been corrupt when I FTP'd a copy of the languages directory from the live site

    Great tool.

 

 

Similar Threads

  1. v153 Store Pickup Module Not Working with Zone Specification
    By themusicstore in forum Built-in Shipping and Payment Modules
    Replies: 5
    Last Post: 1 Jun 2015, 09:27 PM
  2. v150 Problem with taxes and Store Pickup shipping module
    By smartino in forum Bug Reports
    Replies: 13
    Last Post: 6 Apr 2015, 05:44 PM
  3. v150 Store Pickup Module Issues
    By shamanicconnection in forum Built-in Shipping and Payment Modules
    Replies: 0
    Last Post: 22 Aug 2012, 12:42 AM
  4. duplicate store pickup module?
    By ian healy in forum Built-in Shipping and Payment Modules
    Replies: 6
    Last Post: 14 Jun 2010, 06:03 PM
  5. Store Pickup module
    By scrapperstoolbox in forum Built-in Shipping and Payment Modules
    Replies: 0
    Last Post: 30 Aug 2006, 12:47 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