Tuesday, April 16, 2024

Solve ‘fread(): supplied argument is not a valid stream resource in /tcpdf.php on line 3915’

I just troubleshooted a linux server issue where my HTTP error log files grow so fast. I found many lines similar like this one:

[Sat May 12 21:45:37 2009] [error] [client xx.xx.xxx.xxx] PHP Warning:  fread(): supplied argument is not a valid stream resource in /htdocs/libraries/tcpdf/tcpdf.php on line 3915

This seamed to be a permission issues. I already had set 777 to:

/tmp

but I found another cache folder which must be set to 777:

/libraries/tcpdf/cache

this seamed to solve the issue.

Related Articles

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Stay Connected

35FollowersFollow
- Advertisement -

Latest Articles