chuntse Posted March 13, 2016 Posted March 13, 2016 Hi All, I am using oscommerce 2.3.3, there are some problems with the /admin/includes/functions/database.php. it's about the mysql and mysqli.... I replaced the database.php of catalog of oscommerce 2.3.3 with oscommerce 2.3.4. the catalog is launched properly. But it does not work in admin, I don''t know why!!!!!!!! is there any solution about this? I have added many addons on it before. It's hard to do it again. the php of my vps is 5.4.16 it does not support for mysql and just support for mysqli. Thanks in advanced for who helps me. chuntse
♥raiwa Posted March 13, 2016 Posted March 13, 2016 @@chuntse, You shouldn't just replace one file. You should download the update package from 2.3.3. to 2.3.4 and do all updates like explained there. Then you should check if you have any hardcoded mysql function which may be used in a add-on file and replace it by the correspondant tep_db function. They will be then automatic updated to mysqli functions. regards Rainer About Me: http://www.oscommerce.com/forums/user/249059-raiwa/ Need help? How To Get The Help You Need Is your version of osC up to date? You'll find the latest osC community version CE Phoenix here. Public Phoenix Change Log Cheat Set on Google Sheets
Jack_mcs Posted March 13, 2016 Posted March 13, 2016 Did you also replace the database.php file in admin? Support Links: For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc. All of My Addons Get the latest versions of my addons Recommended SEO Addons
chuntse Posted March 14, 2016 Author Posted March 14, 2016 @@Jack_mcs @@raiwa No, I tried to replace database.php in admin, but it didn't work. The replacement of database.php just work for the catalog!!! It's a lot of work to upgrade from osc 2.3.3 to 2.3.4 And I have added some addons to my osc 2.3.3, some codes are been changed already. I am afraid my osc will crash down if I follow the instruction to upgrade my osc. I am looking for the solution to enable the support of mysql_connect(), this is better. chuntse
Jack_mcs Posted March 14, 2016 Posted March 14, 2016 @@chuntse I assumed you had already did the upgrade since you said it was working. You can't just replace the one file. That will cause problems, as you found out. There's not a quick and easy way to upgrade it. If you are going to go through the trouble of upgrading, then you should upgrade to the Bootstrap version. See this thread for what is needed for that. Support Links: For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc. All of My Addons Get the latest versions of my addons Recommended SEO Addons
chuntse Posted March 14, 2016 Author Posted March 14, 2016 @@Jack_mcs It's very kind of you. I found out the problem, because it's whole backup I download from the VPS. I forgot to reset the path of admin. Thanks again. regards, chuntse
Recommended Posts
Archived
This topic is now archived and is closed to further replies.