Page 1 of 2

Site Migration - Moving from subdirectory [solved]

Posted: Sat Oct 27, 2007 7:57 pm
by philmo74
Hello all,

I have a quick question that I want to ask before I try to do anything. I have developed a CMSMS site in a sub-directory (www.mcgillrockstar.com/cmsmadesimple/) and I want to migrate to www.mcgillrockstar.com to replace the old non-cms website. Is there an easy way of doing this???

Thanks ahead of time for your help,
Phil

Re: Site Migration - Moving from subdirectory

Posted: Sun Oct 28, 2007 12:05 am
by Dr.CSS
Move all folders/files from sub to root, change paths in config.php to reflect new urls...

And of course backup all...

Re: Site Migration - Moving from subdirectory

Posted: Mon Oct 29, 2007 2:49 pm
by philmo74
Ok thanks a lot I will try that today.

Cheers

Re: Site Migration - Moving from subdirectory

Posted: Sun Nov 04, 2007 11:08 pm
by herbshirt
I tried that...
I changed the url after $config['root_url']

The old site that is still active is .html to I used www.mysite.com/index.php

but it lost reference to style sheet and images.
I can't find in the template where it references the style sheet.

Anyone?

Herb.

Re: Site Migration - Moving from subdirectory [solved]

Posted: Mon Nov 05, 2007 1:14 am
by Dr.CSS
The style sheets are called in the template with {stylesheet} tag...

@herbshirt, what did you do, what all did you change?... do you have a link to the site?...

Re: Site Migration - Moving from subdirectory [solved]

Posted: Mon Nov 05, 2007 1:19 am
by herbshirt
http://203.98.74.172/~cruicksh/index.php

You'll see I'm also having some (&^%(& IE6 issues at the moment as well.

Re: Site Migration - Moving from subdirectory [solved]

Posted: Mon Nov 05, 2007 1:23 am
by Dr.CSS
That's not the site as moved where you have no style sheet is it?...

You may want to change the Line in the template that tells IE the min/max...



#pagewrapper {width:expression(P7_MinMaxW(720,950));}
#container {height: 1%;}


Re: Site Migration - Moving from subdirectory

Posted: Mon Nov 05, 2007 1:33 am
by herbshirt
No. it's when I change the config file to the new url I get the problem... I'll do it now so you can see.

I can't find that line of code in the stylesheet?

(and yes dumb me - of course it's called with {stylesheet}!) but that confuses me more about where I change the ref?

Re: Site Migration - Moving from subdirectory [solved]

Posted: Mon Nov 05, 2007 1:36 am
by Dr.CSS
mark wrote: That's not the site as moved where you have no style sheet is it?...

You may want to change the Line in the template that tells IE the min/max...



#pagewrapper {width:expression(P7_MinMaxW(720,950));}
#container {height: 1%;}

It's in the template...

Re: Site Migration - Moving from subdirectory [solved]

Posted: Mon Nov 05, 2007 1:53 am
by herbshirt
Yes you did say 'Template' ...sorry.

I'll have a look but after setting the config file back to the new url and with the problem I'm having I also couldn't access admin so I've had to put it back.

Any suggestions on the config issue? Do I have to change something in the admin config (..scary!)

Thanks a million.

Re: Site Migration - Moving from subdirectory [solved]

Posted: Mon Nov 05, 2007 1:57 am
by Dr.CSS
There are numerous places in the config to check for URLs...

#-------------
#Path Settings
#-------------

This has a few and...

this has one...

#--------------
#Image Settings
#--------------

Re: Site Migration - Moving from subdirectory [solved]

Posted: Mon Nov 05, 2007 2:24 am
by herbshirt
Thanks Mark. Fixed the url/links issue.

FYI,
Still persisting with the IE/width thing. Tried the suggested code with a few extreme different values.. nothing yet.
(eg: http://www.cruickshanks.com.au/index.ph ... ommodation in IE)

Re: Site Migration - Moving from subdirectory [solved]

Posted: Mon Nov 05, 2007 5:26 pm
by Dr.CSS
You are missing a closing div, , at the end of the template, may be coming from something on that page above it, and you can take the hspace & vspace as they don't do anything and go thru the html for extra html tags that don't do anything, edit page and click HTML button...

If you are using a fixed with site/template you can take the references to min/max in the CSS and the lines for IE in template, just width:880px for pagewrapper will do...

Re: Site Migration - Moving from subdirectory

Posted: Mon Nov 05, 2007 7:26 pm
by herbshirt
Hi Mark,

Thanks again.

First of all... what program do you use to check things like missing div's? I had already used both Dreamweaver and Topstyle and neither of them visually indicated any code errors. I'm not great at coding, I start with templates, so I rely on those app's to help me as much as possible  :o.
Also, I'm afraid the suggestions haven't worked yet. I'll keep trying.


update; Can someone tell me where 'Bill' lives so I can go throw eggs on his roof. I HATE IE!!!! I just downloaded the entire site and opened in DW CS3. It told me about the Flash/Object not being considered 'safe' in IE7. Would I like it to add some code so it's compatible, I tried 'Yes'. ... it killed my flash content. Obviously I ditched it.

I've looked (stared) at the template, the stylesheet and the page code since 5am this morning... all because of IE.

>:(

Re: Site Migration - Moving from subdirectory [solved]

Posted: Mon Nov 05, 2007 9:07 pm
by Dr.CSS
I use Firefox with the Web Developers tool bar when I right click to view source I get a window that has html tidy built in, then I copy/paste it into PSPad editor, free, and if I click the it will tell me where the closing is, if none it turns red, very useful for templates...

It's good for cleaning/arranging code in a coherent manner like this...




  Your accommodation
  The Homestead

 
 
    The homestead offers 2 bedrooms. 1 double with private a entrance and ensuite and another twin room with it's own bathroom.
 
 
    Guests are openly welcome to use the kitchen, living area, TV and our extensive library.
 
 
    It's a true country homestead.
 
 
     
 
 
     
 
  The Cottage
 
 
    The cottage has three bed rooms accommodating up to 8 people.
 
 
    It's fully self contained with a complete kitchen, BBQ, laundry, TV, DVD/VCR, CD-Player... the works.
 
 
    There's a woodfire for cold nights which will keep you warm and cosy.
 
 
   
 
 
    Self cater or be totally spoilt and have some or all your meals delivered to the cottage.
 


 


 
     
 
 
     
 

 
     
 
 
     
 

 



 
    © Copyright 2004-2007 - Cruickshanks BnB Farmstay.
    Web design by Neurovision.
 



instead of this...


   

     


     
     

           


        Your accommodation
        The Homestead
The homestead offers 2 bedrooms. 1 double with private a entrance and ensuite and another twin room with it's own bathroom. Guests are openly welcome to use the kitchen, living area, TV and our extensive library.  It's a true country homestead.     The Cottage  The cottage has three bed rooms accommodating up to 8 people.  It's fully self contained with a complete kitchen, BBQ, laundry, TV, DVD/VCR, CD-Player... the works.  There's a woodfire for cold nights which will keep you warm and cosy.   Self cater or be totally spoilt and have some or all your meals delivered to the cottage. 



   
    


       
     
     
 
 
 
     
      © Copyright 2004-2007 - Cruickshanks BnB Farmstay. Web design by Neurovision.