Quote from: BobRay at Dec 10, 2014, 11:07 AMIt's a mystery. The fact that it only happens at Rackspace suggests that it's a server issue, but the fact that it goes away when you clear the cache suggests that it could be something in MODX. My money would still be on it being caused by Rackspace.
Grepping the core/cache directory for 'localhost' after the problem occurs might provide a clue.
You might also grep the entire site's files for 'localhost' if you know how, and see if anything turns up other than the line in config.inc.php.
Similarly, you can export the entire database to a .sql file with PhpMyAdmin and search the file for 'localhost'.
Hi BobRay,
Sorry for the delay in response.
I did check the files on the server and the database, although i didn't think about Grepping the cache when the error had occurred.
I do appear to have resolved the issue though, as suggested my matdave I created the following settings and the error seems to have disappeared.
base_url: /
site_url:
http://www.domain.co.uk/
I've no idea why I had to do this as I've never had this issue anywhere else, maybe as matdave had this issue too its a rackspace setup quirk.
Thanks for everyones help!
Charles