• Home
  • Get help
  • Ask a question
Last post 4 hours 33 min ago
Posts last week 141
Average response time last week 4 hours 42 min
All time posts 67805
All time tickets 10478
All time avg. posts per day 21

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.

#6064 – HIKASHOP product pictures are dissapearing if I do PURGE

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.
Sunday, 10 November 2019 16:02 UTC
gg974
 Hello,

I have constant issue with some parts of HIKASHOP products. After I do PURGE SEF URLs in admin console. Some images just dissapear.

For instance:

https://xxxx.eu/products/brand-specific-parts/f-one-brand-parts

or

https://xxxx.eu/products/brand-specific-parts/slingshot-brand-parts

or

https://xxxx.eu/shop/category/replacement-bladders (check some subcategories here)

I first thought that it is because I'm manually populating some products (replacement kite bladders on the 3rd link), but the pics are 110% there, also visible at the time of inserting and purging, but then if I do some other inserting they can dissapear w/o any pattern at all.

What is even stranger on those 2 links aboove the images are always manually inserted, I've re-inserted them few times, but now it happened again.

I would like to remove any doubts in purge procedure, are you able to track down the issue?

I have to upload pictures for 2nd link now as some clients ask for one of the products and it is w/o it.


Please note that this is LIVE site.


Thank you
GG
Monday, 11 November 2019 10:05 UTC
wb_weeblr
HI

1 - I don't see how purging SEF URLs can make images appear or disappear to be honest, images URLs are not processed by sh404SEF, they are just real, hardcoded URLs.
For instance the link to the first image on that first example page is:

/media/com_hikashop/upload/thumbnails/250x250f/f-one_kite_lines_small.png



This URL is not processed by Joomla or sh404SEF, it's just a direct link to an image inserted by Hikashop in its content. It never went through Joomla SEF system or sh404SEF SEF system.

The only thing odd on that page is that you have javascript errors:



Don't know if that's related. If your template uses some javascript to show the images (highly unlikely), it may have an impact.

I would need to see this happening to maybe provide some more assistance, right now all is normal.

2 - How does the problem fixes itself? you redo the image insert? if so, this sounds a lot like a caching issue. But again, we'd need to see the problem happening to be able to provide some pointers. Suggestion:

- try to temporarily switch to Joomla template (protostar) for instance, and see if the problem occurs the same
- when the problem happens, open the page source code as I did above and copy the source code for the <!-- PRODUCT IMG --> block. That way we can maybe see if the link is incorrect or not.
- when the problem happens, open the javascript console and see if any error messages is displayed.

3 - Lastly, why do you purge URLs? that should not happen after a website initial launch, it's a little bit like if you deleted all your Hikashop products on a regular basis...

Best regards
 
Tuesday, 12 November 2019 16:14 UTC
gg974
Hello,

I am not blaming your component at all, as I know HIKASHOP might be buggy a lot, but I would like to dismiss any doubts in you, so your help is much appreciated.

I had to manual upload again some of the pictures as that only helps. Here are some pictures "unvisible (eg. exchanged with no picture image), but the real picture is there as any other:

https://xxxx.eu/products/brand-specific-parts/slingshot-brand-parts

So, basically I re-do all the pictures to fix it.

For "Replacement bladders" - link https://xxxx.eu/shop/category/replacement-bladders, I created XLS file which generates SQL sentences as there is 1000's of bladders.

I have to PURGE the URL's because how subcategories are generated within XLS (to keep them grouped and organised), so actual hikashop products ID are changed and I have to do the purge. (I actually do delete "old" products, then repopulate them, I don't add new ones only - it is how "program" works, not perfect at all but this is what I have...).

But for instance, If I re-do this brand again (with broken images):

https://xxxx.eu/shop/category/bwsurf

the images will be fixed.

Then I do 2 things:

- rebuild the HIKA categories with their REBUILD button (it sorts out category tree somehow, this is HIKA stuff)
- then I do the SEF PURGE

I have som DB upgrades to do with new products from mentioned category and I'll re-check both steps if maybe the problem already occours with REBUILD, even before PURGE.

You got me thinking... :)

So, I'll re-check again the procedure and get back to you with results in the next week OK?

BIG THX
GG
Tuesday, 12 November 2019 16:49 UTC
wb_weeblr
Hi

I am not blaming your component at all, as I know HIKASHOP might be buggy
Same here, I don't know what's happening. However I know that sh404SEF has no impact on the content of pages, whether Joomla or HIkashop.

But for instance, If I re-do this brand again (with broken images):



https://xxxx.eu/shop/category/bwsurf



the images will be fixed.



Then I do 2 things:



- rebuild the HIKA categories with their REBUILD button (it sorts out category tree somehow, this is HIKA stuff)

- then I do the SEF PURGE
I very, very strongly suspect this is due to your workflow of inserting content directly in the database from an XLS.

But for instance, If I re-do this brand again (with broken images):



https://xxxx.eu/shop/category/bwsurf



the images will be fixed.
The important question here is:

- when the images disappear on the front end, are they still present when you go to Hikashop backend and look at the product page in Hikashop admin?

This phrase:

Here are some pictures "unvisible (eg. exchanged with no picture image),
seems to mean that the images have been removed from Hikashop product database, which is why Hikashop replaces them with placeholders.

If so, I don't see how sh404SEF can have anything to do with it: again, it cannot remove content of another extension database.

Best regards
 
Tuesday, 12 November 2019 17:10 UTC
gg974
I think that REBUILD does some weird updates.

Inserts are going like this:

INSERT INTO `dr18_hikashop_category` (`category_id`, `category_parent_id`, `category_type`, `category_name`, `category_description`, `category_published`, `category_namekey`, `category_alias`) VALUES (12001, 12000, 'product', 'Aeneema', '', 1, 'product_12001', 'bws_aeneema');INSERT INTO `dr18_hikashop_file` ( `file_name`, `file_description`, `file_path`, `file_type`, `file_ref_id`) VALUES ('Aeneema', 'Aeneema', 'bwsurf_aeneema.png', 'category', 12001);
INSERT INTO `dr18_hikashop_category` (`category_id`, `category_parent_id`, `category_type`, `category_name`, `category_description`, `category_published`, `category_namekey`, `category_alias`) VALUES (12002, 12001, 'product', 'Aeneema 2016 6m ', '<img style="float: left; margin-right: 10px; margin-bottom: 10px;" src="/images/bladders/3strut.png" width=350px /><p>Please lay down your kite on the ground, as you would pump it, to choose the correct strut.<br/></p><br/><img style="margin: 10px; vertical-align: middle;" alt="one pump" src="/images/bladders/xxxx_one_pump_valves.gif" />This kite uses one pump valves.', 1, 'product_12002', 'bws_aeneema_2016_6m');INSERT INTO `dr18_hikashop_file` ( `file_name`, `file_description`, `file_path`, `file_type`, `file_ref_id`) VALUES ('Aeneema 2016 6m', 'Aeneema 2016 6m', 'cat_2016.png', 'category', 12002);
INSERT INTO `dr18_hikashop_category` (`category_id`, `category_parent_id`, `category_type`, `category_name`, `category_description`, `category_published`, `category_namekey`, `category_alias`) VALUES (12003, 12001, 'product', 'Aeneema 2016 7m ', '<img style="float: left; margin-right: 10px; margin-bottom: 10px;" src="/images/bladders/3strut.png" width=350px /><p>Please lay down your kite on the ground, as you would pump it, to choose the correct strut.<br/></p><br/><img style="margin: 10px; vertical-align: middle;" alt="one pump" src="/images/bladders/xxxx_one_pump_valves.gif" />This kite uses one pump valves.', 1, 'product_12003', 'bws_aeneema_2016_7m');INSERT INTO `dr18_hikashop_file` ( `file_name`, `file_description`, `file_path`, `file_type`, `file_ref_id`) VALUES ('Aeneema 2016 7m', 'Aeneema 2016 7m', 'cat_2016.png', 'category', 12003);
INSERT INTO `dr18_hikashop_category` (`category_id`, `category_parent_id`, `category_type`, `category_name`, `category_description`, `category_published`, `category_namekey`, `category_alias`) VALUES (12004, 12001, 'product', 'Aeneema 2016 8m ', '<img style="float: left; margin-right: 10px; margin-bottom: 10px;" src="/images/bladders/3strut.png" width=350px /><p>Please lay down your kite on the ground, as you would pump it, to choose the correct strut.<br/></p><br/><img style="margin: 10px; vertical-align: middle;" alt="one pump" src="/images/bladders/xxxx_one_pump_valves.gif" />This kite uses one pump valves.', 1, 'product_12004', 'bws_aeneema_2016_8m');INSERT INTO `dr18_hikashop_file` ( `file_name`, `file_description`, `file_path`, `file_type`, `file_ref_id`) VALUES ('Aeneema 2016 8m', 'Aeneema 2016 8m', 'cat_2016.png', 'category', 12004);


So, pictures are 110% inserted when I run this. Also, they will be visible on site.

The problem is with categories only, I suspect REBUILD 99% now.

I'll re-check everything and get back to you OK?

THXGG
Tuesday, 12 November 2019 17:21 UTC
wb_weeblr
Hi

So, pictures are 110% inserted when I run this. Also, they will be visible on site.
Not really the question I asked:

- when the images disappear on the front end, are they still present when you go to Hikashop backend and look at the product page in Hikashop admin?
That's the big question to know if sh404SEF has anything to do with it.

Best regards
 
Wednesday, 27 November 2019 05:34 UTC
system
This ticket has been automatically closed. All tickets which have been inactive for a long time are automatically closed. If you believe that this ticket was closed in error, please contact us.
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.