dest511 Posted December 14, 2023 Posted December 14, 2023 I've successfully installed osCommerce4 locally and can access the admin panel (https://localhost/bcatering/admin) and landing page (https://localhost/bcatering/) without any issues. However, when attempting to access specific channels, such as the "watch" channel (https://localhost/bcatering/watch/), "furniture channel" (https://localhost/bcatering/furniture/) or others, I encounter an error message: "Oops! We can't seem to find the page you're looking for." I've ensured that all sales channels are active and that the default page displays correctly. I've checked the configuration settings for these channels/pages to confirm their proper setup during installation. Could anyone provide insight into this issue or offer troubleshooting steps to resolve it? Thank you in advance for your help. Quote
dest511 Posted December 14, 2023 Author Posted December 14, 2023 I observed that there is an error log below. 2023-12-14 21:18:19 [::1][-][6ooud0jer6cmdghq8pjdisj6g3][error][yii\web\HttpException:404] yii\base\InvalidRouteException: Unable to resolve the request "watch/". in D:\xampp\htdocs\bcatering\lib\vendor\yiisoft\yii2\base\Module.php:561 Stack trace: #0 D:\xampp\htdocs\bcatering\lib\vendor\yiisoft\yii2\web\Application.php(103): yii\base\Module->runAction('watch/', Array) #1 D:\xampp\htdocs\bcatering\lib\vendor\yiisoft\yii2\base\Application.php(384): yii\web\Application->handleRequest(Object(frontend\components\Request)) #2 D:\xampp\htdocs\bcatering\lib\frontend\web\index.php(31): yii\base\Application->run() #3 D:\xampp\htdocs\bcatering\index.php(37): require('D:\\xampp\\htdocs...') #4 {main} Next yii\web\NotFoundHttpException: Page not found. in D:\xampp\htdocs\bcatering\lib\vendor\yiisoft\yii2\web\Application.php:115 Stack trace: #0 D:\xampp\htdocs\bcatering\lib\vendor\yiisoft\yii2\base\Application.php(384): yii\web\Application->handleRequest(Object(frontend\components\Request)) #1 D:\xampp\htdocs\bcatering\lib\frontend\web\index.php(31): yii\base\Application->run() #2 D:\xampp\htdocs\bcatering\index.php(37): require('D:\\xampp\\htdocs...') #3 {main} Attached please find the full frontend log found in bcatering\lib\frontend\runtime\logs 404_error.log Quote
pandrei Posted December 15, 2023 Posted December 15, 2023 16 hours ago, dest511 said: However, when attempting to access specific channels, such as the "watch" channel (https://localhost/bcatering/watch/), "furniture channel" (https://localhost/bcatering/furniture/) or others, I encounter an error message: Check the osCommerce requirements: https://www.oscommerce.com/wiki/Installing_osCommerce_4_on_Dedicated_Server,_Cloud_Server_or_VPS It seems you need FollowSymLinks option for your virtual host: Quote
dest511 Posted December 15, 2023 Author Posted December 15, 2023 Attached please find the .htaccess file. I have checked the RewriteRule is not run.... Is that any extra setting/config i need to do in order to start using the "locahost" (https://localhost/bcatering/watch/) environment. Thank you in advice for your help. .htaccess Quote
dest511 Posted December 15, 2023 Author Posted December 15, 2023 @pandrei The FollowSymLinks is already included. Attached please find the httpd.config for your reference( I am using the apache on XAMPP). Thank you very much httpd.conf Quote
pandrei Posted December 15, 2023 Posted December 15, 2023 48 minutes ago, dest511 said: The FollowSymLinks is already included. Attached please find the httpd.config for your reference( I am using the apache on XAMPP). Thank you very much Ok, I see. Then check that you have soft symlinks (or junctions) in the site root folder with names: watch, printshop, furniture and b2b-supermarket. They look like: Please note, they are not shortcuts. If they are absent, you should create them manually. Open Command Prompt, go to the site root and run this command: mklink /J watch . Do the same for other sales channels. Quote
dest511 Posted December 15, 2023 Author Posted December 15, 2023 @pandrei It works. Thank you very much. Quote
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.
Note: Your post will require moderator approval before it will be visible.