AnuradhaKorde Posted March 4, 2021 Share Posted March 4, 2021 I am trying to set up oscommerce-2.3.4.1 on localhost (XAMPP V3.2.4). while setting payment option, on 'Administrator page' after clicking on 'Install Module' button I am getting following warning . Use of undefined constant MODULE_PAYMENT_CHRONOPAY_SORT_ORDER - assumed 'MODULE_PAYMENT_CHRONOPAY_SORT_ORDER' (this will throw an Error in a future version of PHP) There are 48 payment options. Similar error is occurring for all payment modules. It seems some file is missing where all these constants are defined. Where can I get this file or how to fix these warnings ? Payment Warning: Use of undefined constant MODULE_PAYMENT_CHRONOPAY_SORT_ORDER - assumed 'MODULE_PAYMENT_CHRONOPAY_SORT_ORDER' (this will throw an Error in a future version of PHP) in C:\xampp\htdocs\oscommerce\catalog\includes\modules\payment\chronopay.php on line 26 Warning: Use of undefined constant MODULE_PAYMENT_CHRONOPAY_STATUS - assumed 'MODULE_PAYMENT_CHRONOPAY_STATUS' (this will throw an Error in a future version of PHP) in C:\xampp\htdocs\oscommerce\catalog\includes\modules\payment\chronopay.php on line 27 Warning: Use of undefined constant MODULE_PAYMENT_CHRONOPAY_PREPARE_ORDER_STATUS_ID - assumed 'MODULE_PAYMENT_CHRONOPAY_PREPARE_ORDER_STATUS_ID' (this will throw an Error in a future version of PHP) in C:\xampp\htdocs\oscommerce\catalog\includes\modules\payment\chronopay.php on line 29 Warning: Use of undefined constant MODULE_PAYMENT_INPAY_SORT_ORDER - assumed 'MODULE_PAYMENT_INPAY_SORT_ORDER' (this will throw an Error in a future version of PHP) in C:\xampp\htdocs\oscommerce\catalog\includes\modules\payment\inpay.php on line 25 Warning: Use of undefined constant MODULE_PAYMENT_INPAY_STATUS - assumed 'MODULE_PAYMENT_INPAY_STATUS' (this will throw an Error in a future version of PHP) in C:\xampp\htdocs\oscommerce\catalog\includes\modules\payment\inpay.php on line 26 Warning: Use of undefined constant MODULE_PAYMENT_INPAY_GATEWAY_SERVER - assumed 'MODULE_PAYMENT_INPAY_GATEWAY_SERVER' (this will throw an Error in a future version of PHP) in C:\xampp\htdocs\oscommerce\catalog\includes\modules\payment\inpay.php on line 35 Warning: Use of undefined constant MODULE_PAYMENT_IPAYMENT_CC_SORT_ORDER - assumed 'MODULE_PAYMENT_IPAYMENT_CC_SORT_ORDER' (this will throw an Error in a future version of PHP) in C:\xampp\htdocs\oscommerce\catalog\includes\modules\payment\ipayment_cc.php on line 27 Quote Link to comment Share on other sites More sharing options...
♥14steve14 Posted March 4, 2021 Share Posted March 4, 2021 I would not use that version. Go to https://www.oscommerce.com/Products and download the Phoenix version that is available and use that. The version you have has not been updated in years and is not recommended. Phoenix is modular and its so much easier to add features. Quote REMEMBER BACKUP, BACKUP AND BACKUP Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.