[Chameleon-dev] [Bug 1566] New: MapNotes: still a chance that dbase module is not loaded

bugzilla-daemon at bugzilla.maptools.org bugzilla-daemon at bugzilla.maptools.org
Fri Aug 25 07:52:21 EDT 2006


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

           Summary: MapNotes: still a chance that dbase module is not loaded
           Product: Chameleon
           Version: 2.4
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Widget
        AssignedTo: chameleon-dev at lists.maptools.org
        ReportedBy: bartvde at xs4all.nl


We need to add another check before dbase_open is called

    // open the dbase file if necessary
    if ( !isset( $dbfFile ) )
    {
        if (!extension_loaded('dbase'))
        {
          $dbasemodulename = 'php_dbase.'.PHP_SHLIB_SUFFIX;
          dl( $dbasemodulename );
        }
        $dbfFile = dbase_open( $szFileName.'.dbf', 2 );
    }



------- 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