TheTechDev Posted October 16, 2022 Share Posted October 16, 2022 Hello, I just installed OSCommerce and installation was successful but when i click on the admin button it goes to /admin/login and then says the requested url was not found on this server. Let me know if you need more information https://shop.thetechnologystudio.com/admin/login Quote Link to comment Share on other sites More sharing options...
osCommerce-Official Posted October 16, 2022 Share Posted October 16, 2022 @pandreiwould you please help here? Thanks! Quote Link to comment Share on other sites More sharing options...
pandrei Posted October 17, 2022 Share Posted October 17, 2022 (edited) 14 hours ago, TheTechDev said: Hello, I just installed OSCommerce and installation was successful but when i click on the admin button it goes to /admin/login and then says the requested url was not found on this server. Thanks for the screenshot. I don't see the admin folder and other important folders in your screenshot. Probably an error occurred while unpacking zip file. I suggest that you delete all unpacked files, check free space on your disk and retry installation. And let us know the version of your installation (you can see it in the top left corner of the install page). I'm guessing it's not the latest version 4.06.51797. Edited October 17, 2022 by pandrei Quote Link to comment Share on other sites More sharing options...
TheTechDev Posted October 18, 2022 Author Share Posted October 18, 2022 On 10/17/2022 at 1:06 AM, pandrei said: Thanks for the screenshot. I don't see the admin folder and other important folders in your screenshot. Probably an error occurred while unpacking zip file. I suggest that you delete all unpacked files, check free space on your disk and retry installation. And let us know the version of your installation (you can see it in the top left corner of the install page). I'm guessing it's not the latest version 4.06.51797. if you noticed at the top of the screen shot that is the admin folder i am in. Quote Link to comment Share on other sites More sharing options...
gheimlinger Posted October 18, 2022 Share Posted October 18, 2022 I am facing the exact same issue with a fresh install. Quote Link to comment Share on other sites More sharing options...
pandrei Posted October 18, 2022 Share Posted October 18, 2022 (edited) 16 minutes ago, TheTechDev said: if you noticed at the top of the screen shot that is the admin folder i am in. Sorry for that 🙂 Please send me the log files from lib/backend/runtime/logs/*.log Also please send me admin/includes/local/configure.php file 11 minutes ago, gheimlinger said: I am facing the exact same issue with a fresh install. Hi Gerhard! Could you send me the above log files too? Edited October 18, 2022 by pandrei Quote Link to comment Share on other sites More sharing options...
gheimlinger Posted October 18, 2022 Share Posted October 18, 2022 lib/backend/runtime is empty. There is no subfolder logs. The admin/includes/local/configure.php is as follows: <?php define('HTTP_SERVER', 'http://192.168.176.77:8086'); define('HTTPS_SERVER', 'https://192.168.176.77:8086'); define('HTTP_CATALOG_SERVER', 'http://192.168.176.77:8086'); define('HTTPS_CATALOG_SERVER', 'https://192.168.176.77:8086'); define('ENABLE_SSL', false); define('ENABLE_SSL_CATALOG', false); define('DIR_FS_DOCUMENT_ROOT', $_SERVER['DOCUMENT_ROOT']); define('DIR_WS_ADMIN', '/admin/'); define('DIR_FS_ADMIN', DIR_FS_DOCUMENT_ROOT . DIR_WS_ADMIN); define('DIR_WS_CATALOG', '/'); define('DIR_FS_CATALOG', DIR_FS_DOCUMENT_ROOT . DIR_WS_CATALOG); define('DIR_WS_IMAGES', 'images/'); define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/'); define('DIR_WS_CATALOG_IMAGES', DIR_WS_CATALOG . 'images/'); define('DIR_WS_INCLUDES', 'includes/'); define('DIR_WS_BOXES', DIR_WS_INCLUDES . 'boxes/'); define('DIR_WS_FUNCTIONS', DIR_WS_INCLUDES . 'functions/'); define('DIR_WS_CLASSES', DIR_WS_INCLUDES . 'classes/'); define('DIR_WS_MODULES', DIR_WS_INCLUDES . 'modules/'); define('DIR_WS_LANGUAGES', DIR_WS_INCLUDES . 'languages/'); define('DIR_WS_CATALOG_LANGUAGES', DIR_WS_CATALOG . 'includes/languages/'); define('DIR_FS_CATALOG_LANGUAGES', DIR_FS_CATALOG . 'includes/languages/'); define('DIR_FS_CATALOG_IMAGES', DIR_FS_CATALOG . 'images/'); define('DIR_FS_CATALOG_MODULES', DIR_FS_CATALOG . 'includes/modules/'); define('DIR_FS_BACKUP', DIR_FS_ADMIN . 'backups/'); define('DIR_FS_CATALOG_XML', DIR_FS_CATALOG . 'xml/'); define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/'); define('DIR_WS_DOWNLOAD', DIR_WS_CATALOG . 'download/'); define('DIR_FS_CATALOG_FONTS', DIR_FS_ADMIN . 'includes/fonts/'); define('DIR_WS_TEMPLATES', DIR_WS_CATALOG . 'templates/'); define('DIR_FS_TEMPLATES', DIR_FS_CATALOG . 'templates/'); define('DB_SERVER', 'localhost'); define('DB_SERVER_USERNAME', '--- username removed ---'); define('DB_SERVER_PASSWORD', '--- password removed ---'); define('DB_DATABASE', 'oscommerce4'); define('USE_PCONNECT', 'false'); define('STORE_SESSIONS', 'mysql'); Quote Link to comment Share on other sites More sharing options...
pandrei Posted October 18, 2022 Share Posted October 18, 2022 Thanks, Gerhard. Could you open any sales channel like "watch" and go to any product category like "for all". I guess you will get the same error - 404 Not Found. If I am right, you have to check configuration of your Apache: https://wiki.oscommerce.com/index.php?title=Installing_osCommerce_4_on_Dedicated_Server,_Cloud_Server_or_VPS Most likely missing "write" apache mod or "AllowOverride All" directive for your web site. Quote Link to comment Share on other sites More sharing options...
gheimlinger Posted October 18, 2022 Share Posted October 18, 2022 3 hours ago, pandrei said: Thanks, Gerhard. Could you open any sales channel like "watch" and go to any product category like "for all". I guess you will get the same error - 404 Not Found. If I am right, you have to check configuration of your Apache: https://wiki.oscommerce.com/index.php?title=Installing_osCommerce_4_on_Dedicated_Server,_Cloud_Server_or_VPS Most likely missing "write" apache mod or "AllowOverride All" directive for your web site. Hello Pandrei, Thank you for your support. Yes, you were right, also the sales channels also behaved as you described. The hint with the configuration was the key to success. Adding just the Apache settings was not sufficient. I also found out that some software packages were missing. I didn't look there in the first place as the Pre-installation Check did not show any missing parts. Now the channels and the backend access work as expected. Regards, Gerhard pandrei and osCommerce-Official 2 Quote Link to comment Share on other sites More sharing options...
pandrei Posted October 18, 2022 Share Posted October 18, 2022 I am glad to hear it works well. 43 minutes ago, gheimlinger said: I didn't look there in the first place as the Pre-installation Check did not show any missing parts. Unfortunately, there is no guaranteed way to check installed apache modules. Quote Link to comment Share on other sites More sharing options...
TheTechDev Posted October 18, 2022 Author Share Posted October 18, 2022 8 hours ago, pandrei said: Thanks, Gerhard. Could you open any sales channel like "watch" and go to any product category like "for all". I guess you will get the same error - 404 Not Found. If I am right, you have to check configuration of your Apache: https://wiki.oscommerce.com/index.php?title=Installing_osCommerce_4_on_Dedicated_Server,_Cloud_Server_or_VPS Most likely missing "write" apache mod or "AllowOverride All" directive for your web site. adding FPM fixed it for me. Quote 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.