<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">

<head>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 12 (filtered medium)">
<!--[if !mso]>
<style>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style>
<![endif]-->
<style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.Section1
        {page:Section1;}
-->
</style>
<!--[if gte mso 9]><xml>
 <o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
 <o:shapelayout v:ext="edit">
  <o:idmap v:ext="edit" data="1" />
 </o:shapelayout></xml><![endif]-->
</head>

<body lang=EN-US link=blue vlink=purple>

<div class=Section1>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>I was able to export the package from my production server and
import it into my testing server with no problem.&nbsp; Now all of my layers and
data are the same.<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>Thank you very much for all of your help.<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>-Mark Pendergraft<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<div>

<div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in'>

<p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span
style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>
mapguide-users-bounces@lists.osgeo.org
[mailto:mapguide-users-bounces@lists.osgeo.org] <b>On Behalf Of </b>Jason Birch<br>
<b>Sent:</b> Saturday, November 17, 2007 11:34 AM<br>
<b>To:</b> MapGuide Users Mail List<br>
<b>Subject:</b> RE: [mapguide-users] physical files<o:p></o:p></span></p>

</div>

</div>

<p class=MsoNormal><o:p>&nbsp;</o:p></p>

<div id=idOWAReplyText23437>

<div>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif";
color:black'>Hmm, that's interesting (about the different standalone
php.exe).&nbsp; I don't believe that it has the MapGuide extensions loaded, as
all it's doing is interacting with DBXML.&nbsp; You'll want to run this script
using the php.exe that's in the main WebServerExtensions/php directory.</span><o:p></o:p></p>

</div>

<div>

<p class=MsoNormal>&nbsp;<o:p></o:p></p>

</div>

<div>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'>You
shouldn't need constants.php; the only constant you should need is the
ResourceType, which I've hard-coded.</span><o:p></o:p></p>

</div>

<div>

<p class=MsoNormal>&nbsp;<o:p></o:p></p>

</div>

<div>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif";
color:black'>What version of MapGuide are you running?&nbsp; I coded this
against 1.2.0.&nbsp; </span><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'>There
have been some changes between MapGuide 1.0 and 1.2 so if you are not using 1.2
you may need to use MgSite instead of MgSiteConnection.&nbsp; You may also run
into problems with the XML stuff; I'm not sure if it was supported in PHP 5.0
(earlier versions of MapGuide came with this instead of 5.2)</span><o:p></o:p></p>

</div>

<div>

<p class=MsoNormal>&nbsp;<o:p></o:p></p>

</div>

<div>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'>Jason</span><o:p></o:p></p>

</div>

</div>

<div>

<p class=MsoNormal><o:p>&nbsp;</o:p></p>

<div class=MsoNormal align=center style='text-align:center'>

<hr size=2 width="100%" align=center>

</div>

<p class=MsoNormal style='margin-bottom:12.0pt'><b><span style='font-size:10.0pt;
font-family:"Tahoma","sans-serif"'>From:</span></b><span style='font-size:10.0pt;
font-family:"Tahoma","sans-serif"'> Zac Spitzer<br>
<b>Subject:</b> Re: [mapguide-users] physical files</span><o:p></o:p></p>

</div>

<div>

<p class=MsoNormal>nice job... i got stuck trying to run this in C:\Program
Files\MapGuideOpenSource\Server\RepositoryAdmin <br>
<br>
it's got a different standalone php.exe there<br>
<br>
i changed<br>
// Define the path to your webconfig file if it's somewhere else <br>
define(&quot;MG_WEB_CONFIG_FILE&quot;,'../../WebServerExtensions/www/webconfig.ini');<br>
<br>
and got<br>
<br>
C:\Program Files\MapGuideOpenSource\Server\RepositoryAdmin&gt;PHP
cli_listfiles.php Admin<br>
<br>
Fatal error: Call to undefined function MgInitializeWebTier() in C:\Program
Files\MapGuideOpenSource\Server\RepositoryAdmin\cli_listfiles.ph <br>
p on line 46<br>
<br>
so i added (scuz my php knowledge)<br>
with include '../../WebServerExtensions/www/mapadmin/constants.php';<br>
<br>
and got<br>
<br>
C:\Program Files\MapGuideOpenSource\Server\RepositoryAdmin&gt;PHP
cli_listfiles.php Admin <br>
<br>
Fatal error: Cannot redeclare class mgservicetype in C:\Program
Files\MapGuideOpenSource\WebServerExtensions\www\mapadmin\constants.php on l<br>
ine 192<br>
<br>
any idea?<o:p></o:p></p>

</div>

</div>

</body>

</html>