Page 2 of 3 FirstFirst 123 LastLast
Results 11 to 20 of 21
  1. #11
    Join Date
    Nov 2005
    Location
    los angeles
    Posts
    2,682
    Plugin Contributions
    9

    Default Re: Help with a couple of error logs (Create Account & Dirbankaus)

    change:

    PHP Code:
    // from:
    if ( ($this->enabled == true) && ((int)MODULE_PAYMENT_DIRBANKAUS_ZONE 0) ) {
    // to:
    if ( ($this->enabled == true) && ((int)MODULE_PAYMENT_DIRBANKAUS_ZONE 0) && (!IS_ADMIN_FLAG) ) { 
    best.
    author of square Webpay.
    mxWorks has premium plugins. donations: venmo or paypal accepted.
    premium consistent excellent support. available for hire.

  2. #12
    Join Date
    Nov 2006
    Location
    Sydney, Australia
    Posts
    458
    Plugin Contributions
    1

    Default Re: Help with a couple of error logs (Create Account & Dirbankaus)

    Quote Originally Posted by carlwhat View Post
    you can change your fax line to:
    PHP Code:
    $fax = isset($_POST['fax']) ? zen_db_prepare_input($_POST['fax']) : ''
    Thank you very much as usual, I implemented your suggestions and seems to be going well, except the fax one, it seems to be showing same error now but on a different line:

    Line 282: array('fieldName'=>'customers_fax', 'value'=>$fax, 'type'=>'stringIgnoreNull'),

    I really am NEVER going to turn on the FAX section so don't really care if it's there!

  3. #13
    Join Date
    Nov 2005
    Location
    los angeles
    Posts
    2,682
    Plugin Contributions
    9

    Default Re: Help with a couple of error logs (Create Account & Dirbankaus)

    please post the full error log.
    author of square Webpay.
    mxWorks has premium plugins. donations: venmo or paypal accepted.
    premium consistent excellent support. available for hire.

  4. #14
    Join Date
    Nov 2005
    Location
    los angeles
    Posts
    2,682
    Plugin Contributions
    9

    Default Re: Help with a couple of error logs (Create Account & Dirbankaus)

    Quote Originally Posted by rlexyd View Post
    Thank you very much as usual, I implemented your suggestions and seems to be going well, except the fax one, it seems to be showing same error now but on a different line:

    Line 282: array('fieldName'=>'customers_fax', 'value'=>$fax, 'type'=>'stringIgnoreNull'),

    I really am NEVER going to turn on the FAX section so don't really care if it's there!
    i would double check your work. i see no problem with the code. you may have typed something wrong.

    you can comment out line 282 with no ill effect as well.

    PHP Code:
    //from:
                                 
    array('fieldName'=>'customers_fax''value'=>$fax'type'=>'stringIgnoreNull'),
    //to:
    //                           array('fieldName'=>'customers_fax', 'value'=>$fax, 'type'=>'stringIgnoreNull'), 
    HOWEVER, i would read up on overriding modules. here:

    https://docs.zen-cart.com/user/new_u...ics/overrides/

    it will make your life easier come upgrade time.

    best.
    author of square Webpay.
    mxWorks has premium plugins. donations: venmo or paypal accepted.
    premium consistent excellent support. available for hire.

  5. #15
    Join Date
    Nov 2006
    Location
    Sydney, Australia
    Posts
    458
    Plugin Contributions
    1

    Default Re: Help with a couple of error logs (Create Account & Dirbankaus)

    Quote Originally Posted by carlwhat View Post
    please post the full error log.
    Here is the full error log:


    [15-Aug-2021 15:47:30 Australia/Sydney] Request URI: /index.php?main_page=create_account, IP address: 60.
    #1 include(/includes/modules/create_account.php) called at [/includes/modules/pages/create_account/header_php.php:17]
    #2 require(/includes/modules/pages/create_account/header_php.php) called at [/index.php:35]
    --> PHP Notice: Undefined variable: fax in /includes/modules/create_account.php on line 282.


    Line 282: array('fieldName'=>'customers_fax', 'value'=>$fax, 'type'=>'stringIgnoreNull'),

  6. #16
    Join Date
    Nov 2006
    Location
    Sydney, Australia
    Posts
    458
    Plugin Contributions
    1

    Default Re: Help with a couple of error logs (Create Account & Dirbankaus)

    5th Error Log: (I know it's more than a couple, but I'm clueless with these, I searched on the forum with not much luck).
    This could be a normal error from zen cart operation or something else.

    I have PayPal Website Payments Standard and Bank Payment as the only two payment modules activated.

    Code:
    [15-Aug-2021 19:04:07 Australia/Sydney] Request URI: /ipn_main_handler.php, IP address: 173.0.
    --> PHP Notice: Undefined index: ppdebug in /ipn_main_handler.php on line 119.
    
    [15-Aug-2021 19:04:08 Australia/Sydney] Request URI: /ipn_main_handler.php, IP address: 173.0.
    --> PHP Notice: Undefined index: exchange_rate in /ipn_main_handler.php on line 154.
    
    [15-Aug-2021 19:04:08 Australia/Sydney] Request URI: /ipn_main_handler.php, IP address: 173.0.
    --> PHP Notice: Undefined index: num_cart_items in /ipn_main_handler.php on line 155.
    
    [15-Aug-2021 19:04:08 Australia/Sydney] Request URI: /ipn_main_handler.php, IP address: 173.0.
    --> PHP Notice: Undefined index: settle_amount in /ipn_main_handler.php on line 156.
    
    
    [15-Aug-2021 19:04:08 Australia/Sydney] Request URI: /ipn_main_handler.php, IP address: 173.0.
    --> PHP Notice: Undefined index: parent_txn_id in /ipn_main_handler.php on line 181.
    
    [15-Aug-2021 19:04:08 Australia/Sydney] Request URI: /ipn_main_handler.php, IP address: 173.0.
    --> PHP Notice: Undefined index: auth_status in /ipn_main_handler.php on line 184.
    The php line codes on these are:

    Line 119: (defined('MODULE_PAYMENT_PAYPAL_IPN_DEBUG') && strstr(MODULE_PAYMENT_PAYPAL_IPN_DEBUG, 'Log')) ||
    ($_REQUEST['ppdebug'] == 'on' && strstr(EXCLUDE_ADMIN_IP_FOR_MAINTENANCE, $_SERVER['REMOTE_ADDR'])) || $extraDebug )

    Lines 153, 154, 155, 156:
    ipn_debug_email('Breakpoint: 2 - Validated transaction components');
    if ($_POST['exchange_rate'] == '') $_POST['exchange_rate'] = 1;
    if ($_POST['num_cart_items'] == '') $_POST['num_cart_items'] = 1;
    if ($_POST['settle_amount'] == '') $_POST['settle_amount'] = 0;

    Line 181: ipn_debug_email('Breakpoint: 4 - ' . 'Details: txn_type=' . $txn_type . ' ordersID = '. $ordersID . ' IPN_id=' . $paypalipnID . "\n\n" . ' Relevant data from POST:' . "\n " . 'txn_type = ' . $txn_type . "\n " . 'parent_txn_id = ' . ($_POST['parent_txn_id'] =='' ? 'None' : $_POST['parent_txn_id']) . "\n " . 'txn_id = ' . $_POST['txn_id']);

    Line 184: if ($_POST['auth_status'] === 'Expired' && $_POST['txn_type'] === 'web_accept') {
    *Zen Cart eCommerce Solution - Putting the Dream of Owning an Online Business within reach of anyone!

  7. #17
    Join Date
    Nov 2006
    Location
    Sydney, Australia
    Posts
    458
    Plugin Contributions
    1

    Default Re: Help with a couple of error logs (Create Account & Dirbankaus)

    Quote Originally Posted by carlwhat View Post
    i would double check your work. i see no problem with the code. you may have typed something wrong.
    you can comment out line 282 with no ill effect as well.
    You are 100% Correct, while adding your adjusted code, I commented out the original one but did not do it correctly
    I re-checked and corrected it and also commented out line 282 just to be safe.
    Thank You once again!

  8. #18
    Join Date
    Nov 2006
    Location
    Sydney, Australia
    Posts
    458
    Plugin Contributions
    1

    Default Re: Help with a couple of error logs (Create Account & Dirbankaus)

    I've just done a PayPal order and it all seemed to have gone well on the store front, but I got more PayPal error logs:
    (/ipn_main_handler.php, includes/modules/payment/paypal/paypal_functions.php, includes/modules/payment/paypal.php, includes/classes/payment.php & includes/modules/pages/checkout_process/header_php.php... are ALL original Zen Cart 1.5.7c files.)
    Code:
    [16-Aug-2021 11:00:23 Australia/Sydney] Request URI: /ipn_main_handler.php, IP address: 173.0.
    --> PHP Notice: Undefined index: ppdebug in /ipn_main_handler.php on line 119.
    
    [16-Aug-2021 11:00:24 Australia/Sydney] Request URI: /ipn_main_handler.php, IP address: 173.0.
    --> PHP Notice: Undefined index: exchange_rate in /ipn_main_handler.php on line 154.
    
     Request URI: /ipn_main_handler.php, IP address: 173.0.
    --> PHP Notice: Undefined index: settle_amount in /ipn_main_handler.php on line 156.
    
     Request URI: /ipn_main_handler.php, IP address: 173.0.
    --> PHP Notice: Undefined index: parent_txn_id in /ipn_main_handler.php on line 181.
    
     Request URI: /ipn_main_handler.php, IP address: 173.0.
    --> PHP Notice: Undefined index: auth_status in /ipn_main_handler.php on line 184.
    
    [16-Aug-2021 11:00:34 Australia/Sydney] Request URI: /ipn_main_handler.php, IP address: 173.0.
    #1  ipn_create_order_array() called at [/ipn_main_handler.php:321]
    --> PHP Notice: Undefined index: reason_code in /includes/modules/payment/paypal/paypal_functions.php on line 278.
    
     Request URI: /ipn_main_handler.php, IP address: 173.0.
    #1  ipn_create_order_array() called at [/ipn_main_handler.php:321]
    --> PHP Notice: Undefined index: pending_reason in /includes/modules/payment/paypal/paypal_functions.php on line 281.
    
     Request URI: /ipn_main_handler.php, IP address: 173.0.
    #1  ipn_create_order_array() called at [/ipn_main_handler.php:321]
    --> PHP Notice: Undefined index: invoice in /includes/modules/payment/paypal/paypal_functions.php on line 282.
    
     Request URI: /ipn_main_handler.php, IP address: 173.0.
    #1  ipn_create_order_array() called at [/ipn_main_handler.php:321]
    --> PHP Notice: Undefined index: payer_business_name in /includes/modules/payment/paypal/paypal_functions.php on line 286.
    
     Request URI: /ipn_main_handler.php, IP address: 173.0.
    #1  ipn_create_order_array() called at [/ipn_main_handler.php:321]
    --> PHP Notice: Undefined index: parent_txn_id in /includes/modules/payment/paypal/paypal_functions.php on line 302.
    
     Request URI: /ipn_main_handler.php, IP address: 173.0.
    #1  ipn_create_order_array() called at [/ipn_main_handler.php:321]
    --> PHP Notice: Undefined index: settle_currency in /includes/modules/payment/paypal/paypal_functions.php on line 307.
    
     Request URI: /ipn_main_handler.php, IP address: 173.0.
    #1  ipn_create_order_history_array() called at [/ipn_main_handler.php:328]
    --> PHP Notice: Undefined index: parent_txn_id in /includes/modules/payment/paypal/paypal_functions.php on line 324.
    
     Request URI: /ipn_main_handler.php, IP address: 173.0.
    #1  ipn_create_order_history_array() called at [/ipn_main_handler.php:328]
    --> PHP Notice: Undefined index: pending_reason in /includes/modules/payment/paypal/paypal_functions.php on line 326.
    
     Request URI: /ipn_main_handler.php, IP address: 173.0.
    --> PHP Notice: Undefined index: pending_reason in /ipn_main_handler.php on line 339.
    
     Request URI: /ipn_main_handler.php, IP address: 173.0.
    --> PHP Notice: Undefined index: parent_txn_id in /ipn_main_handler.php on line 339.
    
     Request URI: /ipn_main_handler.php, IP address: 173.0.
    --> PHP Notice: Undefined property: ot_subtotal::$credit_class in /ipn_main_handler.php on line 362.
    
     Request URI: /ipn_main_handler.php, IP address: 173.0.
    --> PHP Notice: Undefined property: ot_shipping::$credit_class in /ipn_main_handler.php on line 362.
    
     Request URI: /ipn_main_handler.php, IP address: 173.0.
    --> PHP Notice: Undefined property: ot_total::$credit_class in /ipn_main_handler.php on line 362.
    
     Request URI: /ipn_main_handler.php, IP address: 173.0.
    --> PHP Notice: Undefined index: orders_status in /ipn_main_handler.php on line 380.
    
     Request URI: /ipn_main_handler.php, IP address: 173.0.
    --> PHP Notice: Undefined variable: otax in /ipn_main_handler.php on line 381.
    Another Error Log around the same time:
    Code:
     Request URI: /index.php?main_page=checkout_process&referer=paypal&amt=30.00&cc=AUD&cm=zenid=Completed&tx=6P, IP address: 60.
    #1  paypal->after_process() called at [/includes/classes/payment.php:261]
    #2  payment->after_process() called at [/includes/modules/pages/checkout_process/header_php.php:17]
    #3  require(/includes/modules/pages/checkout_process/header_php.php) called at [/index.php:35]
    --> PHP Notice: Undefined index: reasoncode in /includes/modules/payment/paypal.php on line 434.
    
     Request URI: /index.php?main_page=checkout_process&referer=paypal&amt=30.00&cc=AUD&cm=zenid=Completed&tx=6P, IP address: 60.
    #1  paypal->after_process() called at [/includes/classes/payment.php:261]
    #2  payment->after_process() called at [/includes/modules/pages/checkout_process/header_php.php:17]
    #3  require(/includes/modules/pages/checkout_process/header_php.php) called at [/index.php:35]
    --> PHP Notice: Undefined index: pendingreason in /includes/modules/payment/paypal.php on line 437.
    
     Request URI: /index.php?main_page=checkout_process&referer=paypal&amt=30.00&cc=AUD&cm=zenid=Completed&tx=6P, IP address: 60.
    #1  paypal->after_process() called at [/includes/classes/payment.php:261]
    #2  payment->after_process() called at [/includes/modules/pages/checkout_process/header_php.php:17]
    #3  require(/includes/modules/pages/checkout_process/header_php.php) called at [/index.php:35]
    --> PHP Notice: Undefined index: invoice in /includes/modules/payment/paypal.php on line 438.
    
     Request URI: /index.php?main_page=checkout_process&referer=paypal&amt=30.00&cc=AUD&cm=zenid=Completed&tx=6P, IP address: 60.
    #1  paypal->after_process() called at [/includes/classes/payment.php:261]
    #2  payment->after_process() called at [/includes/modules/pages/checkout_process/header_php.php:17]
    #3  require(/includes/modules/pages/checkout_process/header_php.php) called at [/index.php:35]
    --> PHP Notice: Undefined index: name in /includes/modules/payment/paypal.php on line 442.
    
     Request URI: /index.php?main_page=checkout_process&referer=paypal&amt=30.00&cc=AUD&cm=zenid=Completed&tx=6P, IP address: 60.
    #1  paypal->after_process() called at [/includes/classes/payment.php:261]
    #2  payment->after_process() called at [/includes/modules/pages/checkout_process/header_php.php:17]
    #3  require(/includes/modules/pages/checkout_process/header_php.php) called at [/index.php:35]
    --> PHP Notice: Undefined index: parent_txn_id in /includes/modules/payment/paypal.php on line 457.
    
     Request URI: /index.php?main_page=checkout_process&referer=paypal&amt=30.00&cc=AUD&cm=zenid=Completed&tx=6P, IP address: 60.
    #1  paypal->after_process() called at [/includes/classes/payment.php:261]
    #2  payment->after_process() called at [/includes/modules/pages/checkout_process/header_php.php:17]
    #3  require(/includes/modules/pages/checkout_process/header_php.php) called at [/index.php:35]
    --> PHP Notice: Undefined index: settle_amount in /includes/modules/payment/paypal.php on line 462.
    
     Request URI: /index.php?main_page=checkout_process&referer=paypal&amt=30.00&cc=AUD&cm=zenid=Completed&tx=6P, IP address: 60.
    #1  paypal->after_process() called at [/includes/classes/payment.php:261]
    #2  payment->after_process() called at [/includes/modules/pages/checkout_process/header_php.php:17]
    #3  require(/includes/modules/pages/checkout_process/header_php.php) called at [/index.php:35]
    --> PHP Notice: Undefined index: settle_currency in /includes/modules/payment/paypal.php on line 463.
    
     Request URI: /index.php?main_page=checkout_process&referer=paypal&amt=30.00&cc=AUD&cm=zenid=Completed&tx=6P, IP address: 60.
    #1  paypal->after_process() called at [/includes/classes/payment.php:261]
    #2  payment->after_process() called at [/includes/modules/pages/checkout_process/header_php.php:17]
    #3  require(/includes/modules/pages/checkout_process/header_php.php) called at [/index.php:35]
    --> PHP Notice: Undefined index: exchange_rate in /includes/modules/payment/paypal.php on line 464.
    
     Request URI: /index.php?main_page=checkout_process&referer=paypal&amt=30.00&cc=AUD&cm=zenid=Completed&tx=6P, IP address: 60.
    #1  paypal->after_process() called at [/includes/classes/payment.php:261]
    #2  payment->after_process() called at [/includes/modules/pages/checkout_process/header_php.php:17]
    #3  require(/includes/modules/pages/checkout_process/header_php.php) called at [/index.php:35]
    --> PHP Notice: Undefined index: notify_version in /includes/modules/payment/paypal.php on line 465.
    
     Request URI: /index.php?main_page=checkout_process&referer=paypal&amt=30.00&cc=AUD&cm=zenid=Completed&tx=6P, IP address: 60.
    #1  paypal->after_process() called at [/includes/classes/payment.php:261]
    #2  payment->after_process() called at [/includes/modules/pages/checkout_process/header_php.php:17]
    #3  require(/includes/modules/pages/checkout_process/header_php.php) called at [/index.php:35]
    --> PHP Notice: Undefined index: verify_sign in /includes/modules/payment/paypal.php on line 466.
    Code:
    [16-Aug-2021 10:17:14 Australia/Sydney] Request URI: /ipn_main_handler.php, IP address: 173.0#1  express->update_status() called at [/includes/modules/shipping/express.php:28]
    #2  express->__construct() called at [/includes/classes/shipping.php:68]
    #3  shipping->__construct() called at [/ipn_main_handler.php:294]
    --> PHP Notice: Trying to get property 'delivery' of non-object in /includes/modules/shipping/express.php on line 41.
    
    
    [16-Aug-2021 10:17:14 Australia/Sydney] Request URI: /ipn_main_handler.php, IP address: 173.0
    #1  express->update_status() called at [/includes/modules/shipping/express.php:28]
    #2  express->__construct() called at [/includes/classes/shipping.php:68]
    #3  shipping->__construct() called at [/ipn_main_handler.php:294]
    --> PHP Notice: Trying to access array offset on value of type null in /includes/modules/shipping/express.php on line 41.
    
    
    [16-Aug-2021 10:17:14 Australia/Sydney] Request URI: /ipn_main_handler.php, IP address: 173.0
    #1  express->update_status() called at [/includes/modules/shipping/express.php:28]
    #2  express->__construct() called at [/includes/classes/shipping.php:68]
    #3  shipping->__construct() called at [/ipn_main_handler.php:294]
    --> PHP Notice: Trying to access array offset on value of type null in /includes/modules/shipping/express.php on line 41.
    
    
    [16-Aug-2021 10:17:14 Australia/Sydney] Request URI: /ipn_main_handler.php, IP address: 173.0
    #1  ot_shipping->process() called at [/includes/classes/order_total.php:65]
    #2  order_total->process() called at [/ipn_main_handler.php:306]
    --> PHP Notice: Undefined index: express in /includes/modules/order_total/ot_shipping.php on line 81.
    
    
    [16-Aug-2021 10:17:14 Australia/Sydney] Request URI: /ipn_main_handler.php, IP address: 173.0
    #1  ot_shipping->process() called at [/includes/classes/order_total.php:65]
    #2  order_total->process() called at [/ipn_main_handler.php:306]
    --> PHP Notice: Trying to get property 'tax_class' of non-object in /includes/modules/order_total/ot_shipping.php on line 81.
    Last edited by rlexyd; 16 Aug 2021 at 02:25 AM.

  9. #19
    Join Date
    Nov 2006
    Location
    Sydney, Australia
    Posts
    458
    Plugin Contributions
    1

    Default Re: Help with a couple of error logs (Create Account & Dirbankaus)

    Actually just noticed the order is showing up TWICE on my Orders under TWO order numbers. (Payment was only taken out Once!)
    1ST order at 11:00:24 & 2ND order at 11:00:34.

    Both have the SAME transactionID and are the same except the 2ND order has this extra in the comments:
    **** ADDRESS OVERRIDE ALERT!!! **** CHECK PAYPAL ORDER DETAILS FOR ACTUAL ADDRESS SELECTED BY CUSTOMER!!

  10. #20
    Join Date
    Nov 2006
    Location
    Sydney, Australia
    Posts
    458
    Plugin Contributions
    1

    Default Re: Help with a couple of error logs (Create Account & Dirbankaus)

    Quote Originally Posted by rlexyd View Post
    Actually just noticed the order is showing up TWICE on my Orders under TWO order numbers. (Payment was only taken out Once!)
    1ST order at 11:00:24 & 2ND order at 11:00:34.

    Both have the SAME transactionID and are the same except the 2ND order has this extra in the comments:
    **** ADDRESS OVERRIDE ALERT!!! **** CHECK PAYPAL ORDER DETAILS FOR ACTUAL ADDRESS SELECTED BY CUSTOMER!!
    Just found this link and will go through and ensure those steps are followed correctly as stated.
    https://docs.zen-cart.com/user/payment/paypal_standard
    *Zen Cart eCommerce Solution - Putting the Dream of Owning an Online Business within reach of anyone!

 

 
Page 2 of 3 FirstFirst 123 LastLast

Similar Threads

  1. v155 Need help with a error logs
    By nicksab in forum General Questions
    Replies: 1
    Last Post: 22 Oct 2018, 05:20 PM
  2. Replies: 3
    Last Post: 30 Sep 2011, 12:29 AM
  3. A couple issues with my Paypal account
    By sofasurfer in forum General Questions
    Replies: 7
    Last Post: 26 Apr 2011, 08:21 PM
  4. help with 404 error: can't create account
    By divinelighting in forum General Questions
    Replies: 1
    Last Post: 14 Mar 2008, 02:24 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