[mapserver-users] $map->draw() timeout
Stephen Woodbridge
woodbri at swoodbridge.com
Thu Dec 27 07:12:23 PST 2001
Nicolau,
That is a PHP issue. You need to add the following to the top of your
php page:
set_time_limit(300); // timeout in 5 minites
where 300 is the number of seconds you want as the timeout value. Or
zero if you want the script to be able to run forever (probably not a
good idea).
-Steve
Nicolau Werneck wrote:
>
> Hello...
>
> I've found a workaround to my problem on defining new
> classes with mapscript, editting a single class on the
> layer (but this isn't still what I wanted to)... OK
> it's working but now I got another problem!
>
> When I try to draw the map with a class that has A LOT
> of point, wich I query from a database, the draw()
> mathod complains that:
>
> Fatal error: Maximum execution time of 30 seconds
> exceeded in
> F:\hospedagem\licht\mapa\cgi\mapabrasil.php on line
> 129
>
> Where can I set this timeout??
>
> thanks...
>
> ++nicolau
>
> _______________________________________________________________________________________________
> Yahoo! GeoCities
> Tenha seu lugar na Web. Construa hoje mesmo sua home page no Yahoo! GeoCities. É fácil e grátis!
> http://br.geocities.yahoo.com/
More information about the MapServer-users
mailing list