[Cartoweb-users] one more exportPdf
wochter
wochter at seznam.cz
Thu Oct 11 05:21:20 EDT 2007
Yes, the file is present in directory
/var/www/cartoweb3/htdocs/generated/images
ls -l :
-rw-r--r-- 1 www-data www-data 225079 2007-10-11 11:12 470de8f2_2057_0.png
I can see it with gwenview, and is correct :-(
wochter
Oliver Christen wrote / napísal(a):
> Hi
> it seems fpdf can not read or open a file (470dc21a_1921_7.png in the
> backtrace below).
> does the file exist in that folder? does it look ok (open it in a
> graphic editor)? and are all the rights on the files and folder correct ?
>
> regards
> Oliver
>
>>
>> Class : CartocommonException
>> Message : Error [2, fread() [function.fread]: Length parameter must be
>> greater than 0, /usr/share/php/fpdf/fpdf.php, 1563]
>> Backtrace:
>>
>> file: UNKNOWN - UNKNOWN
>> call: Common::cartowebErrorHandler(2, "fread() [function.fread]: Length
>> pa...", "/usr/share/php/fpdf/fpdf.php", 1563, Array(13))
>>
>> file: 1563 - /usr/share/php/fpdf/fpdf.php
>> call: fread(Resource(#8080), -2147482907)
>>
>> file: 912 - /usr/share/php/fpdf/fpdf.php
>> call:
>> FPDF->_parsepng("/var/www/cartoweb3/htdocs/generated/images/470dc21a_1921_7.png")
>>
>>
>> file: 1027 - /var/www/cartoweb3/plugins/exportPdf/client/CwFpdf.php
>> call:
>> FPDF->Image("/var/www/cartoweb3/htdocs/generated/images/470dc21a_1921_7.png",
>>
>> 20.25, 20.25, 257, 170, "", "")
>>
>> file: 518 - /var/www/cartoweb3/plugins/exportPdf/client/CwFpdf.php
>> call:
>> CwFpdf->addImage("/var/www/cartoweb3/htdocs/generated/images/470dc21a_1921_7.png",
>>
>> 20.25, 20.25, 257, 170)
>>
>
>
More information about the Cartoweb-users
mailing list