stratula Posted October 30, 2018 Share Posted October 30, 2018 hello i have installed a osc 2.3.4.1 bs (responsive master) on php 7.2.3 and i got a warning message in admin modules content page: Warning: Use of undefined constant - assumed 'OSCOM_APP_PAYPAL_LOGIN_SORT_ORDER' (this will throw an Error in a future version of PHP) in /kunden/media-promote.de/2.3.4.1_reponsive/includes/modules/content/login/cm_paypal_login.php on line 41 i tried to uninstall the paypal login module and got other errors, after reinstalling i have the same problem as before. it seems that somewhat somehow doesn't work with php 7.2 i need a little help thx stefan Link to comment Share on other sites More sharing options...
ArtcoInc Posted October 30, 2018 Share Posted October 30, 2018 @stratula PHP 7.2 is much more strict that 7.1. It is just giving you a warning ... the application or module *should* still function. As more of these warnings are discovered, the community here will address them. You can post this in the bug list thread: M Link to comment Share on other sites More sharing options...
stratula Posted October 30, 2018 Author Share Posted October 30, 2018 you mean i should copy this thread and paste it in the thread you show me above? Link to comment Share on other sites More sharing options...
ArtcoInc Posted October 31, 2018 Share Posted October 31, 2018 Not the entire thread. Just your first post. M Link to comment Share on other sites More sharing options...
stratula Posted October 31, 2018 Author Share Posted October 31, 2018 shift topic >> Link to comment Share on other sites More sharing options...
lucsangel Posted October 31, 2018 Share Posted October 31, 2018 Hi, I had the same problem with several modules and found the solution : In your language file catalog/Includes/ (your language)/modules/content (or the one concerned by the error)/login/ (or the one concerned by the error)/cm_paypal_login.php (or the one concerned by the cited error) add a define that takes in the constant cited, example : define ('OSCOM_APP_PAYPAL_LOGIN_SORT_ORDER', 'Sort Order' ); You take all the errors shown for all the modules (and many of the add-ons throw this) and simply define the constant for each one. Someone said Paypal was fixed so do check out the latest update and use this if not Hope this helps. Barbara Link to comment Share on other sites More sharing options...
astecme Posted November 4, 2018 Share Posted November 4, 2018 I think you will find that this is due to the necessarry database entry being missing. Link to comment Share on other sites More sharing options...
MrPhil Posted November 4, 2018 Share Posted November 4, 2018 Sometimes these defined language strings are in a language file, and sometimes they are put in the database. In either case, if you are missing one or more strings, it's likely that something didn't go right with your install (base product or an add-on). Double check your work that you didn't skip a step, or overlook a warning message that a file couldn't be read or written, or data couldn't be put in the database. Look for the missing strings in your install package (language files and .sql files) and if you find them, you may be able to either manually copy the file(s) into place, manually update the proper file(s), or import them into the database. This will take some knowledge of how osC installs things, so don't go about it blindly (i.e., know what you're doing, and be able to recover from backups if you screw up). Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.