Site Links
Home
Features
Documentation
Pricing & Order
Members Area
Support Options
UBBDev.com
UBBWiki.com
Who's Online
5 registered (SteveS, driv, A-GATE, Iann128, GregK), 42 Guests and 17 Spiders online.
Key: Admin, Global Mod, Mod
Featured Member
Registered: 06/05/06
Posts: 709
Top Posters (30 Days)
Ruben 51
Gizmo 24
DennyP 24
Dunny 15
SteveS 13
AllenAyres 12
SD 10
dbremer 10
drkknght00 9
doug 8
Latest Photos
OK Corral Shoot Out
Testing
Basildon Train Station
Basildon Town Centre looking from the rounderbout
Basildon Town Square
Topic Options
#216548 - 08/20/08 09:47 PM Shoutbox and domain referer problems...
Murphdog Offline
stranger
Registered: 08/18/08
Posts: 13
I just became a new user of UBB and installed it just 2 days ago on my server. One of the first things I noticed was that the shoutbox was not showing my shouts. This was not a concern at the time.

Today, I tried posting new topics and came up with the following error.
Quote:
The host from which you are accessing the board is not recognized as a valid host. This is more than likely related to a firewall issue that is blocking the referer variable. Check your firewall settings and try again.

I found posts about firewalls (specially Norton 360) and determined that this is not the issue because I disabled the firewalls on multiple computer and this still occured.

So I went to the Primary Settings / Advanced Options / Domains for HTTP Referer Check option and tried adding http://mydomain.com to the list. http://www.mydomain.com was already in there. Sadly, this made no difference either.

I then was looking for other places that http://www.mydomain.com may have been located and I found in the DB, Paths & URLs / Paths & Url's / Full URL to Main Directory field the reference to http://www.mydomain.com so I changed it to http://mydomain.com . This seemed to fix the http://mydomain.com issue but now I have the exact same problem with http://www.mydomain.com, so basically I'm back where I started, having problems with http://www.mydomain.com instead of http://mydomain.com .

In any case, I came across the topic called Shout Box Problems and figured maybe my change would fix this but it didn't seem to. So if I have http://www.mydomain.com in the Control Panel settings. I can see the shout box working but not when I go to http://mydomain.com. It's the opposite of course when I have http://mydomain.com in the Control Panel settings.

On a side not, My forum goes to http://www.mydomain.com or http://mydomain.com and not [url=htpp://www.mydomain.com/forum]htpp://www.mydomain.com/forum[/url] or http://mydomain.com/forum by design. I don't think this has anything to do with it. If anyone thinks different please tell me and I will change it's location.

Thanks
Murph






Edited by Murphdog (08/20/08 09:50 PM)
Top
Express Hosting
Express Hosting "We are the official hosting company of UBB.threads. Ask us about our free migration services to migrate your UBB.threads installation."
#216552 - 08/21/08 03:46 AM Re: Shoutbox and domain referer problems... [Re: Murphdog]
Gardener Offline
member
Registered: 06/06/06
Posts: 189
Loc: Sweden
As for the shoutbox problems, that's just how AJAX/Javascript works. You can't call a script from another server than the originating script runs on.

So, if your primary site address is www.domain.com and you go to domain.com, the AJAX call to update the shoutbox tries to call www.domain.com anyway. Which won't work.

You either have to only use the main domain, and redirect the other to it. Or possibly modify the shoutbox code so that it calls the same domain as it is running on.
_________________________
aka Olle Johansson
Top
#216555 - 08/21/08 09:42 AM Re: Shoutbox and domain referer problems... [Re: Gardener]
Gizmo Offline

Registered: 06/05/06
Posts: 14995
Loc: Portland, OR; USA
I solved this issue by forcing users to use "www.undergroundnews.com" and having "undergroundnews.com" automatically forward all requests to the "www." subdomain.
_________________________
Forums: UGN Security & VNC Web Design & Development
UBB.Threads: UBB.Wiki, My UBBSkins, UBB.Sitemaps
Longtime UBB Supporter, UBB Beta Tester & Resident Post-A-Holic.
UBB Modifications, Styling, Coding Services, Disaster Recovery, and more!
Top
#216556 - 08/21/08 10:05 AM Re: Shoutbox and domain referer problems... [Re: Gizmo]
Murphdog Offline
stranger
Registered: 08/18/08
Posts: 13
Originally Posted By: Gizmo
I solved this issue by forcing users to use "www.undergroundnews.com" and having "undergroundnews.com" automatically forward all requests to the "www." subdomain.


This sounds like something I should be able to do with my webhost.
Top
#216557 - 08/21/08 10:08 AM Re: Shoutbox and domain referer problems... [Re: Murphdog]
Yarp™ Offline
Registered: 08/30/06
Posts: 1513
Loc: Breda, NL
You can do it with either an .htaccess file, or with a hack in ubb that forces everyone to the full url configured in control panel.

I use the later, and it's published on UBBDev. The .htaccess solution you can find right over here.
_________________________
Top
#216560 - 08/21/08 12:07 PM Re: Shoutbox and domain referer problems... [Re: Yarp™]
Murphdog Offline
stranger
Registered: 08/18/08
Posts: 13
my webhost did find an issue on the backend of things so they said it may take 24-72 hours to resolve. I will also look into those 2 options you mention blaaskaak. Thanks.
Top
#216561 - 08/21/08 12:46 PM Re: Shoutbox and domain referer problems... [Re: Murphdog]
JAISP Offline
old hand
Registered: 02/10/07
Posts: 1144
Sounds like they put in a DNS entry listing the domainname.com to the IP address of the server. This usually tells the server to look for domainname.com and when it does not see it then it goes to the listed www.domainname.com automatically.

It usually takes 12-72 hours for the DNS registry to update through out the world.
Top
#216570 - 08/21/08 11:30 PM Re: Shoutbox and domain referer problems... [Re: JAISP]
Murphdog Offline
stranger
Registered: 08/18/08
Posts: 13
I got both issues resolved by using htaccess without having to wait for them to fix any dns issue that really may or may not exist. I have the non-www version being forwarded to the www version and all references to my domain go to the www version. Everything works fine now including the shoutbox.
Top
#216576 - 08/22/08 04:37 AM Re: Shoutbox and domain referer problems... [Re: Murphdog]
Gizmo Offline

Registered: 06/05/06
Posts: 14995
Loc: Portland, OR; USA
wink glad its workig
_________________________
Forums: UGN Security & VNC Web Design & Development
UBB.Threads: UBB.Wiki, My UBBSkins, UBB.Sitemaps
Longtime UBB Supporter, UBB Beta Tester & Resident Post-A-Holic.
UBB Modifications, Styling, Coding Services, Disaster Recovery, and more!
Top



Moderator:  AllenAyres, Harold, Ian, Ron M 
Shout Box

Today's Birthdays
No Birthdays
Recent Topics
Temporary Password email not being received
by
05/24/12 10:02 PM
Ability to "like" individual posts (not Facebook "likes)
by doug
05/23/12 09:03 AM
Island Permissions
by ThreadsUser
05/22/12 03:03 PM
streaming video
by prkrgrp
05/20/12 07:02 PM
New Posts Corrupted? Can someone help?
by PianoWorld
05/19/12 09:41 AM
Forum Stats
10492 Members
36 Forums
33842 Topics
181709 Posts

Max Online: 978 @ 06/24/07 11:19 PM
Random Image