Mort-lemur Posted December 21, 2022 Share Posted December 21, 2022 Download and install Xampp from here: https://www.apachefriends.org/download.html The version I used was windows with php 8.1.12 It will install in the directory c:\xampp In c:\xampp\htdocs create the directory “catalog” Download the latest version of OSC4 from here: https://www.oscommerce.com/ Once downloaded unzip the files to c:\xampp\htdocs\catalog Start the xampp control panel and start Apache, MySql & Mercury In xampp control panel click on MySql admin tab – this will open xampp PhpMyAdmin where you need to create a new database and password. In your browser, navigate to localhost/catalog – This should start the installation process for OSC4 Initially the installation will fail due to a couple of services needed as follows: First PHP GD: See this link for the solution: https://www.geeksforgeeks.org/how-to-install-php-gd-in-xampp/ Second PHP Extension intl: See this limk for the solution: https://stackoverflow.com/questions/33869521/how-can-i-enable-php-extension-intl The installation may fail again when trying to install the database due to password issues – If so you may need to hard code your database password into the catalog/admin/includes/configure.php file at around line 52 The installation should now continue and complete (unless I forgot a step / adjustment somewhere….) Ok so now you can go to the browser and using localhost/catalog open your new website. BUT….. More changes are required to enable your access to your Admin / Backend as follows: Firstly from a post by @pandrei a change needed to: xampp/htdocs/catalog/admin/includes/local/configure.php and remove extra slash in these constants: define('DIR_WS_ADMIN', '//oscommerce/store/admin/'); define('DIR_WS_CATALOG', '//oscommerce/store'); Change to: define('DIR_WS_ADMIN', '/oscommerce/store/admin/'); define('DIR_WS_CATALOG', '/oscommerce/store'); You can now navigate to localhost/catalog/admin but the login will fail, as the Mercury email programme needs to be set up as follows: First make sure you have an email account and password set up (I created a gmail.com email account just for this purpose) Then you need to configure Mercury to send mails, there is lots of info out there, but this link is one of the most straightforward: https://www.geeksforgeeks.org/how-to-configure-xampp-to-send-mail-from-localhost-using-php/ Next you need to make a change via the xampp mercury control panel, just a case of unchecking a box, which this link explains: https://stackoverflow.com/questions/6809369/warning-mail-function-mail-smtp-server-response-553-we-do-not-relay-non-l You should now be able to login to your Admin / Backend – Simples! Disclaimer: As I did the install a few days ago I may have forgotten a step or change needed, so don’t blame me if it does not work or if you waste hours of time….. If it fails post here and I (or somebody who actually knows what they are doing) will try and help. Smoky Barnable, osCommerce-Official, pandrei and 1 other 2 2 Quote Now running on a fully modded, Mobile Friendly 2.3.4 Store with the Excellent MTS installed - See my profile for the mods installed ..... So much thanks for all the help given along the way by forum members. 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.