Dr. Rolex Posted December 11, 2013 Author Share Posted December 11, 2013 btw. that code should work by default with mysqli, but also with old mysql. Database.php file from oscommerce is doing fallback to old functions. So your are using MySQLi but still, it doesn't work? osCommerce 2.3.3 official instructions on how to upgrade the two database.php files didn't work for me at all. I had to include this to both database.php: Find this code in ./includes/functions/database.php $$link = mysqli_connect($server, $username, $password, $database); Change to: $$link = mysqli_connect($server, $username, $password, $database); /* change character set to utf8 */ $$link->set_charset("utf8"); // Change it to whatever Encoding you're using on your database. I think i made changes to the tep_db_query function as well. But I don't understand why you're making changes to application_top.php? Quote osC OpenSSL Encryption with jCryptionSupport Forum jQuery/Ajax Advanced Statistics 2.3Support Forum jQuery/Ajax Advanced Order Handler 2.3.3Support ForumjQuery/Ajax Advanced Caching System 2.3.3Support ForumjQuery/Ajax Fast checkout/Shopping Cart/Login/Create Account 2.3.3Support ForumjQuery/Ajax Shopping Cart 2.3.3Support ForumjQuery/Ajax Dynamic Checkout 2.3.3Support ForumjQuery/Ajax Mini Cart for osCommerce 2.3.3Support ForumjQuery Cycle What's New InfoboxAuto Out Of Stock CSS Image OverlayjQuery-UI Autocomplete Product Search with Links & MySQLi support for osCommerce 2.X Link to comment Share on other sites More sharing options...
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.