[pmapper-users] Tools Print Map with Create PDF Document option FPDF Error

2008-09-17 Thread Hermann Karl
Hi List,

Tools "Download" works fine

sampleURL:"http://localhost/tmp/5e852d6fbfc29c24fcad349e793c499812216581
62032545200.png"

Tools "Print Map" without option "Create PDF Document" works fine.

sampleURL:"http://localhost/pmapper-3.2/printmap.phtml?printscale=37
00&printrefmap=on&PHPSESSID=5e852d6fbfc29c24fcad349e793c4998&config=defa
ult"

Tools Printmap with option "Create PDF Document" produces error

sampleURL:"http://localhost/pmapper-3.2/printmap.phtml?printscale=37
00&printrefmap=on&docformat=pdf&PHPSESSID=5e852d6fbfc29c24fcad349e793c49
98&config=default"

FPDF error: Image file has no extension and no type was specified: void

if you start printmap.phtml without parameter docformat=pdf the printmap
works

any idea what's wrong

Karl



-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users


Re: [pmapper-users] Tools Print Map with Create PDF Document option FPDF Error

2008-09-17 Thread Armin Burger
On 17/09/2008 15:45, Hermann Karl wrote:

> Tools Printmap with option "Create PDF Document" produces error
> 
> sampleURL:"http://localhost/pmapper-3.2/printmap.phtml?printscale=37
> 00&printrefmap=on&docformat=pdf&PHPSESSID=5e852d6fbfc29c24fcad349e793c49
> 98&config=default"
> 
> FPDF error: Image file has no extension and no type was specified: void
> 
> if you start printmap.phtml without parameter docformat=pdf the printmap
> works
> 
> any idea what's wrong
> 

are you using the test data with default configs (ini, map file, etc)? 
Or your own map file etc?

Check in the server tmp directory which image file is created when you 
use the pdf print, maybe it has no extension because you have a custom 
named outputformat definition. Who knows, all is just pure guessing as 
long as you do not provide any more info about your set up.

regards, armin

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users