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 <
christophe.batta...@altairis.fr> 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
> Dolibarr-dev@nongnu.org
> https://lists.nongnu.org/mailman/listinfo/dolibarr-dev
>


-- 
EMail: e...@destailleur.fr
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: cont...@destailleur.fr)
* AWStats (Author) : http://awstats.sourceforge.net (make a donation for
AWStats project via Paypal: cont...@destailleur.fr)
* AWBot (Author) : http://awbot.sourceforge.net
* CVSChangeLogBuilder (Author) : http://cvschangelogb.sourceforge.net
_______________________________________________
Dolibarr-dev mailing list
Dolibarr-dev@nongnu.org
https://lists.nongnu.org/mailman/listinfo/dolibarr-dev

Répondre à