Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

PDF Catalogs v.1.5.8 & PHP Safe mode


iontostar

Recommended Posts

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

Link to comment
Share on other sites

  • 4 months later...

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.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...