1
saamah
URL conflict!
  • 2005/11/16 12:09

  • saamah

  • Just popping in

  • Posts: 12

  • Since: 2005/9/9 1


Dear XOOPers

I hope someone can help me with what is no doubt a newbie problem. I've just uploaded my XOOPS website, and adjusted my XOOPS_ROOTS_PATH as my space provider suggested. The problem is with the constant XOOPS_URL. If I leave it blank, the website works, but there are problems in that a) the user activation confirmation email does not show the correct link but rather the internal path "/modules/profiles..." and b) redirecting doesn't work (it keeps on trying to go to a website called "modules/prifles..." etc. If I change the XOOPS_URL to my URL (www.babelnet.co.uk), however, it is unable to load up templates and stuff.

What should I do? Do I have to invent a new constant in mainfile.php? It seems like XOOPS sometimes wants the full URL, but sometimes only wants the internal path.

Thanks for your help
Saameh

2
davidthomas1
Re: URL conflict!

Your mainfile.php setting for XOOPS_URL should look like this:

lines:36-39

    
// XOOPS Virtual Path (URL)
    // Virtual path to your main XOOPS directory WITHOUT trailing slash
    // Example: define('XOOPS_URL', 'http://www.babelnet.co.uk');
    
define('XOOPS_URL''http://www.babelnet.co.uk');


You need to include the http://

HIH
みんなちがってみんないい。

XOOPS 2.0.13.2

3
saamah
Re: URL conflict!
  • 2005/11/16 15:52

  • saamah

  • Just popping in

  • Posts: 12

  • Since: 2005/9/9 1


Aha! My version of XOOPS doesn't give that rather helpful example in mainfile.php. Thanks for your help!

Saameh

4
davidthomas1
Re: URL conflict!

Glad it's working,

happy Xooping!
みんなちがってみんないい。

XOOPS 2.0.13.2

Login

Who's Online

240 user(s) are online (177 user(s) are browsing Support Forums)


Members: 0


Guests: 240


more...

Donat-O-Meter

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

Latest GitHub Commits