images not displayed

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

images not displayed

Christophe Battarel
Hello,

I have a big problem with a dolibarr instance.

Images do not display !

I have traced viewimage.php and it stops after the instruction
header('Content-Type : image/jpeg');

Rights on file seems to be ok; url is good; php config seems ok too.

Does anybody have an idea ?

I can give a test link by mp if needed.

Thanks

Christophe


_______________________________________________
Dolibarr-dev mailing list
[hidden email]
https://lists.nongnu.org/mailman/listinfo/dolibarr-dev
Reply | Threaded
Open this post in threaded view
|

Re: images not displayed

Laurent Destailleur (aka Eldy)
May be a content was already sent before you make the header content-type (for example due to a var_dump or a print that should not have been done)
In such a case, the header fails and may dies depending on php version and setup.

Le mar. 8 oct. 2019 à 18:14, Christophe Battarel <[hidden email]> a écrit :
Hello,

I have a big problem with a dolibarr instance.

Images do not display !

I have traced viewimage.php and it stops after the instruction
header('Content-Type : image/jpeg');

Rights on file seems to be ok; url is good; php config seems ok too.

Does anybody have an idea ?

I can give a test link by mp if needed.

Thanks

Christophe


_______________________________________________
Dolibarr-dev mailing list
[hidden email]
https://lists.nongnu.org/mailman/listinfo/dolibarr-dev


--
EMail: [hidden email]
Web: https://www.destailleur.fr
Twitter: http://www.twitter.com/eldy10
------------------------------------------------------------------------------------
* Dolibarr (Project leader): https://www.dolibarr.org (make a donation for Dolibarr project via Paypal: [hidden email])
* AWStats (Author) : http://awstats.sourceforge.net (make a donation for AWStats project via Paypal: [hidden email])
* AWBot (Author) : http://awbot.sourceforge.net
* CVSChangeLogBuilder (Author) : http://cvschangelogb.sourceforge.net


_______________________________________________
Dolibarr-dev mailing list
[hidden email]
https://lists.nongnu.org/mailman/listinfo/dolibarr-dev