PhotoShow icon indicating copy to clipboard operation
PhotoShow copied to clipboard

No image when hosted by OVH

Open mangoose002 opened this issue 10 years ago • 3 comments

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

mangoose002 avatar Jul 07 '14 12:07 mangoose002

What do you mean by "hosted by OVH"? I have a VPS at OVH and the currrent git version 3d15c06155af6c2340954d4b5a589b19bebf4aac works great.

LudovicRousseau avatar Jul 27 '14 10:07 LudovicRousseau

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

mangoose002 avatar Jul 27 '14 11:07 mangoose002

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.

remi-grumeau avatar Aug 24 '14 20:08 remi-grumeau