Thread: Error

Page 1 of 2 12 LastLast
Results 1 to 10 of 12
  1. #1
    Join Date
    Sep 2005
    Posts
    912
    Plugin Contributions
    1

    Default Error

    checkout with paypal takes me to this page

    http://www.cnt-gifts.com/ipn_main_handler.php?type=ec

    with these errors

    Warning: Missing argument 3 for _errorhandler() in /home/chris/public_html/includes/modules/payment/paypalwpp.php on line 2447

    Warning: Cannot modify header information - headers already sent by (output started at /home/chris/public_html/includes/modules/payment/paypalwpp.php:2447) in /home/chris/public_html/includes/modules/payment/paypalwpp.php on line 1492

    Warning: Cannot modify header information - headers already sent by (output started at /home/chris/public_html/includes/modules/payment/paypalwpp.php:2447) in /home/chris/public_html/includes/functions/functions_general.php on line 44

  2. #2
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Error

    There was an error that has been corrected in the download that you might look into ...

    http://www.zen-cart.com/forum/showthread.php?t=54615
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today: v1.5.5]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  3. #3
    Join Date
    Jan 2007
    Posts
    2
    Plugin Contributions
    0

    Default Re: Error

    Hello, I recently installed Zen Cart 1.3.7 to use the Paypal Express Checkout and encountered the following error

    Warning: array_merge() [function.array-merge]: Argument #1 is not an array in includes/modules/payment/paypalwpp.php on line 1467

    I commented out the offending line because it seemed like it was merely doing some logging and encountered the following errors

    Warning: reset() [function.reset]: Passed variable is not an array or object in includes/modules/order_total/ot_group_pricing.php on line 77

    Warning: Variable passed to each() is not an array or object in includes/modules/order_total/ot_group_pricing.php on line 78

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

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

    Any help is greatly appreciated. Thank you.
    Last edited by vicknesh; 5 Jan 2007 at 05:27 AM.

  4. #4
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Error

    You might check if the update DrByte posted that is being tested right now helps you ...

    http://www.zen-cart.com/forum/showth...246#post309246

    Do let us know ...
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today: v1.5.5]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  5. #5
    Join Date
    Jan 2006
    Location
    Montreal, QC, Canada
    Posts
    39
    Plugin Contributions
    0

    Default Re: Error

    Hi all:

    I'm having the same "argument is not an array" error as vicknesh on an upgraded 1.3.7 install (http://www.secrest.ca). It's a canadian site with a bunch of regional tax rules...could this be the cause?

    I've tried DrByte's update mentioned by Ajeh, but it didn't solve the problem.

    Thanks for your help!

    Matt

  6. #6
    Join Date
    Jan 2004
    Posts
    66,378
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: Error

    I just updated the ZIP in the post Ajeh mentioned. This contains some more fixes that may help you in your unique situation.
    .

    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.

  7. #7
    Join Date
    Jan 2007
    Posts
    2
    Plugin Contributions
    0

    Default Re: Error

    Hi DrByte, I've tested the new file and all the problems seems to be solved. Thx and keep up the good work.

  8. #8
    Join Date
    Jan 2006
    Location
    Montreal, QC, Canada
    Posts
    39
    Plugin Contributions
    0

    Default Re: Error

    Thanks Dr. Byte. That new update worked perfectly.

  9. #9
    Join Date
    Dec 2006
    Posts
    3
    Plugin Contributions
    0

    Default Re: Error

    I implemented the patch that Dr. Byte provided but I'm getting the following error email:

    In function: ec_step1()

    Value List:
    array (
    'LOCALECODE' => 'US',
    'PAYMENTACTION' => 'Sale',
    'AMT' => '240.00',
    'RETURNURL' =>
    'https://www.geomangear.com/sandbox/ipn_main_handler.php?type=ec',
    'CANCELURL' =>
    'https://www.geomangear.com/sandbox/index.php?main_page=login&ec_cancel=1',
    'PAGESTYLE' => 'Primary',
    'METHOD' => 'SetExpressCheckout',
    'CURRENCYCODE' => 'USD',
    'USER' => 'hiding_api1.mydomain.com',
    'PWD' => '****************',
    'VERSION' => '2.3',
    'SIGNATURE' => '****************************************************yUHw',
    )

    Response:
    Array
    (
    [TIMESTAMP] => 2007-01-29T01:41:06Z
    [CORRELATIONID] => 5a82c17530c63
    [ACK] => Failure
    [L_ERRORCODE0] => 10002
    [L_SHORTMESSAGE0] => Security error
    [L_LONGMESSAGE0] => Security header is not valid
    [L_SEVERITYCODE0] => Error
    [VERSION] => 2.300000
    [BUILD] => 1.0006
    )



    Session data: Array
    (
    [customers_host_address] => 71-33-48-94.albq.qwest.net
    [cartID] =>
    [cart] => shoppingCart Object
    (
    [contents] => Array
    (
    [85:a35d08bdc33405e12cabe6d0c7ce97b2] => Array
    (
    [qty] => 1
    [attributes] => Array
    (
    [1] => 16
    [2] => 20
    )

    )

    )

    [total] => 240
    [weight] => 1
    [cartID] => 92027
    [content_type] => physical
    [free_shipping_item] => 0
    [free_shipping_weight] => 0
    [free_shipping_price] => 0
    [observers] => Array
    (
    )

    )

    [navigation] => navigationHistory Object
    (
    [path] => Array
    (
    [0] => Array
    (
    [page] => index
    [mode] => SSL
    [get] => Array
    (
    [type] => ec
    )

    [post] => Array
    (
    )

    )

    )

    [snapshot] => Array
    (
    [page] => index
    [mode] => NONSSL
    [get] => Array
    (
    [type] => ec
    )

    [post] => Array
    (
    )

    )

    [observers] => Array
    (
    )

    )

    [check_valid] => true
    [language] => english
    [languages_id] => 1
    [languages_code] => en
    [currency] => USD
    [updateExpirations] => 1
    [session_counter] => 1
    [customers_ip_address] => 71.33.48.94
    [new_products_id_in_cart] =>
    [valid_to_checkout] => 1
    [cart_errors] =>
    [payment] => paypalwpp
    [cot_gv] => 0.00
    [messageToStack] =>
    )


    Any ideas what is causing the problem? I keep getting the following error message on the webpage when I try to checkout:



    Warning: array_merge() [function.array-merge]: Argument #1 is not an array in /home/geomange/public_html/sandbox/includes/modules/payment/paypalwpp.php on line 1467



    Warning: array_merge() [function.array-merge]: Argument #2 is not an array in /home/geomange/public_html/sandbox/includes/modules/payment/paypalwpp.php on line 1467



    Warning: Cannot modify header information - headers already sent
    by (output started at
    /home/geomange/public_html/sandbox/includes/modules/payment/paypalwpp.php:1467)
    in /home/geomange/public_html/sandbox/includes/functions/functions_general.php on line 44

  10. #10
    Join Date
    Dec 2006
    Posts
    3
    Plugin Contributions
    0

    Default Re: Error

    I'm also getting this error in the SetExpressCheckout error email that is sent to me.

    Response: array (
    'TIMESTAMP' => '2007-01-29T01:41:06Z',
    'CORRELATIONID' => '5a82c17530c63',
    'ACK' => 'Failure',
    'L_ERRORCODE0' => '10002',
    'L_SHORTMESSAGE0' => 'Security error',
    'L_LONGMESSAGE0' => 'Security header is not valid',
    'L_SEVERITYCODE0' => 'Error',
    'VERSION' => '2.300000',
    'BUILD' => '1.0006',
    )

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. Replies: 2
    Last Post: 15 Feb 2012, 09:08 PM
  2. v139f Shopping Cart error: HTTP Error 500 (Internal Server Error)
    By Tulameen in forum General Questions
    Replies: 0
    Last Post: 15 Jan 2012, 01:48 AM
  3. UPS XML Error: cURL: Error [77]: error setting certificate verify locations
    By ultraloveninja in forum Addon Shipping Modules
    Replies: 3
    Last Post: 30 Nov 2009, 03:55 AM
  4. Replies: 4
    Last Post: 30 Aug 2009, 09:26 PM
  5. Replies: 9
    Last Post: 30 Mar 2009, 06:50 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