[mapguide-users] RE: Page cannot be found

rdavid rdavid.wood at ge.com
Tue Jun 19 09:44:40 EDT 2007


Check the location of your php.ini 

1. There is a php.ini found in MapGuideOpenSource\WebServerExtensions\Php
with the path for the php_MapGuideApi.dll needed for the application.

2. You may need to copy this file to your c:\windows dir.

3. Run a php page with phpinfo(); to see where php is looking for the ini
file on your box.

4. After moving the php.ini file provided by the opensource install to
c:\windows dir and restart IIS the application is working.







Jon Rizzo wrote:
> 
>  
> 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. 
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/Page-cannot-be-found-tf1318088s16610.html#a11195090
Sent from the MapGuide Users mailing list archive at Nabble.com.



More information about the mapguide-users mailing list