[Cartoweb-users] exportPdf doesn't work

WochteR wochter at seznam.cz
Tue Jul 31 08:35:18 EDT 2007


Hi All,
I'm working on the cvs version and exportPdf doesn't work.
Could you help me please?

It returns this message:


Class : CartocommonException
Message : Error [2, fread() [function.fread]: Length parameter must be greater than 0, /var/www/cartoweb3/include/fpdf/fpdf.php, 1587]
Backtrace:

file: UNKNOWN - UNKNOWN
call: Common::cartowebErrorHandler(2, "fread() [function.fread]: Length pa...", "/var/www/cartoweb3/include/fpdf/fpdf.php", 1587, Array(15))

file: 1587 - /var/www/cartoweb3/include/fpdf/fpdf.php
call: fread(Resource(#761), -2147475583)

file: 914 - /var/www/cartoweb3/include/fpdf/fpdf.php
call: FPDF->_parsepng("/var/www/cartoweb3/htdocs/generated/images/46af2bdf_1e03_3.png")

file: 1027 - /var/www/cartoweb3/plugins/exportPdf/client/CwFpdf.php
call: FPDF->Image("/var/www/cartoweb3/htdocs/generated/images/46af2bdf_1e03_3.png", 20.25, 20.25, 170, 257, "", "")

file: 518 - /var/www/cartoweb3/plugins/exportPdf/client/CwFpdf.php
call: CwFpdf->addImage("/var/www/cartoweb3/htdocs/generated/images/46af2bdf_1e03_3.png", 20.25, 20.25, 170, 257)

file: 1327 - /var/www/cartoweb3/plugins/exportPdf/client/ClientExportPdf.php
call: CwFpdf->addGfxBlock(Object(PdfBlock))

file: 1445 - /var/www/cartoweb3/plugins/exportPdf/client/ClientExportPdf.php
call: ClientExportPdf->addBlock(Object(CwFpdf), Object(PdfBlock))

file: 1532 - /var/www/cartoweb3/plugins/exportPdf/client/ClientExportPdf.php
call: ClientExportPdf->getExport()

file: 1172 - /var/www/cartoweb3/client/Cartoclient.php
call: ClientExportPdf->output()

file: 1263 - /var/www/cartoweb3/client/Cartoclient.php
call: Cartoclient->doExport(Object(ClientExportPdf))

file: 33 - /var/www/cartoweb3/htdocs/client.php
call: Cartoclient->main()

file: 3 - /var/www/cartoweb3/htdocs/bystrica.php
call: require_once("/var/www/cartoweb3/htdocs/client.php")


thank you
wochter


More information about the Cartoweb-users mailing list