[ka-Map-dev] [Bug 1309] New: Error in precache.php

bugzilla-daemon at bugzilla.maptools.org bugzilla-daemon at bugzilla.maptools.org
Tue Feb 28 03:57:40 EST 2006


http://bugzilla.maptools.org/show_bug.cgi?id=1309

           Summary: Error in precache.php
           Product: ka-Map
           Version: 0.2
          Platform: PC
        OS/Version: Windows 2000
            Status: NEW
          Severity: normal
          Priority: P2
         Component: core
        AssignedTo: ka-map-dev at lists.maptools.org
        ReportedBy: pieter.roggemans at ewbl.vlaanderen.be


1) At the beginning of precache.php, all layers not defined in a group are put 
in a group __base__.

But apparently the function a few lines later, getAllGroups(), doesn't use this 
info.

I changed the code so an error is written if he finds layers not defined in a 
group... so the user knows he has to put all layers in a group if he want's to 
use precache.php.

Just a suggestion...

2) Aditionnally, I added some lines of code so you can see the progression of 
the script in the command prompt.  I print the errors also immediately know 
instead of adding them to that array, since I don't see anything that is put in 
the array???

3) Added a line in the "usage" to make clear it is necessary to use the script 
to change the value "max_execution_time" in "php.ini".  Don't know if this is 
good practice (don't think so), but I am a php nono and don't know an 
alternative.


Integrate suggestions if you like them...



------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.


Please do NOT reply to this email, use the link above instead to 
login to bugzilla and submit your comment. Any email reply to this
address will be lost.


More information about the ka-Map-dev mailing list