1
brash
CBB 1.16a not reading XOOPS_URL from mainfile.php?
  • 2006/5/31 12:15

  • brash

  • Friend of XOOPS

  • Posts: 2206

  • Since: 2003/4/10


Hi All,

Helping a guy out with an his XOOPS 2.0.13.2 site at the moment and have install CBB 1.16a for him. Have an issue where the URL specified in mainfile.php is actually different to that which is shown in the address bar when viewing the forums. In mainfile.php he has got http://www.domain.com but when viewing the forums that domain changes to domain.com .

Only thing I could see that could cause it was the server_name PHP variable which was also set to domain.com instead of http://www.domain.com. To test the theory I had the system admin change the PHP server_name variable to another domain that this guy owns, and sure enough the domain shown when view CBB also changed.

I will probably just get the sys admin to change the server_name PHP variable to match that of the XOOPS_URL value in mainfile.php, but I was just wondering if anyone had any ideas as to why CBB doesn't use XOOPS_URL like other modules do?
IT Headquarters
Innovative IT Solutions

Login

Who's Online

335 user(s) are online (250 user(s) are browsing Support Forums)


Members: 0


Guests: 335


more...

Donat-O-Meter

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

Latest GitHub Commits