Site Migration - Moving from subdirectory [solved]

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
philmo74

Site Migration - Moving from subdirectory [solved]

Post 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
Last edited by philmo74 on Mon Oct 29, 2007 2:50 pm, edited 1 time in total.
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: Site Migration - Moving from subdirectory

Post 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...
philmo74

Re: Site Migration - Moving from subdirectory

Post by philmo74 »

Ok thanks a lot I will try that today.

Cheers
herbshirt
Forum Members
Forum Members
Posts: 145
Joined: Thu Jul 26, 2007 3:47 am

Re: Site Migration - Moving from subdirectory

Post 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.
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: Site Migration - Moving from subdirectory [solved]

Post 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?...
herbshirt
Forum Members
Forum Members
Posts: 145
Joined: Thu Jul 26, 2007 3:47 am

Re: Site Migration - Moving from subdirectory [solved]

Post 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.
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: Site Migration - Moving from subdirectory [solved]

Post 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%;}

herbshirt
Forum Members
Forum Members
Posts: 145
Joined: Thu Jul 26, 2007 3:47 am

Re: Site Migration - Moving from subdirectory

Post 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?
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: Site Migration - Moving from subdirectory [solved]

Post 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...
herbshirt
Forum Members
Forum Members
Posts: 145
Joined: Thu Jul 26, 2007 3:47 am

Re: Site Migration - Moving from subdirectory [solved]

Post 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.
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: Site Migration - Moving from subdirectory [solved]

Post 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
#--------------
herbshirt
Forum Members
Forum Members
Posts: 145
Joined: Thu Jul 26, 2007 3:47 am

Re: Site Migration - Moving from subdirectory [solved]

Post 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)
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: Site Migration - Moving from subdirectory [solved]

Post 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...
herbshirt
Forum Members
Forum Members
Posts: 145
Joined: Thu Jul 26, 2007 3:47 am

Re: Site Migration - Moving from subdirectory

Post 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.

>:(
Last edited by herbshirt on Mon Nov 05, 2007 8:07 pm, edited 1 time in total.
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: Site Migration - Moving from subdirectory [solved]

Post 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.
   
 
Locked

Return to “CMSMS Core”