I just updated my site to v2.3.0 - Build: date 20111011 and for some reason the URL to the root directory will not save. It tells me Preferences Updated, but the area returns blank. Has this issue come up before?
This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.
The active forums are here.
October 13, 2011 4:01pm
Subscribe [3]#1 / Oct 13, 2011 4:01pm
I just updated my site to v2.3.0 - Build: date 20111011 and for some reason the URL to the root directory will not save. It tells me Preferences Updated, but the area returns blank. Has this issue come up before?
#2 / Oct 14, 2011 3:09am
Hi LW4 Comm,
Take a look in your config.php file as it may be overriding it there. Also make sure your config.php has permissions of 666
#3 / Oct 14, 2011 9:57am
The permissions is set to 666. I don’t see a line in the config.php that calls for url root.
#4 / Oct 14, 2011 11:00am
How do I override it? None of the links on my site work.
#5 / Oct 14, 2011 12:24pm
Also when I added config.php override
$config['site_url'] = "http://www.website/directory/"I get a blank page and I lose the control panel.
#6 / Oct 14, 2011 12:47pm
Ok. I removed these two lines and now it works.
$config['base_url']= apache_getenv("site_url");
$config['site_url']= apache_getenv("site_url");Please tell me I didn’t mess up anything else.
#7 / Oct 14, 2011 5:50pm
Ah! That would be why you weren’t able to update that field from the CP. If you’re automatically setting those variables using system environmental variables or anything other than simple strings, you won’t be able to update them from the CP.
Looks like you’re all set now. Is there anything else we can help with?