Zen Cart Logo
Forums / Bug Reports / Undefined Constant Errors

Undefined Constant Errors

Views: 1,164

Results 1 to 4 of 4
25 Apr 2019, 1:26 AM
#1
shrimp_gumbo_mmmhhh avatar

shrimp_gumbo_mmmhhh

Totally Zenned

Join Date:
Jun 2007
Location:
Texas, USA
Posts:
1,436
Plugin Contributions:
0

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.

25 Apr 2019, 12:42 PM
#2
swguy avatar

swguy

Administrator

Join Date:
Feb 2006
Location:
Tampa Bay, Florida
Posts:
10,682
Plugin Contributions:
56

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.

25 Apr 2019, 3:28 PM
#3
shrimp_gumbo_mmmhhh avatar

shrimp_gumbo_mmmhhh

Totally Zenned

Join Date:
Jun 2007
Location:
Texas, USA
Posts:
1,436
Plugin Contributions:
0

Re: Undefined Constant Errors

Thank you!