X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Dev Questions (X-Cart 5) (https://forum.x-cart.com/forumdisplay.php?f=56)
-   -   Getting error: NotFoundHttpException in RouteCollection.php line 161: (https://forum.x-cart.com/showthread.php?t=75103)

twinbird24 03-17-2017 10:29 AM

Getting error: NotFoundHttpException in RouteCollection.php line 161:
 
When I click to update the changes I've made to the front page (in the admin panel, under Catalog > Front page, I get this error: "NotFoundHttpException in RouteCollection.php line 161:"

Here is an image of what I get right after clicking "Update"

qualiteam 03-19-2017 09:17 PM

Re: Getting error: NotFoundHttpException in RouteCollection.php line 161:
 
Is it an X-Cart 5 installation? It looks like some custom Laravel application.

twinbird24 03-20-2017 05:31 PM

Re: Getting error: NotFoundHttpException in RouteCollection.php line 161:
 
It's an X-cart installation. X-cart is installed in the /store directory and there is a Laravel app (website) installed at the web root. Is X-cart somehow interfering with Laravel? I followed the installation instructions as outlined here: http://kb.x-cart.com/en/general_setup/installation_guide.html. The rest of the store seems to work properly. If you would like, I can give you access to the admin panel (I can send you a PM with the login details).

qualiteam 03-21-2017 08:48 PM

Re: Getting error: NotFoundHttpException in RouteCollection.php line 161:
 
It sounds as URL rewrite rules configured for the Laravel application make the application to be the single point that handles rewrites. And since it knows nothing about URL rewrites configured for X-Cart, it displays the 404 Not found error for pages to be rendered by X-Cart.

I would look into changing the way how the Laravel application handles URL rewrites and making it skip everything under the /store directory.


All times are GMT -8. The time now is 04:10 AM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2021, Jelsoft Enterprises Ltd.