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

Normand Savard nsavard at mapgears.com
Mon Jul 9 10:00:36 EDT 2007


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











More information about the Chameleon mailing list