Products disappeared

  • Posts: 73
  • Thank you received: 1
11 years 7 months ago #122764

Hi,
I was working on hikashop and I created new categories.
After creating this category, I edited several products, and choose to add it to the new category. Then I deleted the previous one and save. I did that for several products.
Consequence: the products disappeared. Impossible to find them.
So as test I tried to recreate one and the message is that this product already exists. Ok but where?.....
I tried several things I cannot find them.
(in the configuration of the website, the cache is already off.)
I hope to read you soon!

Please Log in or Create an account to join the conversation.

  • Posts: 26226
  • Thank you received: 4035
  • MODERATOR
11 years 7 months ago #122767

Hi,

Please try to show "all sub elements" and select the "Root" category.
You should use any category filter and I suppose you should find your products without categories.

Regards,


Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

Please Log in or Create an account to join the conversation.

  • Posts: 73
  • Thank you received: 1
11 years 7 months ago #122768

Of course I did that ;-) and I have none of these products.
More than that. I just created a brand new products, saved it, and... there is nothing in the category!...
I am desperate...
What can I do?

Please Log in or Create an account to join the conversation.

  • Posts: 73
  • Thank you received: 1
11 years 7 months ago #122784

Any news, ideas, and solutions about my problem?...

Please Log in or Create an account to join the conversation.

  • Posts: 83671
  • Thank you received: 13545
  • MODERATOR
11 years 7 months ago #122785

Then try to create again a new product and this time turn on the debug mode and error reporting options of the joomla configuration before. Do you get any error ?

Please Log in or Create an account to join the conversation.

  • Posts: 83671
  • Thank you received: 13545
  • MODERATOR
11 years 7 months ago #122892

Hi,

Your products were not lost. they were just not linked to any category anymore.
I went to the menu System>Mass actions that you have on your website and used a mass action to add them back to the main product category of your website.

Regarding the images, I could indeed see the problem. However, as there is no error message after the file is uploaded I don't know what it could be. Could you look at your server PHP error log for any fatal error message you might have had today ?

In the mean time, instead of uploading directly the images in the products, you can upload them via FTP in the folder media/com_hikashop/upload and them use the "select" button when editing your products to select them instead of uploading them and it will work.

Please Log in or Create an account to join the conversation.

  • Posts: 73
  • Thank you received: 1
11 years 7 months ago #122908

Hi Nicolas,
Thank you for your post and help :-)
However:
1- I well found three products but others are still missing. Can you tell me if there is another place I can look. The name is "Tessera." There are at least two products with this name.
2- Sorry, but where I can find what you call: "server PHP error log"?

Thank you again!

Please Log in or Create an account to join the conversation.

  • Posts: 73
  • Thank you received: 1
11 years 7 months ago #122912

Hi,
I tried to do as you said regarding the images.
That doesn't work. When I want to go to the second page to find the image, I obtain a white screen on the popup and nothing is possible....
What could be the solution?

Last edit: 11 years 7 months ago by julian56.

Please Log in or Create an account to join the conversation.

  • Posts: 26226
  • Thank you received: 4035
  • MODERATOR
11 years 7 months ago #122941

Hi,

For the products, if you have the possibility, the best is to look at them in the database directly and recreate links with categories in the table "product_category".
I will check HikaShop in order to avoid such problem in the future.

For the PHP error log, you should ask you web hosting, it will be easier. Otherwise you can try to increase the level of the "error reporting" in Joomla, it can display the error message instead of displaying a white page.

Regards,


Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

Please Log in or Create an account to join the conversation.

  • Posts: 73
  • Thank you received: 1
11 years 7 months ago #122945

Do you think I can try to reinstall Hikashop?
Is it safe for what is already in Hikashop?

Thank you!

Please Log in or Create an account to join the conversation.

  • Posts: 73
  • Thank you received: 1
11 years 7 months ago #122949

OK I did what you said and here is the error I obtain about this impossibility to add images to the products:
______________
Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 27068692 bytes) in /home/content/j/u/l/julianus/html/administrator/components/com_hikashop/helpers/image.php on line 748
______________

When I am trying to browse the images to select one, the errors code I have is:
______________
Warning: imagecreatefromjpeg() [function.imagecreatefromjpeg]: gd-jpeg, libjpeg: recoverable error: Corrupt JPEG data: 5757 extraneous bytes before marker 0xe2 in /home/content/j/u/l/julianus/html/administrator/components/com_hikashop/helpers/image.php on line 745

Warning: imagecreatefromjpeg() [function.imagecreatefromjpeg]: '/home/content/j/u/l/julianus/html/media/com_hikashop/upload/cd_audio_orphic_hymns_b.jpg' is not a valid JPEG file in /home/content/j/u/l/julianus/html/administrator/components/com_hikashop/helpers/image.php on line 745

Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 27068692 bytes) in /home/content/j/u/l/julianus/html/administrator/components/com_hikashop/helpers/image.php on line 748
______________

What can I do?
I hope to read you soon,
Thank you!

Last edit: 11 years 7 months ago by julian56. Reason: add more information

Please Log in or Create an account to join the conversation.

  • Posts: 26226
  • Thank you received: 4035
  • MODERATOR
11 years 7 months ago #122970

Hi,

About the fatal error
I guess that the gallery is trying to create thumbnails for the images you have.
Problem is that, if the images are too big, it could use a lot of memory which is not right released by the GD Library.
When the thumbnail is created, HikaShop won't retry to generate it so, time after time, all thubmnails will be created.

You can try to use a smaller number of images per page, it we can hope that processing less images won't overpass the memory limit. so you will be able to generate all thumbnails for your images.

About the warnings
It looks like you have an invalid image in your gallery and when GD is trying to open it for creating a thumbnail, it detects an error and try to fix it. For the image "cd_audio_orphic_hymns_b.jpg'" the file is maybe not a real image file or could be a "png" file (so the function can't open the file as a jpg, if it's not).

Regards,


Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

Please Log in or Create an account to join the conversation.

Time to create page: 0.071 seconds
Powered by Kunena Forum