Results 1 to 6 of 6

Hybrid View

  1. #1

    help question 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..

  2. #2

    Default 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.

  3. #3
    Join Date
    Jan 2004
    Posts
    66,443
    Plugin Contributions
    279

    Default 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
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  4. #4

    Default Re: PHP error when attempting to Review Payment

    Quote Originally Posted by DrByte View Post
    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.

  5. #5

    Default Re: PHP error when attempting to Review Payment

    Quote Originally Posted by DesignsByMish View Post
    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.


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

  6. #6

    Default 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.

 

 

Similar Threads

  1. v153 Error message when attempting to log in to the admin panel
    By dPerkins in forum Installing on a Linux/Unix Server
    Replies: 13
    Last Post: 9 May 2016, 05:43 AM
  2. Replies: 2
    Last Post: 11 Feb 2010, 09:13 PM
  3. PHP Error when attempting to display all/new items
    By DCDC in forum General Questions
    Replies: 1
    Last Post: 21 Sep 2009, 09:05 PM
  4. 3 different error msgs when checking out (after review payment)
    By crlannen in forum PayPal Express Checkout support
    Replies: 3
    Last Post: 8 Mar 2007, 03:05 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