[Chameleon-dev] [Bug 1448] New: PHP safe mode and suppress warnings (like set_time_limit)

bugzilla-daemon at bugzilla.maptools.org bugzilla-daemon at bugzilla.maptools.org
Mon May 1 10:46:13 EDT 2006


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

           Summary: PHP safe mode and suppress warnings (like
                    set_time_limit)
           Product: Chameleon
           Version: 2.4
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Core
        AssignedTo: chameleon-dev at lists.maptools.org
        ReportedBy: bartvde at xs4all.nl


There are a lot of instances in Chameleon's code where set_time_limit is used,
something which is not permitted in PHP safe mode, e.g.:

[01-May-2006 16:40:26] PHP Warning:  set_time_limit(): Cannot set time limit in
safe mode in /data/geoservices/apps/chameleon/
htdocs/common/wrapper/drawmap.php on line 146
[01-May-2006 16:41:02] PHP Warning:  set_time_limit(): Cannot set time limit in
safe mode in /data/geoservices/apps/chameleon/
htdocs/chameleon.php on line 888

To make life a little bit easier for people running in safe mode (to not get all
these warnings), it would be a good idea IMHO to use @set_time_limit instead of
set_time_limit in all of Chameleon's codebase.



------- 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 Chameleon-dev mailing list