[ms4w-users] getAllLayerNames crashes MapServer?

kreshna_iceheart at yahoo.com kreshna_iceheart at yahoo.com
Fri Jun 19 03:11:15 EST 2009


Thanks. I'll try the newer module. 
 
By the way, you've also experienced this error? I've checked my php.ini, and both lines are delimited as well:
; fastcgi.impersonate = 1;
; fastcgi.logging = 0
 
It means fastcgi is actually disabled, isn't it?
 
Thanks & regards,
-Kresh

--- On Thu, 6/18/09, McCown, George <George.McCown at jjg.com> wrote:


From: McCown, George <George.McCown at jjg.com>
Subject: Re: [ms4w-users] getAllLayerNames crashes MapServer?
To: ms4w-users at lists.maptools.org
Date: Thursday, June 18, 2009, 11:05 PM








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 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 
-----Inline Attachment Follows-----


_______________________________________________
ms4w-users mailing list
ms4w-users at lists.maptools.org
http://lists.maptools.org/mailman/listinfo/ms4w-users



      
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.maptools.org/pipermail/ms4w-users/attachments/20090619/ffdee473/attachment.htm 


More information about the ms4w-users mailing list