[mapguide-users] Page cannot be found
Jason Birch
Jason.Birch at nanaimo.ca
Tue Mar 21 14:43:19 EST 2006
Hmm. Maybe create an info.php file in that folder with the contents
<?php phpinfo(); ?> Check to make sure that PHP is pointing to the
correct location for the php.ini file and that the
"MapGuideApi"extension is loaded (there's just a single text line about
1/3 of the way down).
________________________________
From: Jonathan Rizzo [mailto:jrizzo at Langan.com]
Sent: Tuesday, March 21, 2006 11:36
To: users at mapguide.osgeo.org
Subject: RE: [mapguide-users] Page cannot be found
Thanks for the reply Jason. It was the PHP configuration. When I had
the previous version installed (0.93) I had PHP in a different location.
I uninstalled it, but there were still some scraps left pointing to the
old location.
I have gotten past the Page Not Found error (and I am finally able to
view phpinfo.php) but now I am getting this error message in login.php:
Fatal error: Class 'MgException' not found in C:\Program
Files\MapGuideOpenSource\WebServerExtensions\www\mapadmin\login.php on
line 95
I thought that I had seen this error mentioned in the old
MapServerEnterprise mailing list, but I don't have those messages
anymore. Any idea what might be causing this?
Jon
________________________________
From: Jason Birch [mailto:Jason.Birch at nanaimo.ca]
Sent: Tuesday, March 21, 2006 12:17 PM
To: users at mapguide.osgeo.org
Subject: RE: [mapguide-users] Page cannot be found
It sounds like you need to add the bundled php-cgi.exe file to the
allowed "Web Server Extensions" in IIS administrator. You may also need
to do this for the MapAgent.exe executable.
If this has been done, it's possible that the handler (Web Site
Properties->Home Directory->Application Settings:Configuration) for PHP
is not set properly.
Jason
________________________________
From: Jonathan Rizzo [mailto:jrizzo at Langan.com]
Sent: Tuesday, March 21, 2006 07:56
To: users at mapguide.osgeo.org
Subject: [mapguide-users] Page cannot be found
Hello,
I recently uninstalled the preview version of MapServer and I am trying
to get started with RC1 of MapGuide and I'm stuck. Could somebody here
help me out? I installed MapGuide Server and also installed the Web
Server Extensions using the IIS Configuration (Windows Server 2003, IIS
6, .NET development). I tested the Map Agent, and the XML document was
returned correctly. However, when I try to test the Site Administrator,
I go to the URL http://localhost/mapguide/mapadmin/login.php
<http://localhost/mapguide/mapadmin/login.php> but the browser reports
"The page cannot be found". I verified that this file exists on the web
server at this path, and that annonymous access is allowed. In
addition, if I try to test the Web Server Extensions, I get the server
error:
Compilation Error
Description: An error occurred during the compilation of a resource
required to service this request. Please review the following specific
error details and modify your source code appropriately.
Compiler Error Message: CS0246: The type or namespace name 'OSGeo' could
not be found (are you missing a using directive or an assembly
reference?)
Source Error:
Line 19: <%@ Import Namespace="System.Collections.Specialized" %>
Line 20: <%@ Import Namespace="System.IO" %>
Line 21: <%@ Import Namespace="OSGeo.MapGuide" %>
Line 22:
Line 23: <script runat="server">int forDwf=0;</script>
Source File: C:\Program
Files\MapGuideOpenSource\WebServerExtensions\www\mapviewernet\ajaxviewer
.aspx Line: 21
Can anybody tell me what I have done wrong or what I should check to fix
this? Thank you for your assistance.
Regards,
Jon Rizzo
Langan Engineering and Environmental Services, Inc.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapguide_users/attachments/20060321/71085b66/attachment.html
More information about the Mapguide_users
mailing list