- Posts: 86220
- Thank you received: 14224
Error 404: when clicking on "add to cart" button
Your problem seems to be related to a SEF issue. How did you set it up ? Do you use some kind of extension for it ?
Please Log in or Create an account to join the conversation.
Well, the point is that I didn't change anything in these settings the last days. Thus it worked well with these settings until I did some changes (which of course - shame on me - I can't retrace anymore) apparently in the shop content module (?) or somewhere else.
Could be that it has something to do with the "Associated products listing for categories listing menus" (see attached file)?
M.
[P.S.: If you are interested resp. if this problem is of interest for Hikashop development, feel free to check by yourself. I can provide you with a login via PM.]
www.buch-comptoir.de
shop.buch-comptoir.de
[Weltweiter Versand seltener Bücher]
Please Log in or Create an account to join the conversation.
www.buch-comptoir.de
shop.buch-comptoir.de
[Weltweiter Versand seltener Bücher]
Please Log in or Create an account to join the conversation.
There is a new little doc which explains how to set it up there: docs.joomla.org/SEF_URLs_in_Joomla!_1.5
Please Log in or Create an account to join the conversation.
Regards, M.
www.buch-comptoir.de
shop.buch-comptoir.de
[Weltweiter Versand seltener Bücher]
Please Log in or Create an account to join the conversation.
Just had this problem occur on another dev system which has been Ok until now.
So decided time for a bit of debug tracing was needed - this is what I found....
$_SERVER /* string */ = /XXXXXXXX/XXXX/XXXX_joomla/index.php/shop/checkout/notice/tmpl-component
$_SERVER /* string */ = /shop/checkout/notice/tmpl-component
$_REQUEST /* string */ = 335
$_REQUEST /* string */ = com_hikashop
$_REQUEST /* string */ = notice
$_REQUEST /* string */ = component
In router.php parse()
=====================
$this->_mode /* string */ = 1 (=== JROUTER_MODE_SEF)
$uri->_path /* string */ = shop/checkout/notice/tmpl-component
In router.php _parseSefRoute()
==============================
$route /* string */ = shop/checkout/notice/tmpl-component
Hikashop parse route call
=========================
hikashopParseRoute(array('notice', 'component'))
hikashop.php line 37
====================
File does not exist: HIKASHOP_CONTROLLER.'notice.php'
Turns out the problem is due to a Checkout menu item underneath a shop menu item as show in the attached screenshot. Disabling the checkout menu item solves the porblem.
Changing the alias for the C heckout menu item to checkoutmain solved the problem.
See attached screenshot.
Please Log in or Create an account to join the conversation.
That's a tricky one !
Thanks for posting the solution.
Please Log in or Create an account to join the conversation.