Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

Getting error: NotFoundHttpException in RouteCollection.php line 161:

 
Reply
   X-Cart forums > X-Cart 5 > Dev Questions (X-Cart 5)
 
Thread Tools Search this Thread
  #1  
Old 03-17-2017, 10:29 AM
 
twinbird24 twinbird24 is offline
    
Join Date: Mar 2017
Posts: 2
 

Default 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"
__________________
x-cart 5.3.2.7
Reply With Quote
  #2  
Old 03-19-2017, 09:17 PM
  qualiteam's Avatar 
qualiteam qualiteam is offline
 

X-Guru
  
Join Date: Dec 2010
Posts: 6,373
 

Default Re: Getting error: NotFoundHttpException in RouteCollection.php line 161:

Is it an X-Cart 5 installation? It looks like some custom Laravel application.
__________________
Alex Solovev,
Qualiteam

---

User manual Video tutorials X-Cart FAQ

You are welcome to press "Thanks" button
if you find this post useful

Click here to learn how to apply patches

X-Cart Extensions
Reply With Quote
  #3  
Old 03-20-2017, 05:31 PM
 
twinbird24 twinbird24 is offline
    
Join Date: Mar 2017
Posts: 2
 

Default 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).
__________________
x-cart 5.3.2.7
Reply With Quote
  #4  
Old 03-21-2017, 08:48 PM
  qualiteam's Avatar 
qualiteam qualiteam is offline
 

X-Guru
  
Join Date: Dec 2010
Posts: 6,373
 

Default 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.
__________________
Alex Solovev,
Qualiteam

---

User manual Video tutorials X-Cart FAQ

You are welcome to press "Thanks" button
if you find this post useful

Click here to learn how to apply patches

X-Cart Extensions
Reply With Quote
Reply
   X-Cart forums > X-Cart 5 > Dev Questions (X-Cart 5)



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 12:09 PM.

   

 
X-Cart forums © 2001-2020