Tagged: template 10
June 24, 2016 at 9:44 pm #13546gargamael200Member
On my photo gallerys I am using template 10. Sometimes the “light box” section has an error when loading.
It states “The Requested Content Can Not Be Loaded”
Click an image to see the error [http://fiftheyephotography.com/index.php/photogallery/gallery10/]
How do I fix the issue? I tried switching to another template and back and that didn’t seem to work.
Thank you for your supportJune 25, 2016 at 1:46 am #73525PeterMember
What is the full size of some of those photos?
If they are quite large and if your server does not have enough PHP memory and resources to perform the required image processing and resizing, then you will see the current behaviour.
Can you please check the following:
1) Find the php error log file and check to see if there are any errors relating to the photos in that gallery or the photo seller in general
2) check your server PHP memory_limit value and let us know what it is.
(Ask you host provider support guys to assist you if you don’t know how to obtain the above info)June 26, 2016 at 1:22 pm #73526gargamael200Member
Thank you for your support. Here are the answers to your questions.
Full size of the photos are pretty big. High res. 3000+ PX wide or tall
[26-May-2016 18:17:56 UTC] PHP Warning: imagecreatefromjpeg(): gd-jpeg: JPEG library reports unrecoverable error: in /home4/rparenti/public_html/www.Fiftheyephotography.com/wp-content/plugins/wp-photo-seller/models/WPSCommon.php on line 2661
[26-May-2016 18:17:56 UTC] PHP Warning: imagecreatefromjpeg(): ‘/home4/rparenti/public_html/www.Fiftheyephotography.com/wp-content/uploads/wp_photo_seller/1/tpk036dhur/A1AB.jpg’ is not a valid JPEG file in /home4/rparenti/public_html/www.Fiftheyephotography.com/wp-content/plugins/wp-photo-seller/models/WPSCommon.php on line 2661
2. memory_limit = 256M
Do you know what I should do to fix the images?
thank you!June 27, 2016 at 12:53 am #73527PeterMember
Your logs show several fatal errors due to insufficient memory.
Also the actual memory available for your site is much less than the value you stated, ie,
you said you have memory_limit = 256M, but the actual memory_limit available is much less than that as can be seen by the following errors:
[23-Jun-2016 21:45:27 UTC] PHP Fatal error: Out of memory (allocated 108527616) (tried to allocate 13008 bytes) in /home4/rparenti/public_html/www.Fiftheyephotography.com/wp-content/plugins/wp-photo-seller/models/WPSCommon.php on line 2661
The above logs indicate that the memory available is more like 108M and not 256M.
Once you fix the main PHP RAM memory error, all the other errors will go away.
Are you on a shared server? If so, you may be limited as to how much memory you can have.
Ask your host support guys to set your memory_limit to 256M or 512M. If they say that you already have that much memory show them the logs and tell them that you actually have a lot less than that available.
NOTE: shared servers are usually not good enough for the processing of high definition photos. I recommend that if you are serious about selling photos online, then you should look at upgrading your hosting to a VPS server.
- You must be logged in to reply to this topic.