Specifying path to resource [No Viruses detected]

Tom Chadwin tom.chadwin at nnpa.org.uk
Tue Oct 31 12:36:01 EST 2006


Hello all

In my first PHP application for MGOS, following the examples in the Dev
Guide, I am currently getting the error reported in IE:

Invalid resource path: Library://MapsInvalid resource path:
Library://Maps Exception occurred in method
MgResourceIdentifier.CheckPath at line 607 in file
c:\build_tux_area\mgdev_opensource\common\service\services\ResourceIdent
ifier.cpp 

I assume this refers to my code:

$map->Open($resourceService, "Library://Maps/NNPA.Map");

Am I missing something about specifying resource paths? Do they need to
be encoded?

Thanks

Tom


Tom Chadwin
ICT & Web Development Officer
Telephone: 01434 611530 
Mobile: 
Fax: 01434 611677
Email: tom.chadwin at nnpa.org.uk
Web : www.Northumberland-national-park.org.uk <http://www.Northumberland-national-park.org.uk>

<http://www.northumberland-national-park.org.uk/> 
 
____________________________________________________________________________
IMPORTANT NOTICE - Disclaimer - October 31, 2006 - REF Email-200610-00039123.

If you have received this e-mail in error or wish to read our e-mail disclaimer statement and monitoring policy, please refer to the statement below or contact the sender. 
This communication is from Northumberland National Park Authority (NNPA).The Authority's head office and principal place of business is Eastburn, South Park, Hexham, Northumberland, NE46 1BS, United Kingdom.This communication and any attachments contain information which is confidential and may also be privileged. It is for the exclusive use of users at mapguide.osgeo.org. If you are not the intended recipient(s) please note that any form of disclosure, distribution, copying or use of this communication or the information in it or in any attachments is strictly prohibited and may be unlawful. If you have received this communication in error, please return it with the title "received in error" to "it.security at nnpa.org.uk" then delete the email and destroy any copies of it. 
E-mail communications cannot be guaranteed to be secure or error free, as information could be intercepted, corrupted, amended, lost, destroyed, arrive late or incomplete, or contain viruses. We do not accept liability for any such matters or their consequences. Anyone who communicates with us by e-mail is taken to accept the risks in doing so. 
Any views or opinions presented are solely those of the author and do not necessarily represent those of NNPA.Contractors or potential contractors are reminded that a formal Order or Contract is needed for NNPA to be bound by any offer or acceptance of terms for the supply of goods or services Although this email and any attachments are believed to be free of any virus or other defects which might affect any computer or IT system into which they are received, no responsibility is accepted by the NNPA for any loss or damage arising in any way from the receipt or use thereof. Computer systems of this Authority may be monitored and communications carried out on them recorded, to secure the effective operation of the system and for other lawful purposes.





More information about the Mapguide-users mailing list