gerry1964 LiteCart Fan Lähettäjä United Kingdom Jäsen alkaen heinäk. 2020 gerry1964 3 kesäk. 2024 15:13 Hi all, Just set up a new Lite cart install have have this error Warning: Undefined constant MYSQLI_OPT_INT_AND_FLOAT_NATIVE. Make sure you enabled the PHP extension mysqlnd which is the recommended driver since PHP 5.4 instead of libmysql. in ~/includes/library/lib_database.inc.php (Line 23) But looking at the file lib_database.inc.php i can't make head or tales ? Is there something i don't know about ? This is what i'm seeing on line 23 if (defined('MYSQLI_OPT_INT_AND_FLOAT_NATIVE')) { self::set_option(MYSQLI_OPT_INT_AND_FLOAT_NATIVE, 1, $link); } else { trigger_error('Undefined constant MYSQLI_OPT_INT_AND_FLOAT_NATIVE. Make sure you enabled the PHP extension mysqlnd which is the recommended driver since PHP 5.4 instead of libmysql.', E_USER_WARNING);
tim Founder Lähettäjä Sweden Jäsen alkaen toukok. 2013 tim 3 kesäk. 2024 21:18 You need to enable the native mysql extensions (in cPanel they are called mysqlnd and nd_mysqli). The one you're running now was deprecated maybe a decade ago, although cPanel refuses to abandon it. https://www.litecart.net/en/forums/15/errors-and-troubleshooting/16698/mysqli-constant-mysqli-opt-int-and-float-native-is-undefined