PDA

View Full Version : More on "Import" issues



Joe Coley
29-Jun-2007, 12:36 PM
I have another situation where I am working on a customer's electos website
design on my system. I zipped up their "mywebsite" directory and brought it
to my system. I, however, have a "mywebsite" site that I do not want to
disturb, so I want to basically "rename" the site from my customer. What I
have done is this -- I created a new site, then unzipped the data, apphtml
and ContentFiles to the new sites directory.

The app starts BUT it is displaying data from "mywebsite" rather than the
"new" site with the copied data of the site I expect. HOWEVER, if I go into
the Studio, it is pointing to the proper path and appears completely normal.
What am I missing here? I figure there must be something in the copied data
that make the running website point to "mywebsite", even though in the
Electos SiteManager the path shown is correct -- the program is using the
copied sites design layout, BUT the "myWebsite" folders, data etc.

Any ideas?

Thanks in advance,
Joe

P.S. What I'm really trying to do is import a site to a new name. (An
import and rename)

Edwin van der Velden
30-Jun-2007, 04:13 AM
Since you copied the AppHtml folder you probably have overwritten the
global.asa file as well. The global.asa file is then probably pointing to
the MyWebsite application
(WebAppServerSession.Initialize("Electos.Websites.MyWebsite")), simply
change that to the application belonging to the website you created and it
should load the correct data.

-Edwin


"Joe Coley" <sjoec@comcast.net> wrote in message
news:wjyPlSnuHHA.5736@dacmail.dataaccess.com...
>I have another situation where I am working on a customer's electos website
> design on my system. I zipped up their "mywebsite" directory and brought
> it
> to my system. I, however, have a "mywebsite" site that I do not want to
> disturb, so I want to basically "rename" the site from my customer. What
> I
> have done is this -- I created a new site, then unzipped the data, apphtml
> and ContentFiles to the new sites directory.
>
> The app starts BUT it is displaying data from "mywebsite" rather than the
> "new" site with the copied data of the site I expect. HOWEVER, if I go
> into
> the Studio, it is pointing to the proper path and appears completely
> normal.
> What am I missing here? I figure there must be something in the copied
> data
> that make the running website point to "mywebsite", even though in the
> Electos SiteManager the path shown is correct -- the program is using the
> copied sites design layout, BUT the "myWebsite" folders, data etc.
>
> Any ideas?
>
> Thanks in advance,
> Joe
>
> P.S. What I'm really trying to do is import a site to a new name. (An
> import and rename)
>
>

Thijs Nijhuis
6-Jul-2007, 12:57 PM
Also, please check the webapp parameters field of your websites webapp. It
should have '-w <websitename>' otherwise it will load the wrong data set.

-Thijs


"Joe Coley" <sjoec@comcast.net> wrote in message
news:wjyPlSnuHHA.5736@dacmail.dataaccess.com...
>I have another situation where I am working on a customer's electos website
> design on my system. I zipped up their "mywebsite" directory and brought
> it
> to my system. I, however, have a "mywebsite" site that I do not want to
> disturb, so I want to basically "rename" the site from my customer. What
> I
> have done is this -- I created a new site, then unzipped the data, apphtml
> and ContentFiles to the new sites directory.
>
> The app starts BUT it is displaying data from "mywebsite" rather than the
> "new" site with the copied data of the site I expect. HOWEVER, if I go
> into
> the Studio, it is pointing to the proper path and appears completely
> normal.
> What am I missing here? I figure there must be something in the copied
> data
> that make the running website point to "mywebsite", even though in the
> Electos SiteManager the path shown is correct -- the program is using the
> copied sites design layout, BUT the "myWebsite" folders, data etc.
>
> Any ideas?
>
> Thanks in advance,
> Joe
>
> P.S. What I'm really trying to do is import a site to a new name. (An
> import and rename)
>
>