[Chameleon] PHP-error: msProcessProjection(): no options found in 'init' file

Jeff McKenna jmckenna at dmsolutions.ca
Mon Jul 9 10:07:08 EDT 2007


Also, your epsg file might not contain EPSG:42304, in which case you can 
download it from http://dl.maptools.org/dl/proj4-epsg-with-42xxx.zip

jeff



Normand Savard wrote:
> Burkhard Koester wrote:
> 
>> Hello,
>>
>> I just installed Chameleon 2.4.1 on a OpenSUSE 10.2 system using 
>> apache 2.2 and php5.
>> Chameleon's admin-pages reports no problems with the PHP and MapServer 
>> environment. Even our Mapserver can be contacted via the admin-Site.
>>
>> However, all sample scripts are producing emtpy pages and reporting 
>> the following PHP warnings/errors in Apache's error_log:
>> [Mon Jul 09 14:47:34 2007] [error] [client 84.129.81.58] PHP Warning: 
>> [MapServer Error]: msProcessProjection(): no options found in 'init' 
>> file\n in 
>> /internet/www/htdocs/chameleon/htdocs/common/wrapper/map_session.php 
>> on line 215
>> [Mon Jul 09 14:47:34 2007] [error] [client 84.129.81.58] PHP Warning: 
>> Failed to open map file 
>> /internet/www/htdocs/chameleon/samples/map/chameleon.map in 
>> /internet/www/htdocs/chameleon/htdocs/common/wrapper/map_session.php 
>> on line 215
>> [Mon Jul 09 14:47:34 2007] [error] [client 84.129.81.58] PHP Notice: 
>> Trying to get property of non-object in 
>> /internet/www/htdocs/chameleon/htdocs/chameleon.php on line 766
>> [Mon Jul 09 14:47:34 2007] [error] [client 84.129.81.58] PHP Fatal 
>> error:  Call to a member function set() on a non-object in 
>> /internet/www/htdocs/chameleon/htdocs/widgets/KeyMap/KeyMap.widget.php 
>> on line 197
>>
>> I checked already that all files/dirs are accessible by the webserver 
>> and the map-file IS THERE (and accessible).
>>
>>
> Burkhard,
> 
> Try to add CONFIG "PROJ_LIB" "/path/to/proj/" in the map object of 
> Chameleon map file (chameleon.map) and let us know if it works.
> 
> Norm


-- 
Jeff McKenna
DM Solutions Group Inc.
http://www.dmsolutions.ca


More information about the Chameleon mailing list