iontostar Posted February 20, 2005 Share Posted February 20, 2005 Greetings folks, Have installed the the PDF Catalog contribution. Works fine without images. However when enabling images the script fails with the following error: Warning: fopen(): Unable to access /images/patio-products.jpg in /blah/blah/public_html/admin/pdf_fpdf.php on line 1493 Warning: fopen(/images/patio-products.jpg): failed to open stream: Permission denied in /blah/blah/public_html/admin/pdf_fpdf.php on line 1493 Warning: feof(): supplied argument is not a valid stream resource in /blah/blah/public_html/admin/pdf_fpdf.php on line 1495 Warning: fread(): supplied argument is not a valid stream resource in /blah/blah/public_html/admin/pdf_fpdf.php on line 1496 With the last two errors repeated over and over again. The path to the image is correct because if you remove it then you get a image not found error. All gifs have a corrosponding png or jpg file and the catalogue file has been altered to reflect this. Not that it has made any difference. Now have set everything to 777 which from a security point is pretty bad but still makes no difference. However my hosting company have just told me the server is running in "php safe mode". I am assuming that this is preventing the script from creating tmp files for the PDF creation????????? but really do not know what is going on. Any suggestions welcome. If the fix is move involved and any one wishes to quote me to fix the problem feel free to PM me. Thanks Quote Link to comment Share on other sites More sharing options...
quag2000 Posted June 26, 2005 Share Posted June 26, 2005 Me too. anyone help us? works fine on my non-php safe host's server the php-safe mode server wont allow files to be created in the temp dir. Cheers B. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.