[Skip to main content](#vessel-content)

#   Checkout goes to homepage

##

- **[ericlie](/forum/user/31404-ericlie "View ericlie's Profile")**
- [![ericlie's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/31404-ericlie "View ericlie's Profile")
- [ Offline](/forum/user/31404-ericlie)

Less More

- Posts: 3
- Thank you received: 0
-
-

12 years 8 months ago -  12 years 8 months ago [\#146312](#146312) by [ericlie](/forum/user/31404-ericlie "View ericlie's Profile")  Replied by *[ericlie](/forum/user/31404-ericlie "View ericlie's Profile")* on topic *[Checkout goes to homepage](/forum/27-checkout/862528-checkout-goes-to-homepage?start=20#146312 "  whiskerworks.com/prop-shop  – pick an item and try to check out -- HikaShop version -- : 2.2.2 business -- Joomla version -- : 2.5.11 -- PHP version -- : 5.3.27 -- Browser(s) name and version -- : Safari/Firefox/Chrome -- Error-message(debug-mod must be tuned on) -- : none  When you enter your info as a guest and click Next, it goes to the homepage. The same thing happens if you try to log in.  Also, I think this just started happening when I upgraded to 2.2.2.  I used the contact form to send the login info, so feel free to take a look.")*

Hi
HikaShop Starter: 2.3.0
Joomla! Version Joomla! 3.2.2 Stable [ Ember ] 6-February-2014 16:00 GMT
Joomla! Platform Version Joomla Platform 13.1.0 Stable [ Curiosity ] 24-Apr-2013 00:00 GMT

I found an error every time I access add to cart button from my homepage.
it shows : Notice: Undefined property: stdClass::$link in ![D:](/angry.gif "D:")\Eric\web\root\main\components\com_hikashop\router.php on line 56
I am trying hikashop on my local machine: http://localhost/main/
/main/ is joomla folder
i activate joomla URL Rewriting and all hikashop SEF URL options
please help...

i found one interesting after looking at the console from my firefox
this is the url when checkout button is doing just find Code:

http://localhost/main/category/checkout/notice/cart_type-cart/tmpl-component

and this is the url when checkout button shows error Code:

http://localhost/main/checkout/notice/cart_type-cart/tmpl-component

so, i notice the "/category/" is missing when checkout button shows error...
how do i solve this?

Last edit: 12 years 8 months ago by [ericlie](/forum/user/31404-ericlie "View ericlie's Profile"). Reason: found something new

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg2MjUyOC1jaGVja291dC1nb2VzLXRvLWhvbWVwYWdlP3N0YXJ0PTIwJnRtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86292
- Thank you received: 14271
-
-

12 years 7 months ago [\#146549](#146549) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Checkout goes to homepage](/forum/27-checkout/862528-checkout-goes-to-homepage?start=20#146549 "  whiskerworks.com/prop-shop  – pick an item and try to check out -- HikaShop version -- : 2.2.2 business -- Joomla version -- : 2.5.11 -- PHP version -- : 5.3.27 -- Browser(s) name and version -- : Safari/Firefox/Chrome -- Error-message(debug-mod must be tuned on) -- : none  When you enter your info as a guest and click Next, it goes to the homepage. The same thing happens if you try to log in.  Also, I think this just started happening when I upgraded to 2.2.2.  I used the contact form to send the login info, so feel free to take a look.")*

Hi,

Replace the line:
if(!empty($menu) &amp;&amp; $menu-&gt;link =='index.php?option=com_hikashop&amp;view=checkout&amp;layout=step'){

by:
if(!empty($menu) &amp;&amp; !empty($menu-&gt;link) &amp;&amp; $menu-&gt;link =='index.php?option=com_hikashop&amp;view=checkout&amp;layout=step'){

in the file components\com_hikashop\router.php and that will remove that notice message.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg2MjUyOC1jaGVja291dC1nb2VzLXRvLWhvbWVwYWdlP3N0YXJ0PTIwJnRtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[ericlie](/forum/user/31404-ericlie "View ericlie's Profile")**
- [![ericlie's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/31404-ericlie "View ericlie's Profile")
- [ Offline](/forum/user/31404-ericlie)

Less More

- Posts: 3
- Thank you received: 0
-
-

12 years 7 months ago [\#146626](#146626) by [ericlie](/forum/user/31404-ericlie "View ericlie's Profile")  Replied by *[ericlie](/forum/user/31404-ericlie "View ericlie's Profile")* on topic *[Checkout goes to homepage](/forum/27-checkout/862528-checkout-goes-to-homepage?start=20#146626 "  whiskerworks.com/prop-shop  – pick an item and try to check out -- HikaShop version -- : 2.2.2 business -- Joomla version -- : 2.5.11 -- PHP version -- : 5.3.27 -- Browser(s) name and version -- : Safari/Firefox/Chrome -- Error-message(debug-mod must be tuned on) -- : none  When you enter your info as a guest and click Next, it goes to the homepage. The same thing happens if you try to log in.  Also, I think this just started happening when I upgraded to 2.2.2.  I used the contact form to send the login info, so feel free to take a look.")*

Thank you for your reply, Really appreciate!
I will try your suggestion

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg2MjUyOC1jaGVja291dC1nb2VzLXRvLWhvbWVwYWdlP3N0YXJ0PTIwJnRtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop- Install &amp; Update- Product &amp; Category Display- Content Creation- Sales and Orders- - Orders management- - Reports &amp; Statistics- Customers- Checkout- Payment Methods- Shipping Methods- Import &amp; Export (CSV, XLS…)- Specific Features- - Affilation- - Taxes- - Wishlist- - Vote- - Carousel &amp; Slider- - Mass Actions- - Filters &amp; Search- - Discount &amp; Coupon- - Feature Request- Integrations- Showcase- General Talk about HikaShop- Development- - HikaShop 3.0 Beta- Translation- Commercial Jobs HikaShop Components- HikaMarket- - Market: Feature requests- - Market: How to?- - Market: Bug Report- HikaSerial- - General talk about HikaSerial- - Serial: Bug Report- - Serial: How to?- - Support en Français de HikaSerial (French Support)- - HikaSubscription- HikaAuction- - Auction: Feature requests- - Auction: How to?- - Auction: Bug report Hikashop around the world- Support en Français (French Support)- Russian- - FAQ. Курс выживания с Hikashop. Частые вопросы и о- - Расширения Hikashop- - Наши сайты на Hikashop- 日本語版サポート(Japanese Support)- Thai- German Archives- Bug Report- How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.156 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)

[](#top)
