Results 1 to 4 of 4
  1. #1
    Join Date
    Jun 2007
    Location
    Texas, USA
    Posts
    1,400
    Plugin Contributions
    1

    Default Undefined Constant Errors

    Zen Cart 1.5.6a


    Database Patch Level: 1.5.6


    PHP Version: 7.2.17 (Zend: 3.2.0)


    modules
    backup_mysql
    encrypted_master_password
    keep_cart
    numinix-google-analytics
    remember me
    usu-3.0
    Image Handler 5




    text/x-log myDEBUG-20190424-123605-145756.log ( ASCII text )
    [24-Apr-2019 07:36:05 America/Chicago] Request URI: /index.php?main_page=checkout_shipping, IP address: XX.XX.XX.XX
    #1 paypalwpp->__construct() called at [/home/shrimps/public_html/includes/classes/payment.php:74]
    #2 payment->__construct() called at [/home/shrimps/public_html/includes/modules/pages/checkout_shipping/header_php.php:228]
    #3 require(/home/shrimps/public_html/includes/modules/pages/checkout_shipping/header_php.php) called at [/home/shrimps/public_html/index.php:36]
    --> PHP Warning: Use of undefined constant MODULE_PAYMENT_PAYPALWPP_CHECKOUTSTYLE - assumed 'MODULE_PAYMENT_PAYPALWPP_CHECKOUTSTYLE' (this will throw an Error in a future version of PHP) in /home/shrimps/public_html/includes/modules/payment/paypalwpp.php on line 185.


    text/x-log myDEBUG-20190424-123737-838096.log ( ASCII text )
    [24-Apr-2019 07:37:38 America/Chicago] Request URI: /index.php?main_page=checkout_process, IP address: XX.XX.XX.XX
    #1 paypal_curl->_request() called at [/home/shrimps/public_html/includes/modules/payment/paypal/paypal_curl.php:241]
    #2 paypal_curl->DoDirectPayment() called at [/home/shrimps/public_html/includes/modules/payment/paypaldp.php:820]
    #3 paypaldp->before_process() called at [/home/shrimps/public_html/includes/classes/payment.php:245]
    #4 payment->before_process() called at [/home/shrimps/public_html/includes/modules/checkout_process.php:85]
    #5 require(/home/shrimps/public_html/includes/modules/checkout_process.php) called at [/home/shrimps/public_html/includes/modules/pages/checkout_process/header_php.php:14]
    #6 require(/home/shrimps/public_html/includes/modules/pages/checkout_process/header_php.php) called at [/home/shrimps/public_html/index.php:36]
    --> PHP Warning: Use of undefined constant PAYPAL_DEV_MODE - assumed 'PAYPAL_DEV_MODE' (this will throw an Error in a future version of PHP) in /home/shrimps/public_html/includes/modules/payment/paypal/paypal_curl.php on line 409.


    text/x-log myDEBUG-adm-20190424-210422-491098.log ( ASCII text )
    [24-Apr-2019 16:04:22 America/Chicago] Request URI: /ADMIN/orders.php?search=customername&page=1&oID=190&action=edit, IP address: XX.XX.XX.XX
    #1 paypal_curl->_request() called at [/home/shrimps/public_html/includes/modules/payment/paypal/paypal_curl.php:361]
    #2 paypal_curl->GetTransactionDetails() called at [/home/shrimps/public_html/includes/modules/payment/paypaldp.php:1007]
    #3 paypaldp->_GetTransactionDetails() called at [/home/shrimps/public_html/includes/modules/payment/paypaldp.php:976]
    #4 paypaldp->admin_notification() called at [/home/shrimps/public_html/ADMIN/orders.php:579]
    --> PHP Warning: Use of undefined constant PAYPAL_DEV_MODE - assumed 'PAYPAL_DEV_MODE' (this will throw an Error in a future version of PHP) in /home/shrimps/public_html/includes/modules/payment/paypal/paypal_curl.php on line 409.




    text/plain myDEBUG-20190424-123751-075494.log ( ASCII text )
    [24-Apr-2019 07:37:51 America/Chicago] Request URI: /ipn_main_handler.php, IP address: XX.XX.XX.XX
    #1 require(/home/shrimps/public_html/includes/init_includes/init_database.php) called at [/home/shrimps/public_html/includes/autoload_func.php:48]
    #2 require(/home/shrimps/public_html/includes/autoload_func.php) called at [/home/shrimps/public_html/includes/application_top.php:170]
    #3 require(/home/shrimps/public_html/includes/application_top.php) called at [/home/shrimps/public_html/ipn_main_handler.php:114]
    --> PHP Warning: Use of undefined constant USE_PCONNECT - assumed 'USE_PCONNECT' (this will throw an Error in a future version of PHP) in /home/shrimps/public_html/includes/init_includes/init_database.php on line 23.


    [24-Apr-2019 07:37:51 America/Chicago] Request URI: /ipn_main_handler.php, IP address: XX.XX.XX.XX
    #1 ipn_postback() called at [/home/shrimps/public_html/ipn_main_handler.php:136]
    --> PHP Warning: Use of undefined constant MODULE_PAYMENT_PAYPAL_HANDLER - assumed 'MODULE_PAYMENT_PAYPAL_HANDLER' (this will throw an Error in a future version of PHP) in /home/shrimps/public_html/includes/modules/payment/paypal/paypal_functions.php on line 442.


    [24-Apr-2019 07:37:52 America/Chicago] Request URI: /ipn_main_handler.php, IP address: XX.XX.XX.XX
    #1 ipn_determine_txn_type() called at [/home/shrimps/public_html/ipn_main_handler.php:211]
    --> PHP Warning: Use of undefined constant txn_type - assumed 'txn_type' (this will throw an Error in a future version of PHP) in /home/shrimps/public_html/includes/modules/payment/paypal/paypal_functions.php on line 220.

  2. #2
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    9,672
    Plugin Contributions
    123

    Default Re: Undefined Constant Errors

    The first one hasn't been fixed yet - will submit a PR shortly.
    Remainder will be fixed in 1.5.6b.
    That Software Guy. My Store: Zen Cart Modifications
    Available for hire - See my ad in Services
    Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
    Do you benefit from Zen Cart? Then please support the project.

  3. #3
    Join Date
    Jun 2007
    Location
    Texas, USA
    Posts
    1,400
    Plugin Contributions
    1

    Default Re: Undefined Constant Errors

    Thank you!

  4. #4
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    9,672
    Plugin Contributions
    123

    Default Re: Undefined Constant Errors

    That Software Guy. My Store: Zen Cart Modifications
    Available for hire - See my ad in Services
    Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
    Do you benefit from Zen Cart? Then please support the project.

 

 

Similar Threads

  1. Replies: 32
    Last Post: 6 Sep 2020, 09:03 PM
  2. Undefined constant text
    By TheOracle in forum Bug Reports
    Replies: 6
    Last Post: 11 May 2007, 04:19 AM
  3. Undefined Notice: Use of undefined constant
    By TheOracle in forum Bug Reports
    Replies: 0
    Last Post: 6 May 2007, 06:33 PM

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