[pmapper-users] R: Fwd: blank map.phtml

2010-09-09 Thread Serafino Scanu

Hi
You can insert in map file on tag MAP this 2 line:

DEBUG 5
CONFIG MS_ERRORFILE /usr/local/www/tmp/ms_tmp/ms_error_ppc.txt

Debugging can be from 1 to 5 according to the messages you want to view, 
warnings or errors ..

Sorry for my english google



-Messaggio originale-
Da: Fco. Javier García Ricca [mailto:fjri...@gmail.com] 
Inviato: mercoledì 8 settembre 2010 15.01
A: pmapper-users@lists.sourceforge.net
Oggetto: [pmapper-users] Fwd: blank map.phtml

Hello Thomas,

I have wrote error_log = /usr/local/apache/php/php_errors.log in php.ini
but I am not sure how can I enable pmapper debugging.

Now, when I run http://localhost/phpinfo.info I get the next php_errors.log

[08-Sep-2010 14:43:45] PHP Warning:  phpinfo() [a
href='function.phpinfo'function.phpinfo/a]: It is not safe to rely on the
system's timezone settings. You are *required* to use the date.timezone
setting or the date_default_timezone_set() function. In case you used any of
those methods and you are still getting this warning, you most likely
misspelled the timezone identifier. We selected 'Europe/Berlin' for
'CEST/2.0/DST' instead in /usr/local/apache/htdocs/phpinfo.php on line 14

However, when I run http://localhost/necropolis/map.phtml I don't get any
error.

Thanks in advance¡

2010/9/8 Thomas RAFFIN traf...@sirap.fr

  Hi,

 You have to active PHP error logging (for instance in php.ini,
 log_errors = on) and pmapper debugging (see here :
 http://svn.pmapper.net/trac/wiki/FaqDebugging and search Enable
 p.mapper debugging)

 And send us the php_errors.log and pm_debug.log please

 Le 08/09/2010 12:37, Fco. Javier García Ricca a écrit :
  Hello,
 
  I am trying to run pmapper in CenOS but at the moment I can not do it.
  Mapserver is properly run but when I run pmap.phtml nothing happens and
 the
  page is blank. The apache error_log is ok and the access_log shows the
  following:
 
  127.0.0.1 - - [08/Sep/2010:12:00:37 +0200] GET /necropolis/map.phtml
  HTTP/1.1 200 6612
  127.0.0.1 - - [08/Sep/2010:12:00:37 +0200] GET
  /necropolis/images/favicon.ico HTTP/1.1 200 1406
  127.0.0.1 - - [08/Sep/2010:12:00:37 +0200] GET
  /necropolis/templates/default.css HTTP/1.1 200 3527
  127.0.0.1 - - [08/Sep/2010:12:00:37 +0200] GET
  /necropolis/templates/layout.css HTTP/1.1 200 10526
  127.0.0.1 - - [08/Sep/2010:12:00:37 +0200] GET
  /necropolis/templates/jquery.treeview.css HTTP/1.1 200 3243
  127.0.0.1 - - [08/Sep/2010:12:00:37 +0200] GET
  /necropolis/templates/toc.css HTTP/1.1 200 2901
  127.0.0.1 - - [08/Sep/2010:12:00:37 +0200] GET
  /necropolis/templates/query.css HTTP/1.1 200 4443
  127.0.0.1 - - [08/Sep/2010:12:00:37 +0200] GET
  /necropolis/templates/dialog.css HTTP/1.1 200 2124
  127.0.0.1 - - [08/Sep/2010:12:00:37 +0200] GET
  /necropolis/templates/jquery.layout.css HTTP/1.1 200 768
  127.0.0.1 - - [08/Sep/2010:12:00:37 +0200] GET
 /necropolis/images/pixel.gif
  HTTP/1.1 200 37
 
  Any ideas for this rookie.
 
  Thanks
 


 --
 This SF.net Dev2Dev email is sponsored by:

 Show off your parallel programming skills.
 Enter the Intel(R) Threading Challenge 2010.
 http://p.sf.net/sfu/intel-thread-sfd
 ___
 pmapper-users mailing list
 pmapper-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/pmapper-users




-- 
FJRicca
--
This SF.net Dev2Dev email is sponsored by:

Show off your parallel programming skills.
Enter the Intel(R) Threading Challenge 2010.
http://p.sf.net/sfu/intel-thread-sfd
___
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users



--
This SF.net Dev2Dev email is sponsored by:

Show off your parallel programming skills.
Enter the Intel(R) Threading Challenge 2010.
http://p.sf.net/sfu/intel-thread-sfd
___
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users


Re: [pmapper-users] R: Fwd: blank map.phtml

2010-09-09 Thread Fco . Javier García Ricca
I don't think that is the problem because when I check mapserver with
prueba1.html and it works fine. I can see the image in the web without any
problem.

html
headtitlePRUEBA1/title/head
center
/center

body
table width=100 height=100 border=0 align=center
tr
td height=45 align=center
form method=POST action=/cgi-bin/mapserv
input type=submit value=Iniciar  Mapserver
input type=hidden name=program value=/cgi-bin/mapserv
input type=hidden name=map
value=/usr/local/apache/gis/pmapper-4.0.0/config/default/pmapper_demo.map
input type=hidden name=layer value=countries
input type=hidden name=layer value=cities1eu
input type=hidden name=layer value=rivers
/form
/td
/tr
 /table
/body
/html





2010/9/9 Serafino Scanu s.sc...@riteco.it

 If the images created correctly (see map in what should be) the problem
 seems the configuration of folders
  ImagePath and ImageUrl
 verification as are setup application that works (I think gmap)
 You can post the mapfile?
 I had a similar problem on Ubuntu and I solved by setting the correct paths
 and privilege.


 -Messaggio originale-
 Da: Fco. Javier García Ricca [mailto:fjri...@gmail.com]
 Inviato: giovedì 9 settembre 2010 10.46
 A: pmapper-users@lists.sourceforge.net
 Oggetto: Re: [pmapper-users] Fwd: blank map.phtml

 The tmp folder has total privileges. In fact, when I run mapserver
 generated
 images correctly. I think the problem may lie in the connection between
 pmapper and mapserver and php nut I do not know where i the problem and how
 to fix it.

 Thanks

 2010/9/9 Serafino Scanu s.sc...@riteco.it

  hi
  Probably the problem lies in the privileges probleame and / or location
 of
  the tmp folder of images.
 
  Verify
 
 
   ImagePath / usr / local / www / tmp /test well location
 
   ImageUrl / tmp / test well location
 
 
  have write privileges
 
  To test this do a chmod 777 on all folders and subfolders of / opt / FGS
 if
  it works the problem lies in the privileges
 
 
  -Messaggio originale-
  Da: Fco. Javier García Ricca [mailto:fjri...@gmail.com]
  Inviato: giovedì 9 settembre 2010 10.01
  A: pmapper-users@lists.sourceforge.net
  Oggetto: Re: [pmapper-users] Fwd: blank map.phtml
 
  Hello Serafino,
 
  I had already this in the mapfile and don't return and return no errors
  when
  I run mapserver.
 
  [Thu Sep  9 09:43:56 2010].945085 msDrawMap(): Layer 2 (countries),
 0.192s
  [Thu Sep  9 09:43:57 2010].163646 msDrawMap(): Layer 3 (cities1eu),
  0.218s
  [Thu Sep  9 09:43:57 2010].227870 msDrawMap(): Layer 4 (rivers), 0.064s
  [Thu Sep  9 09:43:57 2010].228870 msDrawMap(): Drawing Label Cache,
 0.000s
  [Thu Sep  9 09:43:57 2010].229399 msDrawMap() total time: 0.481s
  [Thu Sep  9 09:43:57 2010].275871 msSaveImage() total time: 0.044s
  [Thu Sep  9 09:43:57 2010].393324 mapserv request processing time
 (loadmap
  not incl.): 0.645s
  [Thu Sep  9 09:43:57 2010].393353 msFreeMap(): freeing map at 0x986b800.
 
  When I call the map.phtml the page shows blank and don't show errors in
  ms_error.txt, apache_error.txt and php_error.txt. Only can I see this in
  the
  access_log:
 
  127.0.0.1 - - [09/Sep/2010:09:56:39 +0200] GET /necropolis/map.phtml
  HTTP/1.1 304 -
  127.0.0.1 - - [09/Sep/2010:09:56:39 +0200] GET
  /necropolis/templates/default.css HTTP/1.1 304 -
  127.0.0.1 - - [09/Sep/2010:09:56:39 +0200] GET
  /necropolis/templates/jquery.treeview.css HTTP/1.1 304 -
  127.0.0.1 - - [09/Sep/2010:09:56:39 +0200] GET
  /necropolis/templates/toc.css HTTP/1.1 304 -
  127.0.0.1 - - [09/Sep/2010:09:56:39 +0200] GET
  /necropolis/templates/query.css HTTP/1.1 304 -
  127.0.0.1 - - [09/Sep/2010:09:56:39 +0200] GET
  /necropolis/templates/dialog.css HTTP/1.1 304 -
  127.0.0.1 - - [09/Sep/2010:09:56:39 +0200] GET
  /necropolis/templates/jquery.layout.css HTTP/1.1 304 -
  127.0.0.1 - - [09/Sep/2010:09:56:39 +0200] GET
  /necropolis/templates/layout.css HTTP/1.1 304 -
  127.0.0.1 - - [09/Sep/2010:09:56:39 +0200] GET
  /necropolis/images/pixel.gif
  HTTP/1.1 304 -
 
 
  Thanks
 
  2010/9/9 Serafino Scanu s.sc...@riteco.it
 
  
   Hi
   You can insert in map file on tag MAP this 2 line:
  
   DEBUG 5
   CONFIG MS_ERRORFILE /usr/local/www/tmp/ms_tmp/ms_error_ppc.txt
  
   Debugging can be from 1 to 5 according to the messages you want to
 view,
   warnings or errors ..
  
   Sorry for my english google
  
   -Messaggio originale-
   Da: Fco. Javier García Ricca [mailto:fjri...@gmail.com]
   Inviato: mercoledì 8 settembre 2010 15.01
   A: pmapper-users@lists.sourceforge.net
   Oggetto: [pmapper-users] Fwd: blank map.phtml
  
   Hello Thomas,
  
   I have wrote error_log = /usr/local/apache/php/php_errors.log in
  php.ini
   but I am not sure how can I enable pmapper debugging.
  
   Now, when I run http://localhost/phpinfo.info I get the next
   php_errors.log
  
   [08-Sep-2010 14:43:45] PHP Warning: