[mapguide-users] Re: (1092688208) Resource was not found: Library://Samples/Layouts/Sample.WebLayout

kfwebb at bombasticlocution.com kfwebb at bombasticlocution.com
Mon Mar 22 21:31:27 EDT 2010


It's getting kind of "hack-y" from a configuration standpoint.

I copied www/webconfig.ini into www/mapviewerphp to satisfy the 
"../webconfig.ini" requirement of
www/mapviewerphp/mapagent/mapagent.fcgi.

The Apache error log is now showing complaints for  

Status: 401 Unauthorized
WWW-Authenticate: Basic realm="MapGuide"
Content-type: text/plain; charset=utf-8
Content-Length: 66

You must enter a valid login ID and password to access this site

as well as 

symbol lookup
error: /usr/local/mapguideopensource/lib/libMgMapGuideCommon.so.7:
undefined symbol: _ZN12MgDisposableD2Ev .

I am going to have to hunt down the library where MgDisposable and its
brethren are defined.


KFW



On Mon, 2010-03-22 at 21:05 -0400, kfwebb at bombasticlocution.com wrote:
> Thank you for your reply Dave.
> 
> phpinfo() checks out OK. I was using it extensively earlier on in the
> process when I was getting undefined function MgInitializeWebTier errors
> (My fault for mixing-and-matching php versions).
>  
> But now I am on to "newer" and "fresher" territory.
> 
> There were complaints that mapviewerphp/mapagent/mapagent.fcgi didn't
> exist, and it didn't. Copying www/mapagent/mapagent.fcgi to
> www/mapviewerphp/mapagent/ corrected that.
> 
> Now I am getting failures on 
> 
> http://localhost:8008/mapviewerphp/legend.php?MAPNAME=Sheboygan&LC=0&SESSION=10565af8-1842-102d-8000-00e081648629_en_7F0000010AFC0AFB0AFA
> 
> http://localhost:8008/mapviewerphp/mapagent/mapagent.fcgi?OPERATION=GETDYNAMICMAPOVERLAYIMAGE&FORMAT=PNG&VERSION=2.1.0&SESSION=10565af8-1842-102d-8000-00e081648629_en_7F0000010AFC0AFB0AFA&MAPNAME=Sheboygan&SEQ=0.34844492131190397&CLIENTAGENT=Ajax%20Viewer&BEHAVIOR=2&SETDISPLAYDPI=96&SETDISPLAYWIDTH=1183&SETDISPLAYHEIGHT=454&SETVIEWSCALE=undefined&SETVIEWCENTERX=-87.7302542509315&SETVIEWCENTERY=43.744459064634&CLIENTAGENT=Ajax%20Viewer
> 
> http://localhost:8008/mapviewerphp/mapagent/mapagent.fcgi?OPERATION=GETDYNAMICMAPOVERLAYIMAGE&FORMAT=PNG&VERSION=2.1.0&SESSION=10565af8-1842-102d-8000-00e081648629_en_7F0000010AFC0AFB0AFA&MAPNAME=Sheboygan&SEQ=0.6036073856391289&CLIENTAGENT=Ajax%20Viewer&BEHAVIOR=2&SETDISPLAYDPI=96&SETDISPLAYWIDTH=1183&SETDISPLAYHEIGHT=261&SETVIEWSCALE=undefined&SETVIEWCENTERX=NaN&SETVIEWCENTERY=NaN&CLIENTAGENT=Ajax%20Viewer
> 
> The Apache log is showing a complaint 
> 
> Status: 559 MgConfigurationLoadFailedException
> Content-type: text/html; charset=utf-8
> 
> <html>
> <head>
> <title>MgConfigurationLoadFailedException</title>
> <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
> </head>
> <body>
> <h2>Configuration file "../webconfig.ini" cannot be found or cannot be
> opened.</h2>
> Configuration file "../webconfig.ini" cannot be found or cannot be
> opened.
> 
> </body>
> </html>
> 
> I do have a webconfig.ini in the www directory. Not certain about the
> relativity of the ".." in the "../webconfig.ini." I suspect it might be
> a result of calling mapagent.fcgi from inside www/mapviewer/mapagent
> instead of www/mapagent.
> 
> Getting closer!
> 
> 
> KFW
> 
> 
> 
> On Mon, 2010-03-22 at 16:18 -0700, Dave Wilson wrote:
> > Can you also check with a phpinfo test page? It may be an issue with PHP not loading. I suspect the build you have is 32bit PHP from 5.2.25 and we are only just updating PHP to 5.3.1. It may be the 32bit PHP on 64bit doesn't play well.
> > 
> > Dave
> > 
> > -----Original Message-----
> > From: mapguide-users-bounces at lists.osgeo.org [mailto:mapguide-users-bounces at lists.osgeo.org] On Behalf Of Jackie Ng
> > Sent: Monday, March 22, 2010 5:11 PM
> > To: mapguide-users at lists.osgeo.org
> > Subject: [mapguide-users] Re: (1092688208) Resource was not found: Library://Samples/Layouts/Sample.WebLayout
> > 
> > 
> > Have you set display_errors = On in your php.ini? It may reveal more
> > information.
> > 
> > - Jackie
> 
> _______________________________________________
> mapguide-users mailing list
> mapguide-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapguide-users
> 



More information about the mapguide-users mailing list