Hey all. I really like the software by the way. But now I've hit a problem.
I tried to change the root_url, by downloading, editing and re-uploading my config.php. Then I pressed " Clear " (cache) in the admin settings, but it still hasn't updated, either on the site, or in site information.
I'm running CMSMS 1.6.6 "Bonde", on Apache. I have access to all the files and databases. I'm logged in using the root user.
Thanks,
Utopian
--
[Edited to mark as solved.]
[Solved] Cache not clearing (after root_url change)
[Solved] Cache not clearing (after root_url change)
Last edited by Utopian on Sat Nov 14, 2009 1:52 pm, edited 1 time in total.
Re: Cache not clearing (after root_url change)
Um, okay, here goes:
* I set up my site at one URL, www.foo.com
* I then registered a new domain, www.bar.com, which I want to use from now on
* I downloaded the config.php from the main directory
* I changed $config['root_url'] = 'http://www.foo.com'; to $config['root_url'] = 'http://www.bar.com';
* I re-uploaded it over the old one
* I went to Global settings > Advanced and pressed the "Clear" button
* However, all my links still point to foo.com, "View my site" in the CMSMS interface still points to foo.com, and so forth i.e. nothing has changed
How can I switch over to using bar.com rather than foo.com? I thought the above would work but it didn't.
Thanks,
Utopian
* I set up my site at one URL, www.foo.com
* I then registered a new domain, www.bar.com, which I want to use from now on
* I downloaded the config.php from the main directory
* I changed $config['root_url'] = 'http://www.foo.com'; to $config['root_url'] = 'http://www.bar.com';
* I re-uploaded it over the old one
* I went to Global settings > Advanced and pressed the "Clear" button
* However, all my links still point to foo.com, "View my site" in the CMSMS interface still points to foo.com, and so forth i.e. nothing has changed
How can I switch over to using bar.com rather than foo.com? I thought the above would work but it didn't.
Thanks,
Utopian
Re: Cache not clearing (after root_url change)
Apparently that message took a little while to post 

Re: Cache not clearing (after root_url change)
Hello Utopian
Try to create a new config.php
Upload the install folder back on to the new server.
Open ....com/install/
Proceed the whole procedure except the creation of db-tables and default content. Uncheck this option!
So DON'T create tables and default content.
If you do your database will be overwritten!
A new backup is always good to do first.
Delete the install folder afterwards
And chmod 444 the config.php file.
Good luck Rolf
Try to create a new config.php
Upload the install folder back on to the new server.
Open ....com/install/
Proceed the whole procedure except the creation of db-tables and default content. Uncheck this option!
So DON'T create tables and default content.
If you do your database will be overwritten!
A new backup is always good to do first.
Delete the install folder afterwards
And chmod 444 the config.php file.
Good luck Rolf
- + - + - + - + - + - + -
LATEST TUTORIAL AT CMS CAN BE SIMPLE:
Migrating Company Directory module to LISE
Migrating Company Directory module to LISE
- + - + - + - + - + - + -
Re: Cache not clearing (after root_url change)
Wonderful, that worked perfectly Rolf, thank you.
Keep up the good work with CMSMS!
Utopian
Keep up the good work with CMSMS!
Utopian