[Cartoweb-users] From Windows XP to CentOS: 1 error is fixed

Oliver Christen oliver.christen at camptocamp.com
Tue Apr 29 01:57:29 EDT 2008


maybe a problem of uppercase/lowercase in your recenter id.
im not sure if windows see the difference but im certain linux does
verify the recenter id correspond exactly to the id in your layer's data 
(shapefile?)

regards
Oliver

>I resolved the first error: it seems the problem was related to PROJ_LIB 
>environment variable in Apache configuration file....
>
> About second error I have as following:
>
> "Recenter Id, unable to find select Id."
>
> It happens when the following lines run:
>
> public function filterPostRequest(FilterRequestModifier $request) {
> ....
>        $id = <integer>; // as result from a database query
>        $request->setValue('id_recenter_layer', 'my_layer');
>        $request->setValue('id_recenter_ids', $id);
> ....
>
> }
>
> On Windows Xp I haven't this problem...
>
> Is it possible this problem is related to php.ini configuration?
>
> Thanks
>
>
> Fabio D'Ovidio ha scritto:
>> Hi list!
>> I developed a cartoweb plugin for an application of mine on Windows Xp 
>> and now I'm migrating the project on Linux CentOS5.
>> I have two problem but I don't know why:
>>
>> 1. I installed apache, php, php\mapscript, mapserver and I have no error 
>> displayed in info.php that check for php_mapscript.so module
>> 2. I loaded extensions e.g. php_mapscript.so in php.ini
>> 3. I configured PEAR extension for php in order to connect DBs
>>
>>
>> The errors are:
>>
>> 1. Call to undefined function ms_newprojectionobj() (but php_mapscript 
>> module is loaded)
>> 2. Unable to recenter on feature ids
>>
>> What's worng?
>>
>> Fabio
>>
>>
>
> -- 
> Ing. Fabio D'Ovidio
>
> INOVA Open Solutions s.r.l.
> Web : http://www.inovaos.it
> Tel.: 081 197 57 600
> mail: fabiodovidio at gmail.com
>
> _______________________________________________
> Cartoweb-users mailing list
> Cartoweb-users at lists.maptools.org
> http://lists.maptools.org/mailman/listinfo/cartoweb-users
> 



More information about the Cartoweb-users mailing list