Php error log file shows the following:

"[28-Sep-2009 16:18:31] P.MAPPER-ERROR: Wrong entry for
'pm_search_configfile' in config. File not existing
[28-Sep-2009 16:18:34] PHP Fatal error:  Call to a member function
saveImage() on a non-object in /var/www/htdocs/GIS/incphp/common.php on line
255
"

Line 255 to my common.php is this:     $mapImg->saveImage($tmpFileNameAbs,
$map);




Andreas P. wrote:
> 
> The first time I tried to select "print" tool, pm_debug.log had this:
> "
> PDF printing settings
>  Array
> (
>     [author] => Armin Burger
>     [pdftitle] => p.mapper
>     [defFont] => FreeSans
>     [defFontSize] => 9
>     [defFontColor] => 0,0,0
>     [printCategory] => 1
>     [top_height] => 30
>     [top_color] => 255,255,255
>     [top_bgcolor] => 51,102,153
>     [top_logo] => ./images/logos/logo.png
>     [format] => Array
>         (
>             [0] => SimpleXMLElement Object
>                 (
>                     [...@attributes] => Array
>                         (
>                             [papersize] => A4
>                             [orientation] => P
>                         )
> 
>                     [map] => Array
>                         (
>                             [0] => SimpleXMLElement Object
>                                 (
>                                     [...@attributes] => Array
>                                         (
>                                             [width] => 700
>                                             [height] => 540
>                                             [type] => normal
>                                         )
> 
>                                 )
> 
>                             [1] => SimpleXMLElement Object
>                                 (
>                                     [...@attributes] => Array
>                                         (
>                                             [width] => 750
>                                             [height] => 540
>                                             [type] => full
>                                         )
> 
>                                 )
> 
>                         )
> 
>                 )
> 
>             [1] => SimpleXMLElement Object
>                 (
>                     [...@attributes] => Array
>                         (
>                             [papersize] => A4
>                             [orientation] => L
>                         )
> 
>                     [map] => SimpleXMLElement Object
>                         (
>                             [...@attributes] => Array
>                                 (
>                                     [width] => 700
>                                     [height] => 540
>                                 )
> 
>                         )
> 
>                 )
> 
>             [2] => SimpleXMLElement Object
>                 (
>                     [...@attributes] => Array
>                         (
>                             [papersize] => A3
>                             [orientation] => P
>                         )
> 
>                     [map] => SimpleXMLElement Object
>                         (
>                             [...@attributes] => Array
>                                 (
>                                     [width] => 700
>                                     [height] => 540
>                                 )
> 
>                         )
> 
>                 )
> 
>             [3] => SimpleXMLElement Object
>                 (
>                     [...@attributes] => Array
>                         (
>                             [papersize] => A3
>                             [orientation] => L
>                         )
> 
>                     [map] => SimpleXMLElement Object
>                         (
>                             [...@attributes] => Array
>                                 (
>                                     [width] => 700
>                                     [height] => 540
>                                 )
> 
>                         )
> 
>                 )
> 
>         )
> 
>     [printtitle] => 
>     [width] => 700
>     [height] => 540
>     [type] => normal
> )
> "
> 
> Now, there is no new entry in log file.
> 
> Thank you once more!
> 
> 
> 
> 
> Thomas RAFFIN wrote:
>> 
>> Hi,
>> 
>> You should have something in your log files... Could you look at them 
>> please and tell us more?
>> 
>> Thomas
>> 
>> Andreas P. a écrit :
>>> Hello everybody!
>>>
>>> I am using pmapper 4, PHP 5.2.5 and the application I am developing
>>> works
>>> fine on windows environment.
>>>
>>> When I transfer the application in Linux system (Slackware), print tool
>>> doesn't work and a blank page is displayed!
>>>
>>> In the same Linux machine, I have pmapper 3.2. and print tool works
>>> fine,
>>> with no problem.
>>>
>>> Why happens so? Could anyone please give me solution to this problem?
>>>
>>>
>>> Thank you in advance!
>>>
>>>
>>> Regards,
>>>
>>> p.
>>>   
>> 
>> ------------------------------------------------------------------------------
>> Come build with us! The BlackBerry® Developer Conference in SF, CA
>> is the only developer event you need to attend this year. Jumpstart your
>> developing skills, take BlackBerry mobile applications to market and stay 
>> ahead of the curve. Join us from November 9-12, 2009. Register
>> now!
>> http://p.sf.net/sfu/devconf
>> _______________________________________________
>> pmapper-users mailing list
>> pmapper-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/pmapper-users
>> 
>> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/%22Print%22-function-works-only-in-Windows-and-not-in-Linux-tp25644153p25645179.html
Sent from the pmapper users mailing list archive at Nabble.com.


------------------------------------------------------------------------------
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
_______________________________________________
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users

Reply via email to