1
nassausky
$xoops_url or how to setup site for other than localhost
  • 2007/1/30 22:27

  • nassausky

  • Just popping in

  • Posts: 4

  • Since: 2007/1/30


My remote machine on a local intranet can see the XOOPS server but no photos are being loaded.. After close inspection of the remote machine I noticed that the urls for the phots are displaying ashttp://localhost/themes/default... I want XOOPS to create the dynamic pages with the correct url of the server.. How do I change the variable $xoops_url to have the correct value? or is there an admin interface to set the sites url.

Many thanks for any help
:)
Mike

2
vaughan
Re: $xoops_url or how to setup site for other than localhost
  • 2007/1/30 23:07

  • vaughan

  • Friend of XOOPS

  • Posts: 680

  • Since: 2005/11/26


being as you're new to xoops, read the FAQ section, and some of the documentation.

or use the search feature.

your question is definitely on this forum hundreds of times and is also in the FAQ

check mainfile.php xoops_url define.

3
nassausky
Re: $xoops_url or how to setup site for other than localhost
  • 2007/1/30 23:13

  • nassausky

  • Just popping in

  • Posts: 4

  • Since: 2007/1/30


OK I figured it out for anyone else curious about this issue.. The variable is set in the mainfile.php file which you should have set to read only before the first run. I changed this line

define('XOOPS_URL', 'http://localhost');
define('XOOPS_URL', 'http://xxx.xxx.xxx.xxx'); which is a temporary ip address host name i'm using during trial runs..

:)
Mike

Login

Who's Online

188 user(s) are online (137 user(s) are browsing Support Forums)


Members: 0


Guests: 188


more...

Donat-O-Meter

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

Latest GitHub Commits