Page 1 of 1

Stylesheets and Javascript still point to localhost

Posted: Thu Oct 13, 2005 10:05 am
by SandyD
Hi all,

I have a bit of a problem. My install is working fine for me, on my own machine, but when someone views pages from another machine, the linked stylesheets and javascript references still point to localhost.

e.g. See this part of generated page:




however, later on in the source the code refers to my machine name:

CMS Install Successful! 

Any ideas anyone?

Thanks in advance,
Sandy

Re: Stylesheets and Javascript still point to localhost

Posted: Thu Oct 13, 2005 11:35 am
by Ted
The site url is defined in config.php.  Change that to a value that everyone can see.  Then clear the cache in Global Settings.

Re: Stylesheets and Javascript still point to localhost

Posted: Thu Oct 13, 2005 1:02 pm
by SandyD
Thanks for the swift reply.

I had altered the config.php file but had not cleared the cache.

Just testing the CMS at the moment, but hoping to use it for our companies intranet if all works out fine.

Looking good so far.

SandyD

Re: Stylesheets and Javascript still point to localhost

Posted: Thu Oct 13, 2005 4:18 pm
by Ted
Excellent.  Glad to hear it.

Yeah, the cache usually only causes a problem when you modify config.php or some other low level type of change.  It's pretty smart otherwise on when to use it and when to ignore it.