1
silverwing
Forced to use www.
  • 2004/6/5 19:04

  • silverwing

  • Just popping in

  • Posts: 14

  • Since: 2004/6/5 1


Installed XOOPS and the short url hack last night.

Now when I try to go to my site, if I type in http://landofmidnight.com I get a blank screen, but http://www.landofmidnight.com gets the homepage.

i debugged and got an error on line 112 of header.php. This line is
le="color: #000000"><?php $xoopsTpl->assign('xoops_pagetitle', $xoopsModule->getVar('name'));


Is there something I can change this to?

Thanks,
silverwing

2
digital01
Re: Forced to use www.
  • 2004/6/5 21:48

  • digital01

  • Just popping in

  • Posts: 25

  • Since: 2004/6/3 1


Actually...when I try it the other way I get this
Quote:

Fatal error: Call to a member function on a non-object in /home/landof00/public_html/header.php on line 112

I didn't see any difference in line 112 than what I was supposed to be, maybe your missing a line or 2 above. I would do a couple things to make it work. Replace your header.php with a unedited version from XOOPS, then also check to see if you haven't enabled protection on http://landofmidnight.com/ on your webserver. Good luck, and I hope that helped a little.

3
tl
Re: Forced to use www.
  • 2004/6/5 21:54

  • tl

  • Friend of XOOPS

  • Posts: 999

  • Since: 2002/6/23



4
Dhurgan
Re: Forced to use www.
  • 2004/6/5 21:56

  • Dhurgan

  • Just popping in

  • Posts: 68

  • Since: 2004/2/11


Removed my comment
PS - just read the thread indicated in the post before mine, and the probable solution is in there, just read it.

5
tom
Re: Forced to use www.
  • 2004/6/5 22:07

  • tom

  • Friend of XOOPS

  • Posts: 1359

  • Since: 2002/9/21


regarding www. and just domain, you may find the following thread of interest and use:


thread


I've not read it fully, but I believe there is something about a patch there.

I hope this is of some help.

EDITED


Sorry I should also learn to read, pmsl I see tl had all ready posted the link, sorry about that.

6
silverwing
Re: Forced to use www.
  • 2004/6/5 22:47

  • silverwing

  • Just popping in

  • Posts: 14

  • Since: 2004/6/5 1


Thanks, everyone, for your help. I used the patch, and it works.

It just seems silly that in the day and age of the web a program would differentiate between the www and the notwww.

Well, that took care of a problem that didn't have anything to do with the functionality of the site! Now on to figure out how to send emails out!

silverwing - then how to modify the theme... then look for mods...

And, fyi, I'm switching over from postnuke

Login

Donat-O-Meter

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

Latest GitHub Commits