[ms4w-users] getAllLayerNames crashes MapServer?

McCown, George George.McCown at jjg.com
Thu Jun 18 22:05:24 EST 2009


ms4w has a upgrade to mapserver 5.2.2 and even 5.4

If you upgrade, will you have the CGI/FastCGI Microsoft error?

 

I've also been baffled by this error when the apache config

has this module delimited.

 

I would try the upgrades.

 

Regards

 

George   

 

 

 

From: ms4w-users-bounces at lists.maptools.org
[mailto:ms4w-users-bounces at lists.maptools.org] On Behalf Of
kreshna_iceheart at yahoo.com
Sent: Thursday, June 18, 2009 9:47 PM
To: ms4w-users at lists.maptools.org
Subject: [ms4w-users] getAllLayerNames crashes MapServer?

 

I have the following codes in my web map application:

$GLOBALS["layer_names"] = $GLOBALS["map"]->getAllLayerNames();


When I ran the web map application through browser, Windows gave me the
following error message:

CGI / FastCGI has encountered a problem and needs to close.  We are
sorry for the inconvenience.


Also, the browser showed the following error message:

Internal Server Error
The server encountered an internal error or misconfiguration and was
unable to complete your request.

Please contact the server administrator, admin at local.domain
<http://us.mc1106.mail.yahoo.com/mc/compose?to=admin@local.domain>  and
inform them of the time the error occurred, and anything you might have
done that may have caused the error.

More information about this error may be available in the server error
log.


First I thought it was because I used global variables, but I changed
the variables into non-global variables, and the error was still there.

I'm using ms4w with MapServer version 5.0.2. The PHP version is 5.2.5
(cli) (built: Nov 8 2007 23:18:51), with Zend Engine v2.2.0. What could
be wrong?

Thanks,
-Kresh

PS: the following is the result of phpinfo_mapscript.php

System  Windows NT TOSHIBA-FA8C99F 5.1 build 2600  
Build Date  Nov 8 2007 23:18:08  
Configure Command  cscript /nologo configure.js
"--enable-snapshot-build" "--with-gd=shared"  
Server API  CGI/FastCGI  
Virtual Directory Support  enabled  
Configuration File (php.ini) Path  C:\WINDOWS  
Loaded Configuration File  D:\ms4w\Apache\cgi-bin\php.ini  
PHP API  20041225  
PHP Extension  20060613  
Zend Extension  220060519  
Debug Build  no  
Thread Safety  enabled  
Zend Memory Manager  enabled  
IPv6 Support  enabled  
Registered PHP Streams  php, file, data, http, ftp, compress.zlib  
Registered Stream Socket Transports  tcp, udp  
Registered Stream Filters  convert.iconv.*, string.rot13,
string.toupper, string.tolower, string.strip_tags, convert.*, consumed,
zlib.*  

This program makes use of the Zend Scripting Language Engine:
Zend Engine v2.2.0, Copyright (c) 1998-2007 Zend Technologies



 


This email and any files transmitted with it are intended solely for the use of the individual and/or entity to whom it is addressed. Unless noted otherwise above, any distribution or copying of this email is strictly prohibited. This email IS NOT a binding agreement on behalf of JJG.  If you have received this message in error, please immediately notify the sender and delete this message from your computer.
Jordan, Jones and Goulding, Inc., 6801 Governors Lake Pkwy, Norcross, Ga. 30071   www.jjg.com

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.maptools.org/pipermail/ms4w-users/attachments/20090618/59b9ec21/attachment-0001.htm 


More information about the ms4w-users mailing list