Jack_mcs Posted August 13, 2022 Share Posted August 13, 2022 @osCommerce-OfficialI tried installing V4 onto my local wamp server. At the start of the install there was a message that said V4 wouldn't run when apache was on Windows. I went ahead and tried it and the splash page did show up but the admin displays a denied message. I asked Andrei about it and he said it should work but to post here if I couldn't get it going. I checked all of the listed requirements and they are present. Not being able to run this locally will cause a lot of extra work and delays for developers, at least for me. Is there a way to get this to work? Smoky Barnable and bonbec 2 Quote 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 Link to comment Share on other sites More sharing options...
osCommerce-Official Posted August 14, 2022 Share Posted August 14, 2022 @asandros could you please comment Quote Link to comment Share on other sites More sharing options...
asandros Posted August 14, 2022 Share Posted August 14, 2022 39 minutes ago, osCommerce-Official said: @asandros could you please comment Hello, Sorry, unfortunately nothing can comment regarding Windows. I personally suggest to install osCommerce 4 on Linux based systems, at least on Linux virtual machine running on the Windows. Smoky Barnable and osCommerce-Official 1 1 Quote Link to comment Share on other sites More sharing options...
Jack_mcs Posted August 14, 2022 Author Share Posted August 14, 2022 8 hours ago, asandros said: at least on Linux virtual machine running on the Windows. That's what wamp is. It is a package that installs apache, php, etc. and simulates a Linux server. It is a very common method for developers. I have successfully ran all previous versions of oscommerce, as well as Magento, Wordpress and some other shops using it. V4 is the only one that has ever failed. As mentioned, this will cause a big problem for developers. If you do not think it is worth taking a look at, can you at least explain the path used in the files to get the page to load so that I can troubleshoot it? Quote 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 Link to comment Share on other sites More sharing options...
♥Smoky Barnable Posted August 14, 2022 Share Posted August 14, 2022 Same issue using Xampp. Quote The water in a vessel is sparkling; the water in the sea is dark. The small truth has words which are clear; the great truth has great silence. - Rabindranath Tagore Link to comment Share on other sites More sharing options...
freakystreakefc Posted August 19, 2022 Share Posted August 19, 2022 Totally agree, should have a Windows based installation available for both WAMP and Xampp. Local development is a valuable asset, especially with a new format such as OSC4 Quote Link to comment Share on other sites More sharing options...
NickW Posted September 30, 2022 Share Posted September 30, 2022 I was excited to see that osCommerce was being re-born with this version 4, but sadly as others above have noted there seems to be an issue with installing on Xampp on Windows! Install message says: Quote It seems like you are using Apache under Windows as Webserver. osCommerce will only work under linux. Does anyone know what the technical issues are that prevent it from running on Xampp? Is it because it requires composer, or the use of symlinks, etc? I use Xampp for many other platforms including several old versions of osc (with security updates), I think it's a serious disadvantage if it's not possible. Quote Link to comment Share on other sites More sharing options...
clustersolutions Posted October 2, 2022 Share Posted October 2, 2022 Don't know WAMP or Xampp or if they run on virtualization. I would go with VirtualBox LAMP stack on Windows and it should work. I had not tried it but also may be containerizing this app for dev sounds like a good idea. Quote Link to comment Share on other sites More sharing options...
Mort-lemur Posted December 17, 2022 Share Posted December 17, 2022 Did this ever get resolved? As I'm thinking of installing on my Xampp set up to see if I want to replace my current stores. Thanks 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...
osCommerce-Official Posted December 17, 2022 Share Posted December 17, 2022 @pandrei could you please kindly comment here? Quote Link to comment Share on other sites More sharing options...
the-raven Posted December 18, 2022 Share Posted December 18, 2022 On 8/13/2022 at 1:40 PM, Jack_mcs said: I tried installing V4 onto my local wamp server. At the start of the install there was a message that said V4 wouldn't run when apache was on Windows. I went ahead and tried it and the splash page did show up but the admin displays a denied message. I asked Andrei about it and he said it should work but to post here if I couldn't get it going. I checked all of the listed requirements and they are present. Not being able to run this locally will cause a lot of extra work and delays for developers, at least for me. Is there a way to get this to work? @Jack_mcs were you every able to access the Admin side based on your setup? I am having the same problem. When I try to click the link to access the admin side, I receive the same message "Access Denied". I have notice through a rewrite somewhere is adding an extra "/" forward slash after the localhost url. example https://localhost//oscommerce/store/admin/login, if I correct the link to https://localhost/oscommerce/store/admin/login the admin page loads. But every time I click on a sub-link within the admin page the rewrite issue occurs adding an extra "/" slash and displays "Access Denied" but the redirected link does not exist. On windows platform, using xampp. Store front works fine. Quote Link to comment Share on other sites More sharing options...
pandrei Posted December 18, 2022 Share Posted December 18, 2022 16 hours ago, Mort-lemur said: Did this ever get resolved? As I'm thinking of installing on my Xampp set up to see if I want to replace my current stores. You can install osCommerce on Xampp for testing purposes. But some features may have problems. 7 hours ago, the-raven said: @Jack_mcs were you every able to access the Admin side based on your setup? I am having the same problem. When I try to click the link to access the admin side, I receive the same message "Access Denied". I have notice through a rewrite somewhere is adding an extra "/" forward slash after the localhost url. example https://localhost//oscommerce/store/admin/login, if I correct the link to https://localhost/oscommerce/store/admin/login the admin page loads. But every time I click on a sub-link within the admin page the rewrite issue occurs adding an extra "/" slash and displays "Access Denied" but the redirected link does not exist You have to edit 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'); Quote Link to comment Share on other sites More sharing options...
Mort-lemur Posted December 18, 2022 Share Posted December 18, 2022 Thank you - now installed on Xammp and can progress as far as entering my login details for the admin area - then the following error is shown: Quote Error (#2) An internal server error occurred. The above error occurred while the Web server was processing your request. Please contact us if you think this is a server error. Thank you. The URL where this error is shown is: http://localhost/catalog/admin/login?action=process So obviously I can not get access to the admin area. The version of php running on my Xammp is as follows Apache/2.4.54 (Win64) OpenSSL/1.1.1p PHP/8.1.12 Database client version: libmysql - mysqlnd 8.1.12 PHP version: 8.1.12 I also selected not to use SSL during the install. Any pointers would be appreciated Thank You 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...
♥Smoky Barnable Posted December 18, 2022 Share Posted December 18, 2022 I would check your apache error logs on your xammp control panel. Quote The water in a vessel is sparkling; the water in the sea is dark. The small truth has words which are clear; the great truth has great silence. - Rabindranath Tagore Link to comment Share on other sites More sharing options...
pandrei Posted December 19, 2022 Share Posted December 19, 2022 20 hours ago, Mort-lemur said: Thank you - now installed on Xammp and can progress as far as entering my login details for the admin area - then the following error is shown: Could you send me the following log files: lib/backend/runtime/logs/*.log Quote Link to comment Share on other sites More sharing options...
pandrei Posted December 19, 2022 Share Posted December 19, 2022 On 12/18/2022 at 5:27 PM, Mort-lemur said: Thank you - now installed on Xammp and can progress as far as entering my login details for the admin area - then the following error is shown: Quote Error (#2) An internal server error occurred. The above error occurred while the Web server was processing your request. Please contact us if you think this is a server error. Thank you. 9 hours ago, pandrei said: Could you send me the following log files: lib/backend/runtime/logs/*.log Thanks for the logs. The problem happens because you have not email server on your PC. You can download a stub program to emulate email server under Windows here: https://github.com/rnwood/smtp4dev/releases osCommerce-Official 1 Quote Link to comment Share on other sites More sharing options...
Mort-lemur Posted December 20, 2022 Share Posted December 20, 2022 Thank you @pandrei- Sorted it eventually.... Xampp comes with an email system called Mercury, However, to get mercury to work a few changes are required to the Xampp Apache php.ini file and the xampp sendmail.ini files as well as a small change to one of the settings on mercury admin panel. This is a good guide to the .ini file changes: https://www.geeksforgeeks.org/how-to-configure-xampp-to-send-mail-from-localhost-using-php/ and this is the change required to the mercury admin (see the post on unchecking the box on the mercury settings) : https://stackoverflow.com/questions/6809369/warning-mail-function-mail-smtp-server-response-553-we-do-not-relay-non-l Hope this may help someone else osCommerce-Official and pandrei 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...
osCommerce-Official Posted December 20, 2022 Share Posted December 20, 2022 1 hour ago, Mort-lemur said: Thank you @pandrei- Sorted it eventually.... Xampp comes with an email system called Mercury, However, to get mercury to work a few changes are required to the Xampp Apache php.ini file and the xampp sendmail.ini files as well as a small change to one of the settings on mercury admin panel. This is a good guide to the .ini file changes: https://www.geeksforgeeks.org/how-to-configure-xampp-to-send-mail-from-localhost-using-php/ and this is the change required to the mercury admin (see the post on unchecking the box on the mercury settings) : https://stackoverflow.com/questions/6809369/warning-mail-function-mail-smtp-server-response-553-we-do-not-relay-non-l Hope this may help someone else Would you consider creating a new post about how to install osCommerce on Xampp? Would be ever so grateful! Smoky Barnable 1 Quote Link to comment Share on other sites More sharing options...
Mort-lemur Posted December 20, 2022 Share Posted December 20, 2022 Quote Would you consider creating a new post about how to install osCommerce on Xampp? Would be ever so grateful! That will not be a problem - But first I need to spend a couple of days making sure its working on xampp as it should as I think there may be some minor issues. Smoky Barnable, osCommerce-Official and monicagomez 3 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...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.