thumb Posted November 5, 2009 Posted November 5, 2009 I recently moved our site to a new host and I am getting a few errors and was wondering what fixes or updates I could apply? The old host was using MySQL 4.xxx and the cart ran great for a couple years. Here is the Server info Server OS: Linux 2.6.18-128.1.6.el5 Database: MySQL 5.0.81-community Server Date: 11/04/2009 20:00:49 Datebase Date: 11/04/2009 20:00:49 Server Up Time: 20:00:49 up 68 days, 9:52, 0 users, load average: 0.01, 0.06, 0.07 HTTP Server: Apache PHP Version: 5.2.10 (Zend: 2.2.0) osCommerce osCommerce 2.2-MS2 PHP Logo PHP Version 5.2.10
MrPhil Posted November 5, 2009 Posted November 5, 2009 Presumably you're getting 1054 errors? If you had searched, you would have found: http://www.oscommerce.com/forums/topic/335136-osc-and-mysql-5-1054-errors If you're new to PHP 5, you may now have register global variables turned off by default. Older versions of osC (pre 2.2 RC1) need them on. Next PHP upgrade, you will probably start getting warnings about "deprecated functions". The instructions on replacing them with up-to-date functions: http://www.oscommerce.com/forums/topic/341737-function-ereg-replace-is-deprecated/page__p__1434612__hl__eregi%20deprecated__fromsearch__1entry1447311
thumb Posted November 5, 2009 Author Posted November 5, 2009 Presumably you're getting 1054 errors? If you had searched, you would have found: http://www.oscommerce.com/forums/topic/335136-osc-and-mysql-5-1054-errors If you're new to PHP 5, you may now have register global variables turned off by default. Older versions of osC (pre 2.2 RC1) need them on. Next PHP upgrade, you will probably start getting warnings about "deprecated functions". The instructions on replacing them with up-to-date functions: http://www.oscommerce.com/forums/topic/341737-function-ereg-replace-is-deprecated/page__p__1434612__hl__eregi%20deprecated__fromsearch__1entry1447311 Yes, I was getting those errors and I 'Did' do a search and fixed them and I did turn on the register_global via a php.ini file. I am now getting another error that I have posted in another post. My main question is what updates can I do with the version(build) I have running now? I've searched for a few days now and found lots of answers but they included updating OSC but with only ones that are compatible with my version(build).
thumb Posted November 5, 2009 Author Posted November 5, 2009 Ok, I have the cart running again with no errors but I would still like to update to the latest version if I can that will be compatible with my host server.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.