Stylesheets and Javascript still point to localhost

Help with getting the CMS CORE package up and running. This does not include 3rd party modules, PHP scripts, anything downloaded via module manager or from any external source.
Locked
SandyD

Stylesheets and Javascript still point to localhost

Post 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
Ted
Power Poster
Power Poster
Posts: 3329
Joined: Fri Jun 11, 2004 6:58 pm

Re: Stylesheets and Javascript still point to localhost

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

Re: Stylesheets and Javascript still point to localhost

Post 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
Ted
Power Poster
Power Poster
Posts: 3329
Joined: Fri Jun 11, 2004 6:58 pm

Re: Stylesheets and Javascript still point to localhost

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

Return to “[locked] Installation, Setup and Upgrade”