PhotoShow
PhotoShow copied to clipboard
No image when hosted by OVH
Hello
When hosted by OVH, thumbs do not show up. You just need to add the following code in the 'Provider.php' file:
Line 306: //readfile($path); Line 306: //return;
Line 309: ob_clean(); Line 310: flush();
I hope this will help
Pierre
What do you mean by "hosted by OVH"? I have a VPS at OVH and the currrent git version 3d15c06155af6c2340954d4b5a589b19bebf4aac works great.
Le 27/07/2014 12:04, Ludovic Rousseau a écrit :
What do you mean by "hosted by OVH"? I have a VPS at OVH and the currrent git version 3d15c06 https://github.com/thibaud-rohmer/PhotoShow/commit/3d15c06155af6c2340954d4b5a589b19bebf4aac works great.
— Reply to this email directly or view it on GitHub https://github.com/thibaud-rohmer/PhotoShow/issues/229#issuecomment-50260586.
Hi,
We I installed Photoshown on my laptop running Wamp, I got no problem. When I migrated to OVH (shared hosting), I got no image. I had a look and JPEG had extra caracters in the header making them corrupted.
I added the ob_flush() to clear the buffer and it fixed the problem.
Regards
Ce courrier électronique ne contient aucun virus ou logiciel malveillant parce que la protection avast! Antivirus est active. http://www.avast.com
I have installed PhotoShow on my VPS too and it used to work fine... but now i get a "Failed to load resource: net::ERR_CACHE_MISS" error when i try to upload an image.