The best thing to do is enable error reporting in php.ini and see what error is occurring. The white screen of death is from having reporting turned off but apache is hitting an error. Or try looking in the php logs, the location of which should be indicated in the php.ini

-Don-

On 7/30/2010 8:02 PM, Gustavo Cabral wrote:
Hi there:
I've installed drupal 6.17 whit gmap module, It's working fine, I
proved the macro code on a node:

[gmap|id=map|center=49.2,-123.1|zoom=7|width=600px|height=400px|control=Small|type=Map]

And It shown a google map correctly. But when I proved this snippet:
<?php
$north = 38.897546;
$east  = -77.039394;
$zoom  = 16;
$mywmss=array(
array('name'=>'Terraserver',
                     'url'=>'http://terraservice.net/ogcmap6.ashx?',
                     'format'=>'image/jpeg',
                     'minresolution'=>'1',
                     'maxresolution'=>'17',
                     'layers'=>'DOQ',
                     'copyrights' =>  array(array(
                       'minzoom'=>'1',
                       'bounds'=>'-190,-90,180,90',
                       'text'=>'&copy; terrasever',
                       )),
                     'overlaywith'=>'Hybrid',
                     'merczoomlevel'=>'5',
     ),
array('name'=>'Lizardtech',

'url'=>'http://wms.lizardtech.com/lizardtech/iserv/ows?service=WMS',
                     'format'=>'image/jpeg',
                     'minresolution'=>'1',
                     'maxresolution'=>'17',
                     'layers'=>'DC',
                     'copyrights' =>  array(array(
                       'minzoom'=>'1',
                       'bounds'=>'-190,-90,180,90',
                       'text'=>'&copy; lizardtech',
                       )),
                     'overlaywith'=>'Hybrid',
                     'merczoomlevel'=>'5',
     ),
array('name'=>'NASA_JPL',
                     'url'=>'http://wms.jpl.nasa.gov/wms.cgi?service=WMS',
                     'format'=>'image/jpeg',
                     'minresolution'=>'1',
                     'maxresolution'=>'17',
                     'layers'=>'global_mosaic',
                     'copyrights' =>  array(array(
                       'minzoom'=>'1',
                       'bounds'=>'-190,-90,180,90',
                       'text'=>'&copy; NASA',
                       )),
                     'overlaywith'=>'Hybrid',
                     'merczoomlevel'=>'5',
     ),
);
$mymap=array('id' =>  'map',
              'control' =>  'Large',
              'tcontrol' =>  'on',
              'zoom' =>  $zoom,
              'center' =>  $north.','.$east,
              'width' =>  '100%',
              'height' =>  '500px',
              'type' =>  'Satellite',
              'wmss' =>  $mywmss,
              );
echo gmap_draw_map($mymap);
?>
I got simply the famous white page of death. Can you please tell me
what can I do to solve that problem? I'm working on my tesis work, so
please help me.
Thanks a lot.

--

Linux es Libertad


Reply via email to