lizzyb Posted April 7, 2010 Share Posted April 7, 2010 has anyone had any experience upgrading oSCommerce after doing extensive customization on a previous version? thanks for your help. Link to comment Share on other sites More sharing options...
josemoreira Posted April 7, 2010 Share Posted April 7, 2010 Hi,LIZZYB I don´t known how we should upgrading Oscommerce, but i did a cherch in web and i achieve the following information, it can be useful for you: osCommerce Knowledge Base Top » osCommerce » Installation and Upgrades Upgrading osCommerce Last Update: 8th June, 2005 Article ID: 221 • Introduction • Configuration Steps Introduction If you are upgrading from ms1 to ms2 code, you will need to update the PHP files and move the data from the old database to the new database. Configuration Steps • Install files Begin the upgrade by installing the new osCommerce version in another folder in your server space. Do this by following the Pre-Installation Procedure • Migrate data Next, copy the old database over to the new database by using a tool such as phpMyAdmin or similar utility. • Run Update File In the "extras" folder in the osCommerce download and there is a folder named pr21_to_pr22, which holds the file ms1_to_ms2.php. Copy this file to your catalog folder or root folder on your server space where the new osCommerce files are. It can be renamed if desired, such as to 'upgrade.php'. Copy this upgrade file to the catalog directory and navigate to it with a web browser. It will ask for the new database info and then will upgrade all needed files. This will upgrade the database for your new osCommerce ms2 files. After you test your new files you can then remove the old files and old database. Make sure everything was moved over before deleting the old files! How helpful is this article? Table Of Contents The osCommerce Project osCommerce Installation and Upgrades Administration Tool Catalog Area General Information Developers Section Link to comment Share on other sites More sharing options...
josemoreira Posted April 7, 2010 Share Posted April 7, 2010 Hi,LIZZYB Im a student in informatic area,when i install the oscommerce program i don´t have problems and i put it into the "localhost", until open the program.So in that software i observe the existence of warnings like this: Deprecated: Function ereg() is deprecated in C:\xampp\htdocs\oscommerce\includes\classes\database.php on line 405 Deprecated: Function ereg() is deprecated in C:\xampp\htdocs\oscommerce\includes\classes\database.php on line 405 Deprecated: Function ereg() is deprecated in C:\xampp\htdocs\oscommerce\includes\classes\database.php on line 405 Deprecated: Function ereg() is deprecated in C:\xampp\htdocs\oscommerce\includes\classes\database.php on line 405 Deprecated: Function ereg() is deprecated in C:\xampp\htdocs\oscommerce\includes\classes\database.php on line 405 Deprecated: Function ereg() is deprecated in C:\xampp\htdocs\oscommerce\includes\classes\database.php on line 405 Deprecated: Function ereg() is deprecated in C:\xampp\htdocs\oscommerce\includes\classes\database.php on line 405 Deprecated: Function ereg() is deprecated in C:\xampp\htdocs\oscommerce\includes\classes\database.php on line 405 Deprecated: Function ereg() is deprecated in C:\xampp\htdocs\oscommerce\includes\classes\database.php on line 405 Deprecated: Function ereg() is deprecated in C:\xampp\htdocs\oscommerce\includes\classes\database.php on line 405 Deprecated: Function ereg() is deprecated in C:\xampp\htdocs\oscommerce\includes\classes\database.php on line 405 Deprecated: Function ereg() is deprecated in C:\xampp\htdocs\oscommerce\includes\classes\database.php on line 405 Deprecated: Function ereg() is deprecated in C:\xampp\htdocs\oscommerce\includes\classes\database.php on line 405 Deprecated: Function ereg() is deprecated in C:\xampp\htdocs\oscommerce\includes\classes\database.php on line 405 Deprecated: Function ereg() is deprecated in C:\xampp\htdocs\oscommerce\includes\classes\database.php on line 405 Deprecated: Function ereg() is deprecated in C:\xampp\htdocs\oscommerce\includes\classes\database.php on line 405 Deprecated: Function ereg() is deprecated in C:\xampp\htdocs\oscommerce\includes\classes\database.php on line 405 Deprecated: Function ereg() is deprecated in C:\xampp\htdocs\oscommerce\includes\classes\database.php on line 405 Deprecated: Function ereg() is deprecated in C:\xampp\htdocs\oscommerce\includes\classes\database.php on line 405 Deprecated: Function ereg() is deprecated in C:\xampp\htdocs\oscommerce\includes\classes\database.php on line 405 Deprecated: Function eregi() is deprecated in C:\xampp\htdocs\oscommerce\includes\classes\database.php on line 465 Deprecated: Function ereg() is deprecated in C:\xampp\htdocs\oscommerce\includes\classes\database.php on line 405 Deprecated: Function ereg() is deprecated in C:\xampp\htdocs\oscommerce\includes\classes\database.php on line 405 Deprecated: Function ereg() is deprecated in C:\xampp\htdocs\oscommerce\includes\classes\database.php on line 405 Deprecated: Function ereg() is deprecated in C:\xampp\htdocs\oscommerce\includes\classes\database.php on line 405 Deprecated: Function ereg() is deprecated in C:\xampp\htdocs\oscommerce\includes\classes\database.php on line 405 Deprecated: Function ereg() is deprecated in C:\xampp\htdocs\oscommerce\includes\classes\database.php on line 405 Deprecated: Function ereg() is deprecated in C:\xampp\htdocs\oscommerce\includes\classes\database.php on line 405 Deprecated: Function ereg() is deprecated in C:\xampp\htdocs\oscommerce\includes\classes\database.php on line 405 I ask your help, to eliminate them, what can i do? Which procedures? If anyone ask my answer, i try to ask your doubts,OK? I expect your answer rapidly,please because i can´t wait during more time, because i have to do a work to my Institute with urgency,please. You can send a email:[email protected] Link to comment Share on other sites More sharing options...
♥geoffreywalton Posted April 7, 2010 Share Posted April 7, 2010 ereg does not work with the version of php you are using. There is a "new" command that should be used to do this. Google will throw up loads of answers to this. G Need help installing add ons/contributions, cleaning a hacked site or a bespoke development, check my profile Virus Threat Scanner My Contributions Basic install answers. Click here for Contributions / Add Ons. UK your site. Site Move. Basic design info. For links mentioned in old answers that are no longer here follow this link Useful Threads. If this post was useful, click the Like This button over there ======>>>>>. Link to comment Share on other sites More sharing options...
MrPhil Posted April 8, 2010 Share Posted April 8, 2010 @LizzyB, don't even think about upgrading to osC 3 yet. It is far from finished, and is subject to major changes before (and if) it becomes a finished product. Just stick with your 2.2, and try to incorporate the changes made up through the final release of 2.2 (RC2a). Get a clean copy of whatever your system started out as (e.g., 2.2 MS2) unzipped onto your PC, and likewise a clean copy of 2.2 RC2a, and compare the two. Manually install the changes into your code (once you understand what they're doing). You may wish to do the same with the "github" repository, but be more selective there (e.g., just the ereg() fixes). There are also other bug fixes and enhancements floating around this forum which may or may not ever show up in github, such for MySQL 5, and the navigation history bug. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.