[mapguide-users] physical files

Zac Spitzer zac.spitzer at gmail.com
Sat Nov 17 08:36:53 EST 2007


nice job... i got stuck trying to run this in C:\Program
Files\MapGuideOpenSource\Server\RepositoryAdmin

it's got a different standalone php.exe there

i changed
// Define the path to your webconfig file if it's somewhere else
define("MG_WEB_CONFIG_FILE",'../../WebServerExtensions/www/webconfig.ini');

and got

C:\Program Files\MapGuideOpenSource\Server\RepositoryAdmin>PHP
cli_listfiles.php Admin

Fatal error: Call to undefined function MgInitializeWebTier() in C:\Program
Files\MapGuideOpenSource\Server\RepositoryAdmin\cli_listfiles.ph
p on line 46

so i added (scuz my php knowledge)
with include '../../WebServerExtensions/www/mapadmin/constants.php';

and got

C:\Program Files\MapGuideOpenSource\Server\RepositoryAdmin>PHP
cli_listfiles.php Admin

Fatal error: Cannot redeclare class mgservicetype in C:\Program
Files\MapGuideOpenSource\WebServerExtensions\www\mapadmin\constants.php on l
ine 192

any idea?

On Nov 17, 2007 7:56 PM, Jason Birch <Jason.Birch at nanaimo.ca> wrote:

> Zac Spitzer wrote:
> -------------------------------------
> it would be nice to add a text file listing the unmanaged resources
> referenced as part of the repository backup process
> -------------------------------------
>
> Well, that was fun :)
>
> I've just written a little utility that will get you about 95% of the way
> there:
>
> http://tinyurl.com/2qy5f8 <http://tinyurl.com/2qy5f8>
>
> Jason
>
> _______________________________________________
> mapguide-users mailing list
> mapguide-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapguide-users
>
>


-- 
Zac Spitzer
http://zacster.blogspot.com/
+61 405 847 168 (aussie moible)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapguide-users/attachments/20071118/4f01e108/attachment.html


More information about the mapguide-users mailing list