Zen Cart Logo
Forums / General Questions / PHP error when attempting to Review Payment

PHP error when attempting to Review Payment

Locked

Views: 1,099

Results 1 to 6 of 6
This thread is locked. New replies are disabled.
7 Mar 2007, 12:43 AM
#1
designsbymish avatar

designsbymish

New Zenner

Join Date:
Mar 2007
Posts:
7
Plugin Contributions:
0

PHP error when attempting to Review Payment

I'm not the PHP type, I'm the HTML type unfortunately and I'm a bit lost. I had a friend attempt to order from my shop and she told me it failed when she got to review payment. Fortunately though, she's sent me the error she received:

Warning: reset() [function.reset]: Passed variable is not an array or object in /home/pwylwccq/public_html/store/includes/modules/order_total/ot_tax.php on line 38

Warning: Variable passed to each() is not an array or object in /home/pwylwccq/public_html/store/includes/modules/order_total/ot_tax.php on line 39

Warning: Cannot modify header information - headers already sent by (output started at /home/pwylwccq/public_html/store/includes/modules/order_total/ot_tax.php:38) in /home/pwylwccq/public_html/store/includes/functions/functions_general.php on line 44

I've only done one other sale in my shop since I got ZenCart running and had no problems with it. I thought I might have set something wrong in my taxes or something, but I can't for the life of me see where. ANY help would be appreciated! Thanks for listening..

7 Mar 2007, 1:09 AM
#2
designsbymish avatar

designsbymish

New Zenner

Join Date:
Mar 2007
Posts:
7
Plugin Contributions:
0

Re: PHP error when attempting to Review Payment

Oh, forgot to mention, I have not been able to duplicate the error with my test profile.

7 Mar 2007, 4:47 AM
#3
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: PHP error when attempting to Review Payment

If she was using PayPal Express Checkout at the time this happened, then you need to apply the latest PPEC patch for v1.3.7:
http://www.zen-cart.com/forum/showthread.php?t=56216

7 Mar 2007, 9:31 PM
#4
designsbymish avatar

designsbymish

New Zenner

Join Date:
Mar 2007
Posts:
7
Plugin Contributions:
0

Re: PHP error when attempting to Review Payment

DrByte:

If she was using PayPal Express Checkout at the time this happened, then you need to apply the latest PPEC patch for v1.3.7:
http://www.zen-cart.com/forum/showthread.php?t=56216

I've loaded the patch, same problem. She's tried IE and Firefox as well as the two different Paypal options (one listed as Paypal IPN and the other as Pay now with Paypal with a button in my checkout).

She sent me a screen shot of when she gets the error, it's when she clicks the Pay Now button that she still gets the same errors as in my top post.

Here's the screen shot: http://www.torn-wings.net/images/mish.gif

I am so totally at a loss.

8 Mar 2007, 1:20 AM
#5
designsbymish avatar

designsbymish

New Zenner

Join Date:
Mar 2007
Posts:
7
Plugin Contributions:
0

Re: PHP error when attempting to Review Payment

DesignsByMish:

I've loaded the patch, same problem. She's tried IE and Firefox as well as the two different Paypal options (one listed as Paypal IPN and the other as Pay now with Paypal with a button in my checkout).

She sent me a screen shot of when she gets the error, it's when she clicks the Pay Now button that she still gets the same errors as in my top post.

Here's the screen shot: http://www.torn-wings.net/images/mish.gif

I am so totally at a loss.

:oops:

Gonna call a time out on myself here!

I realized I did not apply the entire patch (as I went to REDO it). My web store is not my day job yet...that's what I get for working on it at six in the morning...I'll be back if it doesn't work.

I don't mean to keep bumping myself, but since I can't edit my old posts...

5 May 2007, 12:37 AM
#6
designsbymish avatar

designsbymish

New Zenner

Join Date:
Mar 2007
Posts:
7
Plugin Contributions:
0

Re: PHP error when attempting to Review Payment

I try to fix one thing and break another. Uploaded the most recent patches, and now I cannot access my admin panel though the store is still up. Before I uploaded the patches and Paypal patches to fix the previous problem, I had no Paypal module when I thought I did previously..

Anyway, this is my new error message:

Warning: main() [function.main]: open_basedir restriction in effect. File(/includes/autoload_func.php) is not within the allowed path(s): (/home/pwylwccq:/usr/lib/php:/usr/local/lib/php:/tmp) in /home/pwylwccq/public_html/store/admin/includes/application_top.php on line 147

Warning: main(/includes/autoload_func.php) [function.main]: failed to open stream: Operation not permitted in /home/pwylwccq/public_html/store/admin/includes/application_top.php on line 147

Warning: main() [function.main]: open_basedir restriction in effect. File(/includes/autoload_func.php) is not within the allowed path(s): (/home/pwylwccq:/usr/lib/php:/usr/local/lib/php:/tmp) in /home/pwylwccq/public_html/store/admin/includes/application_top.php on line 147

Warning: main(/includes/autoload_func.php) [function.main]: failed to open stream: Operation not permitted in /home/pwylwccq/public_html/store/admin/includes/application_top.php on line 147

Fatal error: main() [function.require]: Failed opening required '/includes/autoload_func.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/pwylwccq/public_html/store/admin/includes/application_top.php on line 147

I've half a mind to do a fresh install and redo everything from scratch.