|
View:
New views
7 Messages
—
Rating Filter:
Alert me
|
|
|
"Print" function works only in Windows and not in LinuxHello 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. |
|
|
Re: "Print" function works only in Windows and not in LinuxHi,
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@... https://lists.sourceforge.net/lists/listinfo/pmapper-users |
|
|
Re: "Print" function works only in Windows and not in LinuxThe 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!
|
|
|
Re: "Print" function works only in Windows and not in LinuxAnd what about your PHP error log please ?
Andreas P. a écrit : > 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@... >> https://lists.sourceforge.net/lists/listinfo/pmapper-users >> >> >> > > 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@... https://lists.sourceforge.net/lists/listinfo/pmapper-users |
|
|
Re: "Print" function works only in Windows and not in LinuxPhp 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);
|
|
|
Re: "Print" function works only in Windows and not in LinuxAny help please??
p.
|
|
|
Re: "Print" function works only in Windows and not in LinuxHi,
Have you got errors concerning PHP in your Apache or PHP error log ? Sometimes the errors that appears on Linux but not on Windows are due to case sensitive file path. Maybe your logo image is not correct. But it should be report on log files... If you couldn't see them, try to temporary change your PHP configuration (in php.ini for instance) : error_reporting = E_ALL | E_STRICT display_errors = On Thomas Andreas P. a écrit : > Any help please?? > > p. > > Thomas RAFFIN wrote: > >> And what about your PHP error log please ? >> >> Andreas P. a écrit : >> >>> 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@... >>>> https://lists.sourceforge.net/lists/listinfo/pmapper-users >>>> >>>> >>>> >>>> >>> >>> >> ------------------------------------------------------------------------------ >> 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@... >> https://lists.sourceforge.net/lists/listinfo/pmapper-users >> >> >> > > 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@... https://lists.sourceforge.net/lists/listinfo/pmapper-users |
| Free embeddable forum powered by Nabble | Forum Help |