1
tedhogan
stuck on localhost
  • 2005/10/5 16:40

  • tedhogan

  • Just popping in

  • Posts: 3

  • Since: 2005/10/5


Hi everyone,

This is probably something really, really basic and stupid... but.... I'm stuck...

My site seems to be "stuck" on hard coded localhost urls. I can't view my site from a different machine, everything comes up as localhost in the url.

Works fine on my box, but no joy from any other...

Any ideas?

Thanks!

Ted

2
tedhogan
Re: stuck on localhost
  • 2005/10/5 17:06

  • tedhogan

  • Just popping in

  • Posts: 3

  • Since: 2005/10/5


Ok, I solved the problem myself.

I had to manually edit the mainfile.php file and change:

define('XOOPS_URL', 'http://localhost/xoops/html');

to

define('XOOPS_URL', 'http://my_specific_url/xoops/html');

This drove me nuts trying to track down.

Ted

3
Herko
Re: stuck on localhost
  • 2005/10/5 19:51

  • Herko

  • XOOPS is my life!

  • Posts: 4238

  • Since: 2002/2/4 1


oh? it's in the FAQ, and the search feature should have given you some result... Glad you have it working tho Be sure to click the 'update' icon in the system admin -> modules page for at least the system module (but article and blog modules too, most likely), because they use the same hardcoded base URL, and sometimes store it in a cached file.

Herko

Login

Who's Online

435 user(s) are online (153 user(s) are browsing Support Forums)


Members: 0


Guests: 435


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Jul 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits