[Cartoweb-users] one more exportPdf

wochter wochter at seznam.cz
Thu Oct 11 02:31:56 EDT 2007


Hi,
my old problem with exportPdf plugin still persisting.

I try use demoCW3 for debuging...
But, there is the same problem.

1. start demoCW3 project
2. turn on all layers and off raster
3. set 150 dpi in print form
4. set print scale to 500.000
5. set landscape
6. print!

I obtained this issue from my project and from demoCW3 too:

 Failure

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)

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()

Could you help me please?
Thanx

wochter



More information about the Cartoweb-users mailing list