• Home
  • Get help
  • Ask a question
Last post 14 hours 41 min ago
Posts last week 94
Average response time last week 34 min
All time posts 67911
All time tickets 10496
All time avg. posts per day 20

Helpdesk is open from Monday through Friday CET

Please create an (free) account to post any question in the support area.
Please check the development versions area. Look at the changelog, maybe your specific problem has been resolved already!
All tickets are private and they cannot be viewed by anyone. We have made public only a few tickets that we found helpful, after removing private information from them.

#1406 – shopping cart urls break randomly

Posted in ‘sh404SEF’
This is a public ticket. Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.
Thursday, 19 November 2015 15:02 UTC
piggybank
Hi there,

On our website the shopping cart urls seem to break (only for certain products, and after an arbitrary amount of time) everything appears to be working with sh404 turned off on that component but I'm not sure what is causing the issue.

Thanks for your time
 
Thursday, 19 November 2015 15:05 UTC
wb_weeblr
Hi

Hard to say anything without any actual information. If you can indentify clear things, we can certainly have a look. Data we'll need is:

- what do you mean by "break"?
- full links to pages, and procedure to reproduce
- probably superadmin credentials, but not needed before something can be reproduced I guess.

Rgds
 
Thursday, 19 November 2015 15:28 UTC
piggybank
Hi there,

Sorry for my vauge ticket.

On http://www.xxxx.com/index.php?option=com_hikashop&ctrl=product&task=show&cid=1&name=awakening-the-guru-in-you-book&Itemid=494 I currently have sef urls turned off however when I had turned on the urls I was getting a 404 error page instead of the page above

also when adding an item to the cart and going to checkout (with sef urls turned on) I was unable to get beyond the step to fill out my information, and it would also result in a 404 error.

What was really strange about the whole situation is that I could clear the urls, and the products in the cart would work but after accessing them additional attempts would result in a 404 error.

admin url: http://www.xxxx.com/administrator?pb
user: xxxx
pass: xxxx
 
Thursday, 19 November 2015 15:36 UTC
wb_weeblr
Hi

I don't get a 404 fo this page, after enabling URL for Hikashop. The SEF URL is: /store/product/product_id-1/name-awakening-the-guru-in-you-book.html

I do get a 404 after filling out informations. The URL is /store/checkout/step/step-1.html, and indeed it doesn' exists in the database.

Are you using any template override?

Rgds
 
Thursday, 19 November 2015 16:17 UTC
piggybank
Hi there,

Thanks for your time. The product 404s are a little strange and I'm having difficulty consistently reproducing it, as you noted they are working currently, however they seem to start 404ing again after a period of time.

I don't currently have any over-rides for hikashop.
 
Friday, 20 November 2015 09:24 UTC
wb_weeblr
Hi

I have tested again, and all works fine until I try to enter my details. WHen I get onto this page, and I look up the page source code, I can see that hikashop has created this URL (/store/checkout/step/step-1.html) in the form, but it doesn't show in the URL manager, and this why it triggers a 404, that's absolutely normal.

Now I need to find why Hikashop doesn't properly create the SEF URL. I'll get back to you soon.

Rgds
 
Friday, 20 November 2015 09:59 UTC
wb_weeblr
Hi

Ran some test, and it looks like you have a corrupted URL cache file. This prevents the SEF URL to be decoded correctly.

I did the following:

1 - Purge URLs
2 - Purge 404 records
3 - Disable disk cache (as it's not reliable on your server)

Pease let me know

Rgds
 
Friday, 20 November 2015 14:40 UTC
piggybank
Hi there,

Thank you so much for your time! Could you let me know a little bit more about the disk cache and reliability I host several Joomla sites using sh404 and hikashop, and also have root access to the server so if this is something I can have tweaked that might be a little easier.

 
Friday, 20 November 2015 14:43 UTC
wb_weeblr
Hi

I don't know exactly what process lead to the cache being corrupted. The point was that some URL were in the cache, but not in the database. So corrupted doesn't necessarily means a filesystem issue for instance.

I wouldn't worry too much about it. Just purge, then update to current dev version (from this page - I hope to be able to release it today, but not sure, time's running) and maybe monitor for a day or two.

Rgds
 
This ticket is closed, therefore read-only. You can no longer reply to it. If you need to provide more information, please open a new ticket and mention this ticket's number.