- Posts: 80
- Thank you received: 0
Terms and conditions with error 404
-- HikaShop version -- : business
-- Joomla version -- : 3.1
-- PHP version -- : x.x.x
-- Browser(s) name and version -- : XXXXX x.x.x
-- Error-message(debug-mod must be tuned on) -- : Error 404
Hi,
When I set the friendly URL, the article with the terms and conditions doesnt run. It shows a 404 Error.
But, if the Url is not friendly this article is showed right.
Could you help me, please?
Thanks in advance.
Leonora.
Please Log in or Create an account to join the conversation.
I solved it by changing the htaccess file.
Best regards
Leonora
Please Log in or Create an account to join the conversation.
The 2nd step on checkout. would have to show the "Terms and conditions" article but its link is wrong.
Recently, when I changed the htaccess file the link run ok, but now an 404Errors appears nowly Only when the friendly URL's are enabled.
The link is escolatur.com/clon/index.php?option=com_...1&Itemid=327&lang=es
I have asked for a solution to my hosting, but they believe that is a bug of hikashop.
Please, give me any solution.
Thanks in advance!
Leonora
Please Log in or Create an account to join the conversation.
It's probably because the URL of the popup doesn't have an Itemid. In some cases, the SEF system of Joomla doesn't like that.
Edit the line:
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
- Posts: 10
- Thank you received: 0
-- url of the page with the problem -- www.inarihealthandwellness.com
-- HikaShop version -- : Starter: 2.6.1
-- Joomla version -- : 3.3.6
-- PHP version -- : x.x.x
-- Browser(s) name and version -- : XXXXX x.x.x
-- Error-message(debug-mod must be tuned on) -- : Error 404
Please Log in or Create an account to join the conversation.
Can you make screenshot of your configuration, especially your checkout, in Components => HikaShop => Configuration in Checkout tab AND the article (your terms and conditions) ?
Awaiting news from you,
Regards,
Please Log in or Create an account to join the conversation.
- Posts: 10
- Thank you received: 0
Please Log in or Create an account to join the conversation.
The issue is that in the view that you edited, the link is not correct.
You are forcing the id of the article, and using the option value, so the id is no "3939" instead of "39" that's why it can't load the content.
So in your edition you have to remove "39" from the url.
Please Log in or Create an account to join the conversation.
- Posts: 10
- Thank you received: 0
Please Log in or Create an account to join the conversation.
If nothing is solved, despite fact all was said, difficult to have another idea, so next step!
Can you pass us via our "Contact us" form (add this topic Url in your message as a link please) access references for frontend and backend, we will be able to process some tests.
Awaiting news from you.
Regards,
Please Log in or Create an account to join the conversation.
I found and fix your terms & condition issue.
To explain what I have done in Display -> Views and your terms in checkout view I replace the line :
JRoute::_('index.php?option=com_content&view=article&id=39'.$terms_article.'&tmpl=component')
By
JRoute::_('index.php?option=com_content&view=article&id=X'.$terms_article.'&tmpl=component&itemid=39'
And I set a category for your Terms & Condition Article (without this that won't works)
Hope this will fit your needs,
Regards,
Please Log in or Create an account to join the conversation.
- Posts: 10
- Thank you received: 0
Please Log in or Create an account to join the conversation.