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

Fabio D'Ovidio fabiodovidio at gmail.com
Mon Apr 28 11:33:14 EDT 2008


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



More information about the Cartoweb-users mailing list