- Posts: 107
- Thank you received: 1
problem to upload images
I moved the site to a new server and since then my client has been having problems uploading images, I though it was a permissions issue so I changed the rights of the upload folder to 777, I don't experience the problem but he does only with some products, basically the image is uploaded, showing in the back end, but it's not saving, after attempting to save it the default image shows, which is in this case a barcode.
Most of the hanging chairs section is troublesome but also the Brasilian hammock with spreaders, Rainbow hammock for kids.
I searched for similar post but couldn't find any... Could you please look into that for me.
Thanks,
Kashka
-- url of the page with the problem -- : hammockology.ie/hammocks/
Please Log in or Create an account to join the conversation.
- Posts: 12953
- Thank you received: 1778
Can you :
- Active the Joomla debug mode ("Administration->Global configuration->System->Debug System/Language")
- Set the "error reporting" option of the Joomla configuration to "maximum"
- Test it again so that we can see if it display an error message.
Thanks.
Please Log in or Create an account to join the conversation.
Thanks for looking into that.
I did what you said and asked my client to upload the images to one of the trouble product (Brasilian Cotton Hammock with Spreader bar), please see his comments below:
"I've just reloaded 3 images to Brasilian Cotton hammock with spreaders. The only one that was showing before is the fabric close up so I left it in. Strangely, out of the 3 images 2 saved and the first one, the main image didn't. They all come from the same folder and have been resized to 1000pixels. There are no error messages that I can see either in the front or back end. The thumbnails are tiny but do blow up to the correct size when clicked"
The last line regards thumbnails being tiny is that when at least one of the images don't upload and the default image is showing (barcode) then the layout is interrupted too, thumbnails are tiny and it doesn't pull the magiczoom class which is enabled for the product detail view, that could be a clue..?
I'm investigating the image upload further and noticed that many images are not assigned to the product anymore after the migration, image files are copied, they are on the new server but lost the connection with the product, as per example below:
hammocks.ie/hammocksUAT/index.php/hangin...padded-hanging-chair
and the new test site:
hammockology.ie/hammocks/index.php/hangi...padded-hanging-chair
It would take ages to reassign them again, any ideas?
Thanks,
Kashka
Please Log in or Create an account to join the conversation.
Please check with your client that he didn't try to upload too big images.
Big in file size - because there is a upload limitation in your web server.
Big in image size - because HikaShop will reprocess too big images (according to your configuration, for the max image size). It has to generate some thumbnails too.
The thumbnail generation and the reprocessing image are memory consuming. The server have to load the entire uncompressed image in his memory to resize it.
Depending to your server configuration, you can reach a memory limitation.
This kind of error can be seen in the PHP error log. That's why Mohamed asked you to activate it in order to see them and look at them.
Regards,
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Please Log in or Create an account to join the conversation.
All images were resized (average 1200x800, 300KB ), I have 256M memory, maximum upload file size 16MB, which is a lot.
Would you mind to have a look at my php.ini and see if there is anything to be changed in order to solve this problem?
hammockology.ie/hammocks/php-info.php
Thanks,
Kashka
Please Log in or Create an account to join the conversation.
As Jerome said, thanks to enable the error logs, and then see the content of this error log file.
It will give us more informations and help us to see the origin of the problem.
Please Log in or Create an account to join the conversation.
Debugging was enabled for over a week, I had to switch it off due to problem with editing the plugins, can you let me know when you can look into it and I will enable it again, please?
Thanks,
Kashka
Please Log in or Create an account to join the conversation.
We are not talking about the Joomla debug mode
But about the PHP error log, it's a server side configuration and the error log file is stored on your server.
You can ask to your hosting provider to do the modifications in order to have this log enabled and tell you how to get the content of the error log file.
Please Log in or Create an account to join the conversation.
Ok, finally I got the error thingy working, you can access it via below link:
hammockology.ie/hammocks/PHP_errors.log
or I attached it too, please please help, my client is not able to upload any product images!
Thanks,
Kashka
Please Log in or Create an account to join the conversation.
The link return an empty file.
Does the error log empty in your side ?
Regards,
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Please Log in or Create an account to join the conversation.
it is empty, what should it be populated with? I'm not familiar with that.
Thanks,
Kashka
Please Log in or Create an account to join the conversation.
hammockology.ie/hammocks/PHP_errors.log
Thanks,
Kashka
Please Log in or Create an account to join the conversation.
Sorry, there was some misunderstanding.
In the error log file, all the errors are related on the megamenu module, nothing about the images.
Could you provide a backend and a ftp access in order to debug this issue directly on your end ?
Please Log in or Create an account to join the conversation.
Kashka
Please Log in or Create an account to join the conversation.
You can use private message, or the "contact us" form (with a link to this forum thread).
regards,
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Please Log in or Create an account to join the conversation.
Kashka
Please Log in or Create an account to join the conversation.
Sorry for the late reply, could you give us more informations about the current situation ?
What have been tried since the last time, etc.
An update to our latest version could potentially solve this issue too, you can get it from our website.
Please Log in or Create an account to join the conversation.