Dear Armin,
thank you very much for your answer, effectively to change these lines 
of code the problem is solved.
At the moment I have not encountered that may have generated some 
other problem, any news I'll write an email.

Greetings
Richard
Montevideo, Uruguay



>Richard
>
>If I remember well I had this type of error in application once when 
>using cookies for the PHP sessions. I used a quick fix that worked 
for 
>me and did not cause any problems. I thought I added this to the 
code 
>but it seems not.
>
>In the file /incphp/map/map.php substitute the line 813
>   $newResLayer->addFeature($resShape);
>
>with
>
>   if ($resShape) {
>       $newResLayer->addFeature($resShape);
>   }
>
>I think then you should not get any more this error. Just check if 
all 
>the highlighting of features still works as expected. If no problems 
>occur I will add this to the main code
>
>armin
>
>On 01/02/2010 15:04, richardcam...@adinet.com.uy wrote:
>> Dear, sorry for my English.
>> I'm using Pmapper 4 final, php 5.2.11, php_mapscript 5.2.3, 
postgres
>> 8.2.0 with extension PostGIS.
>> I have configured the application with many, many layers and it 
works
>> great.
>> I have configured several searches (all Postgres), are very 
successful
>> by 85%.
>> I have a problem with 2 of the searches, which give me an error in 
php
>> I could not solve, I repeat, the problem is only with 2 searches, 
the
>> rest work great.
>> The layer corresponding to the search I see it correctly in the map
>> window.
>>
>> Attachments:
>>
>> Apache error.log
>> PHP Fatal error: Object expected as argument. in / inetpub / 
wwwroot /
>> mapas / incphp / map / map.php on line 813
>>
>
>------------------------------------------------------------------------------
>The Planet: dedicated and managed hosting, cloud storage, colocation
>Stay online with enterprise data centers and the best network in the 
business
>Choose flexible plans and management services without long-term 
contracts
>Personal 24x7 support from experience hosting pros just a phone call 
away.
>http://p.sf.net/sfu/theplanet-com
>_______________________________________________
>pmapper-users mailing list
>pmapper-users@lists.sourceforge.net
>https://lists.sourceforge.net/lists/listinfo/pmapper-users
>



------------------------------------------------------------------------------
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
_______________________________________________
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users

Reply via email to