[support] GMap and the White Screen Of Death
Scott
scott at bscottholmes.com
Sat Jul 31 03:15:10 UTC 2010
I've usually found the reason for WSD in the php error log.
On Fri, 2010-07-30 at 20:41 -0600, Jacob M. Roufa wrote:
> Try increasing memory limit for php.
>
>
>
> -- Jacob M. Roufa
> (208) 557-9390
>
> ______________________________________________________________________
> On Jul 30, 2010 6:03 PM, Gustavo Cabral <gmcabral at gmail.com> 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'=>'© 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'=>'© 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'=>'© 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
> --
> [ Drupal support list | http://lists.drupal.org/ ]
> --
> [ Drupal support list | http://lists.drupal.org/ ]
More information about the support
mailing list