[mapguide-users] Custom scripts not working

Dave Wilson dave.wilson at autodesk.com
Wed May 21 17:23:04 EDT 2008


Ok the error suggests something really bad is happening. After getting an unclassified exception it's probably a good idea to restart the server as there may be a possibility of memory corruption.

I would try you test again and see if you can duplicate the error. If you can isolate it to a particular layer / feature source, can you either post the results of a DescribeSchema from the http://mapguide/mapagent.index.html pages under Feature Service for the feature source so that we can see if there is anything special about the data types involved. If this happens for any data then something else more fundamental is wrong.

Dave

From: mapguide-users-bounces at lists.osgeo.org [mailto:mapguide-users-bounces at lists.osgeo.org] On Behalf Of Don C. MacGregor
Sent: Wednesday, May 21, 2008 2:54 PM
To: MapGuide Users Mail List
Subject: RE: [mapguide-users] Custom scripts not working

I am not sure about the exact cause. Below are the line from error log. There is only one PHP on my computer that was added to system path.
Thanks Dave!

 Error: An unclassified exception occurred.
 StackTrace:
  - MgRenderingServiceHandler.ProcessOperation line 83 file d:\buildforgeprojects\mapguide_open_source_v2.0\build_27.16\mgdev\server\src\services\rendering\RenderingServiceHandler.cpp
  - MgOpQueryFeatures.Execute line 125 file d:\buildforgeprojects\mapguide_open_source_v2.0\build_27.16\mgdev\server\src\services\rendering\OpQueryFeatures.cpp
  - MgServerRenderingService.QueryFeatures line 652 file d:\buildforgeprojects\mapguide_open_source_v2.0\build_27.16\mgdev\server\src\services\rendering\ServerRenderingService.cpp
  - MgServerRenderingService.RenderForSelection line 1299 file d:\buildforgeprojects\mapguide_open_source_v2.0\build_27.16\mgdev\server\src\services\rendering\ServerRenderingService.cpp
  - MgServerSelectFeatures.SelectFeatures line 249 file d:\buildforgeprojects\mapguide_open_source_v2.0\build_27.16\mgdev\server\src\services\feature\ServerSelectFeatures.cpp An unclassified exception occurred.


Dave Wilson <dave.wilson at autodesk.com> wrote:
Do you have multiple versions of PHP on your system? Is PHP in your system path?

Again if you turn on PHP error  logging or display do you see any errors? Are there any MapGuide errors in the error log?

Dave

From: mapguide-users-bounces at lists.osgeo.org [mailto:mapguide-users-bounces at lists.osgeo.org] On Behalf Of Don C. MacGregor
Sent: Wednesday, May 21, 2008 1:55 PM
To: MapGuide Users Mail List
Subject: RE: [mapguide-users] Custom scripts not working

Many thanks Dave for your email.
Easiest example would be Ad Hoc Queries http://data.mapguide.com/mapguide/gt/index.php they used to run on my computer when was running MGOS 1.2 but once I upgraded to 2.0.1 they dont work. Although properties listbox populting all the fields of the selected layer but when I run a query it doent work (Please note I didnt even edit the PHP files).


Dave Wilson <dave.wilson at autodesk.com> wrote:
You would have to provide some details on what your custom script does? Does it reference any API that may have changed? Do you get an PHP errors? Have you enabled PHP error logging or display?

Regards,
Dave

From: mapguide-users-bounces at lists.osgeo.org [mailto:mapguide-users-bounces at lists.osgeo.org] On Behalf Of Don C. MacGregor
Sent: Wednesday, May 21, 2008 10:13 AM
To: mapguide-users at lists.osgeo.org
Subject: [mapguide-users] Custom scripts not working

Hi all,
I recently upgraded MGOS 1.2 to 2.0.1 everything works just fine except none of my custom PHP sripts is working. I am using Win2K3, IIS6 and PHP. Does anyone know any possible reason?
Thanks

________________________________
Ask a question on any topic and get answers from real people. Go to Yahoo! Answers.<http://ca.answers.yahoo.com/>
_______________________________________________
mapguide-users mailing list
mapguide-users at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users


________________________________
Ask a question on any topic and get answers from real people. Go to Yahoo! Answers.<http://ca.answers.yahoo.com/>
_______________________________________________
mapguide-users mailing list
mapguide-users at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users




________________________________
Looking for the perfect gift? Give the gift of Flickr!<http://www.flickr.com/gift/>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapguide-users/attachments/20080521/a552f226/attachment.html


More information about the mapguide-users mailing list