1
kjs222
Module/Site Loading Issue: "WWW" Dependant
  • 2006/3/9 17:49

  • kjs222

  • Friend of XOOPS

  • Posts: 116

  • Since: 2003/3/1 1


Hi All,

Our site has been up for a few years now; but there's a nagging problem that keeps arising.

When you access the site using either:

http://www.domainname.com or
domainname.com

Everything loads properly.

However, when you access certain modules (in this case, newbb v.1) the

- "domainname.com/modules/newbb(/index.php)" works fine, while
- "www.domainname.com/modules/newbb(/index.php)" loads up a blank page.

(Note, the same goes with /modules/newbb/*)

I'm positive the problem depends on the mainfile.php setting for site url. Currently the site url is: domainname.com - if I change the site url to http://www.domainname.com, then the module loads fine using www.

Oh, I don't get any blatant error messages when I set php debug on.

So... I'm guessing that others have encountered this before. For all I know it could have been fixed in subsequent versions of newbb. If anyone has insight, I'd appreciate.

Thanks,
Keith
Oh Canada!... Best episode ever.

2
peterr
Re: Module/Site Loading Issue: "WWW" Dependant
  • 2006/3/10 0:25

  • peterr

  • Just can't stay away

  • Posts: 518

  • Since: 2004/8/5 9


Do you have the 'www' dns setting, where the domain is registered, setup correctly ??

The dns settings (zone file) should have a record like this

Host name Record type Address

www A ip.add.re.ss

(sorry that the above will be all 'misaligned, but you will be able to work it out).

P
NO to the Microsoft Office format as an ISO standard.
Sign the petition

3
peterr
Re: Module/Site Loading Issue: "WWW" Dependant
  • 2006/3/10 0:57

  • peterr

  • Just can't stay away

  • Posts: 518

  • Since: 2004/8/5 9


btw, the blank page in PHP will be, in 98% of the cases, a syntax error or similar. It would depend on what these settings are in your .htaccess file

php_value display_errors 0
php_value log_errors 1
php_value error_log 
....somelogfilename


or in the values in PHP.INI, if you don't see any output to the browser on a blank page, then most likely 'display_errors' is off (zero).

P
NO to the Microsoft Office format as an ISO standard.
Sign the petition

Login

Who's Online

328 user(s) are online (212 user(s) are browsing Support Forums)


Members: 0


Guests: 328


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