[Cartoweb-users] From Windows XP to CentOS: 1 error is fixed
Oliver Christen
oliver.christen at camptocamp.com
Tue Apr 29 04:10:23 EDT 2008
maybe a database access right problem then ?
it would be interesting to know which id is not found.
either add some print in Cartoweb or increase the logging setting in
postgres.
regards
Oliver
> Oliver,
> There are no upeercase\lowercase problems because $id variable is an
> integer and $this->makesearch() function just checks for lower\upper case
> in SQL query into database:
> (ClientMyPlugin.php)
>
> // FilterProvider
>
> public function filterPostRequest(FilterRequestModifier $request) {
>
> $ResultFromDataBase = $request->getValue('myform');
> if (!empty($ResultFromDataBase)) {
>
> $this->ResultFromDataBase->comune = $ResultFromDataBase;
> $id = $this->makeSearch( $this->ResultFromDataBase->comune);
> if ($id) {
> $request->setValue('id_recenter_layer', 'comuni');
> $request->setValue('id_recenter_ids', $id);
> }
> }
>
>
> return $this->ResultFromDataBase;
>
> }
>
>
>
>
> Oliver Christen ha scritto:
>> 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
>
>
More information about the Cartoweb-users
mailing list