Previous Thread
Next Thread
Print Thread
Rate Thread
#223512 09/01/2002 10:16 PM
Joined: Jun 2002
Posts: 19
Newbie
Newbie
Offline
Joined: Jun 2002
Posts: 19
Looks all good except I get this with the shoutbox:

Warning: Empty delimiter in /usr/local/domains/bowiedev/htdocs/core/boards/ubbt.inc.php on line 506

Any feedback while I dig in?

thanks.

sP

Sponsored Links
Joined: Jun 2001
Posts: 3,273
That 70's Guy
That 70's Guy
Offline
Joined: Jun 2001
Posts: 3,273
Is this on 6.1br1 ?

Off hand I don't have a clue as to what is causing this error right now...

Anyone else get this error?

Joined: Jun 2002
Posts: 19
Newbie
Newbie
Offline
Joined: Jun 2002
Posts: 19
yes, its 6.1br1.
I had to comment out the version checker to get it moving...

relative code from ubbtinc:
// #######################################################################
// Check_refer
// #######################################################################
function check_refer($Cat="") {

global $config,$ubbt_lang;
$valid = 0;
$referers = split("\|",$config['referer']);
for ($i=0; $i <= (sizeof($referers)-1); $i++) {
<<line 506>> if (stristr(find_environmental('HTTP_REFERER'),$referers[$i])) {
$valid++;
}
}
if (!$valid) {
$this -> not_right($ubbt_lang['NOT_VALID'],$Cat);
}
}

Joined: Jun 2002
Posts: 19
Newbie
Newbie
Offline
Joined: Jun 2002
Posts: 19
shall I edit the referrer in admin?

Joined: Jun 2001
Posts: 3,273
That 70's Guy
That 70's Guy
Offline
Joined: Jun 2001
Posts: 3,273
That's the refer checker... you may want to keep that in if at all possible.. what do you have for $config['referer'] in your config.inc.php script?

Sponsored Links
Joined: Jun 2002
Posts: 19
Newbie
Newbie
Offline
Joined: Jun 2002
Posts: 19
thanks for your help.

its disabled....

$config['disablerefer'] = "1";

$config['referer'] = "";

Joined: Jun 2001
Posts: 3,273
That 70's Guy
That 70's Guy
Offline
Joined: Jun 2001
Posts: 3,273
Thanks for the tip! I forgot that it can be disabled and wasn't taking that into consideration. I'll get that fixed for this next update.

There's a couple other places I think I have checking refer such as pollpal... I'll get that fixed too.

Joined: Jun 2002
Posts: 19
Newbie
Newbie
Offline
Joined: Jun 2002
Posts: 19
oh, ok. I guess for now I will enable it then.

Everything else seems fine. This is a brilliant addition to UBBT. Thanks so much.

sP

Joined: Jun 2002
Posts: 19
Newbie
Newbie
Offline
Joined: Jun 2002
Posts: 19
After just enabling it, the error goes away but I still get the default ubbt message:

"We cannot proceed.

The host you are trying to send the input from is not a valid host.

Please use your back button to return to the previous page"

I added the domain, a pipe, and the www.domain.com.
I'll tinker a bit more...
This could be something on my end since I am on a dev server. not sure yet.

thanks.


Joined: Jun 2002
Posts: 19
Newbie
Newbie
Offline
Joined: Jun 2002
Posts: 19
works now. I had to get rid of 'spaces' surround the pipe between the domains. silly.

all good.

thanks for your help.

sP

Sponsored Links
Joined: Jun 2001
Posts: 3,273
That 70's Guy
That 70's Guy
Offline
Joined: Jun 2001
Posts: 3,273
Your Welcome


Link Copied to Clipboard
Donate Today!
Donate via PayPal

Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.

Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
Recommended Hosts
We have personally worked with and recommend the following Web Hosts:
Stable Host
bluehost
InterServer
Visit us on Facebook
Member Spotlight
Posts: 70
Joined: January 2007
Forum Statistics
Forums63
Topics37,573
Posts293,925
Members13,849
Most Online5,166
Sep 15th, 2019
Today's Statistics
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
Top Posters
AllenAyres 21,079
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,833
Greg Hard 4,625
Top Posters(30 Days)
Top Likes Received
isaac 82
Gizmo 20
Brett 7
WebGuy 2
Morgan 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2024 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20240430)