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: