[mapguide-users] Query widget: Internal Server Error on querycontroller.php with max. results > 30

Martin Morrison martin.morrison at edsi.com
Wed Oct 26 12:34:05 EDT 2011

What is your script timeout set to in PHP.ini?  If you increase it, does it help?

Martin Morrison
Application Engineer
Engineering Design Systems, Inc.
3780 Peters Creek Rd Ext SW
Roanoke, VA  24018

-----Original Message-----
From: mapguide-users-bounces at lists.osgeo.org [mailto:mapguide-users-bounces at lists.osgeo.org] On Behalf Of Berg, Leandros van den [FGSBV]
Sent: Wednesday, October 26, 2011 12:00 PM
To: mapguide-users at lists.osgeo.org
Subject: [mapguide-users] Query widget: Internal Server Error on querycontroller.php with max. results > 30

Hi mapguide-users,

When I execute a query and the maximum results are set higher than 30, I
get a "HTTP Error 500.0 - Internal Server Error" on querycontroller.php
and no results are shown. Setting the maximum result to 30 or less, the
error does not occur and the results are shown. I'm using IIS 7.5 on
Windows 7 and I enabled tracing to log the failed requests but I can't
make much out of it, just this warning:


ModuleName: IsapiModule 
Notification: 128 
HttpStatus: 500 
HttpReason: Internal Server Error 
HttpSubStatus: 0 
ErrorCode: 0 
ErrorCode: The operation completed successfully. (0x0)

Might it be the result from the post is to large to process but isn't
that also what maximum results is for to prevent?

I am not sure where the problem might be but I suspect it to be in class
query.php because the Execute function is the only place where I can
find any code dealing with maximum results ($queryMax).

I tried to log PHP errors by setting the options display_errors and
log_errors to 'On' in php.ini and I both tried 'error_log = syslog' and
'error_log = error_log.txt' but I can't find where it is logged, if
there is anything logged at all.

Has anybody run into this problem and found a way to solve it?

Kind regards,

mapguide-users mailing list
mapguide-users at lists.osgeo.org

More information about the mapguide-users mailing list