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)


_______________________________________________
Cartoweb-users mailing list
[email protected]
http://lists.maptools.org/mailman/listinfo/cartoweb-users

Reply via email to