Page 1 of 1

Re: Error when Pictures are enable !?!

Posted: 26 Feb 2009, 19:15
by Jan
:idea: :( Hi, it seems like TCPDF cannot work with this picture ... but maybe it is caused by wrong file path to the image. Does the image exists in this folder ?

The image should be saved in e.g. images/stories/some-img.jpg ... in standard Joomla! image folder...

Jan

Re: Error when Pictures are enable !?!

Posted: 28 Mar 2009, 01:03
by michael_wds
Hi,
I have a similar Problem. If there are pictures on the site the pdf generating shows the following error:

Code: Select all


Warning: getimagesize() [function.getimagesize]: URL file-access is disabled in the server configuration in /homepages/htdocs/neu/administrator/components/com_phocapdf/assets/tcpdf/tcpdf.php on line 3964

Warning: getimagesize(http://www.bardorf.de/neu/images/stories/key.jpg) [function.getimagesize]: failed to open stream: no suitable wrapper could be found in /homepages/htdocs/neu/administrator/components/com_phocapdf/assets/tcpdf/tcpdf.php on line 3964

Warning: getimagesize() [function.getimagesize]: URL file-access is disabled in the server configuration in /homepages/htdocs/neu/administrator/components/com_phocapdf/assets/tcpdf/tcpdf.php on line 4170

Warning: getimagesize(http://www.bardorf.de/neu/images/stories/key.jpg) [function.getimagesize]: failed to open stream: no suitable wrapper could be found in /homepages/21/d13454570/htdocs/neu/administrator/components/com_phocapdf/assets/tcpdf/tcpdf.php on line 4170
TCPDF ERROR: Missing or incorrect image file: http://www.bardorf.de/neu/images/stories/key.jpg
The pictures are in the folder stories.

Re: Error when Pictures are enable !?!

Posted: 30 Mar 2009, 21:53
by Jan
Hi, see your server if the image is here. If yes then you need to change permissions of the file...

EDIT:
I have added the url into the URL bar (http://www.bardorf.de/neu/images/stories/key.jpg) and the image is here, so there is some problem with adding it into pdf but why? Try to check the permissions (but if it is accessable from web ??? no idea why it cannot be accessable while adding it into pdf ??? :( )

Jan

Re: Error when Pictures are enable !?!

Posted: 06 Apr 2009, 20:45
by michael_wds
Hi,

I tried to change the file permissions to 777 and also the folder to 777 but nothing changed.
I have tried out another webspace at a different webhoster and it is also the same.
The funny thing is with the local xampp installation on my pc it works fine!!!!!!!!
Tomorrow I am going to try to put all files into the mainfolder not the /neu/ folder maybe it works just on the highest level???

After testing tomorrow I tell you my results.

Re: Error when Pictures are enable !?!

Posted: 15 Apr 2009, 22:49
by Jan
ok