Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Recommended Posts

Posted

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.

image.thumb.png.7901fb27311ea2f616f16dd3c3d8dc19.png

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."

image.png.201fcb933afed30e094b1e48d5ff723f.png

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.

Posted

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

 

 

Posted
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:

image.png.1dbd61a8c0e78f7a964ee71fedfb99b1.png

Posted
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:

image.png.8a6927a14bf03b1ad920db3484ebd4ff.png

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.

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.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...