Zen Cart Logo
Forums / General Questions / checkout_shipping hangs with Store Pickup module installed

checkout_shipping hangs with Store Pickup module installed

Locked

Views: 881

Results 1 to 2 of 2
This thread is locked. New replies are disabled.
18 Oct 2008, 12:25 AM
#1
cgee avatar

cgee

New Zenner

Join Date:
Oct 2008
Posts:
8
Plugin Contributions:
0

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

18 Oct 2008, 3:13 AM
#2
cgee avatar

cgee

New Zenner

Join Date:
Oct 2008
Posts:
8
Plugin Contributions:
0

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.php: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.