Site Links
Home
Features
Documentation
Pricing & Order
Members Area
Support Options
Who's Online
2 registered (blaaskaak, Harold), 16 Guests and 23 Spiders online.
Key: Admin, Global Mod, Mod
Featured Member
Registered: 01/08/07
Posts: 48
Top Posters (30 Days)
Ruben Rocha 179
Gizmo 112
Rick 109
Thelockman 80
driv 43
AllenAyres 35
ntdoc 28
Ian 24
Sirdude 23
ScriptKeeper 20
Latest Photos
My Home System
test photo gallery
Bernese Mountain Dogs
My Daimler
Dorado and shark
Topic Options
Rate This Topic
#2455 - 08/09/06 04:28 AM [FIXED in b5] Errors in server error logs
aus-city Offline
journeyman

Registered: 07/20/06
Posts: 66
I keep seeing these errors....

[client 211.30.153.129] PHP Notice: Undefined variable: tbopen in /**path**/ubbthreads/cache/online_now.php on line 2
[client 211.30.153.129] PHP Notice: Undefined variable: style_side in /**path**/ubbthreads/cache/online_now.php on line 4
[client 211.30.153.129] PHP Notice: Undefined variable: style_side in /**path**/ubbthreads/cache/online_now.php on line 9
[client 211.30.153.129] PHP Notice: Undefined variable: tbclose in /**path**/ubbthreads/cache/online_now.php on line 21
[client 211.30.153.129] PHP Notice: Constant UBB_MAIN_PROGRAM already defined in /**path**/index.php on line 226
[client 211.30.153.129] PHP Notice: Undefined variable: tbopen in /**path**/ubbthreads/cache/post_island_11.php on line 2
[client 211.30.153.129] PHP Notice: Undefined variable: style_side in /**path**/ubbthreads/cache/post_island_11.php on line 4
[client 211.30.153.129] PHP Notice: Undefined variable: style_side in /**path**/ubbthreads/cache/post_island_11.php on line 9
[client 211.30.153.129] PHP Notice: Undefined variable: tbclose in /**path**/ubbthreads/cache/post_island_11.php on line 29

[client 220.235.144.132] PHP Notice: Undefined variable: tbopen in /**path**/ubbthreads/cache/online_now.php on line 2
[client 220.235.144.132] PHP Notice: Undefined variable: style_side in /**path**/ubbthreads/cache/online_now.php on line 4
[client 220.235.144.132] PHP Notice: Undefined variable: style_side in /**path**/ubbthreads/cache/online_now.php on line 9
[client 220.235.144.132] PHP Notice: Undefined variable: tbclose in /**path**/ubbthreads/cache/online_now.php on line 21
[client 220.235.144.132] PHP Notice: Constant UBB_MAIN_PROGRAM already defined in /**path**/index.php on line 226
[client 220.235.144.132] PHP Notice: Undefined variable: tbopen in /**path**/ubbthreads/cache/post_island_11.php on line 2
[client 220.235.144.132] PHP Notice: Undefined variable: style_side in /**path**/ubbthreads/cache/post_island_11.php on line 4
[client 220.235.144.132] PHP Notice: Undefined variable: style_side in /**path**/ubbthreads/cache/post_island_11.php on line 9
[client 220.235.144.132] PHP Notice: Undefined variable: tbclose in /**path**/ubbthreads/cache/post_island_11.php on line 29


Lots and lots of them - Any ideas?


Edited by Rick (08/30/06 05:07 PM)

Top
#2531 - 08/11/06 12:39 PM Re: Errors in server error logs [Re: aus-city]
Rick Administrator Offline

*****

Registered: 06/04/06
Posts: 7898
Loc: Aberdeen, WA
I think it's related to this:

PHP Notice: Constant UBB_MAIN_PROGRAM already defined in /**path**/index.php on line 226

It looks like maybe the islands are being used on your index.php page but not setup properly perhaps. Do you have a link so I can check out your index.php page?
_________________________
UBB.threads™ Developer
My Personal Website · StogieSmokers.com

Top
#2568 - 08/11/06 07:34 PM Re: Errors in server error logs [Re: Rick]
aus-city Offline
journeyman

Registered: 07/20/06
Posts: 66

Top
#2807 - 08/20/06 11:07 AM Re: Errors in server error logs [Re: aus-city]
ScanDesk Offline
stranger

Registered: 07/21/06
Posts: 6
Hi Rick,

Were you able to find anything regarding the errors?

Top
#2808 - 08/21/06 09:54 AM Re: Errors in server error logs [Re: ScanDesk]
Rick Administrator Offline

*****

Registered: 06/04/06
Posts: 7898
Loc: Aberdeen, WA
Can you post the code you are using to put the islands on your main page? Most of the warnings are ok, but the tbopen/tbclose ones are a bit odd.
_________________________
UBB.threads™ Developer
My Personal Website · StogieSmokers.com

Top
#2945 - 08/28/06 03:10 AM Re: Errors in server error logs [Re: Rick]
aus-city Offline
journeyman

Registered: 07/20/06
Posts: 66
Attached Rick.

Sorry for the dealy I am away on business.

Cheers,

Dave


Attachments
118-index.txt (66 downloads)


Top
#2998 - 08/30/06 05:07 PM Re: Errors in server error logs [Re: aus-city]
Rick Administrator Offline

*****

Registered: 06/04/06
Posts: 7898
Loc: Aberdeen, WA
Ok, just a bit of a change to how these are included to prevent the warnings. Before when you'd include them it would start out like this:

Code:
define('UBB_MAIN_PROGRAM',1);


That should be:

Code:
if (!defined('UBB_MAIN_PROGRAM')) define('UBB_MAIN_PROGRAM',1);
$style_side="";$tbopen="";$tbclose=""; 


The instructions on how this is done will be updated in the beta 5 control panel.
_________________________
UBB.threads™ Developer
My Personal Website · StogieSmokers.com

Top
#3251 - 09/14/06 04:07 PM Re: Errors in server error logs [Re: Rick]
ScanDesk Offline
stranger

Registered: 07/21/06
Posts: 6
Rick, we updated to Beta 5 and the logs are still showing the errors. Was there something else that needed to be done or changed to fix the problem?

[Thu Sep 14 22:41:45 2006] [error] [client 72.30.132.72] script not found or unable to stat: /var/www/vhosts/aus-city.com/cgi-bin/ultimatebb.cgi
[client 203.59.8.110] PHP Notice: Undefined variable: tbopen in /var/www/vhosts/aus-city.com/httpdocs/ubbthreads/cache/online_now.php on line 2
[client 203.59.8.110] PHP Notice: Undefined variable: style_side in /var/www/vhosts/aus-city.com/httpdocs/ubbthreads/cache/online_now.php on line 4
[client 203.59.8.110] PHP Notice: Undefined variable: style_side in /var/www/vhosts/aus-city.com/httpdocs/ubbthreads/cache/online_now.php on line 9
[client 203.59.8.110] PHP Notice: Undefined variable: tbclose in /var/www/vhosts/aus-city.com/httpdocs/ubbthreads/cache/online_now.php on line 20
[client 203.59.8.110] PHP Notice: Constant UBB_MAIN_PROGRAM already defined in /var/www/vhosts/aus-city.com/httpdocs/index.php on line 224
[client 203.59.8.110] PHP Notice: Undefined variable: tbopen in /var/www/vhosts/aus-city.com/httpdocs/ubbthreads/cache/post_island_11.php on line 2
[client 203.59.8.110] PHP Notice: Undefined variable: style_side in /var/www/vhosts/aus-city.com/httpdocs/ubbthreads/cache/post_island_11.php on line 4
[client 203.59.8.110] PHP Notice: Undefined variable: style_side in /var/www/vhosts/aus-city.com/httpdocs/ubbthreads/cache/post_island_11.php on line 9
[client 203.59.8.110] PHP Notice: Undefined variable: tbclose in /var/www/vhosts/aus-city.com/httpdocs/ubbthreads/cache/post_island_11.php on line 24
[client 58.22.131.11] script '/var/www/vhosts/aus-city.com/httpdocs/ubbthreads/showthreaded.php' not found or unable to stat
[client 58.22.131.11] PHP Notice: Undefined variable: tbopen in /var/www/vhosts/aus-city.com/httpdocs/ubbthreads/cache/online_now.php on line 2
[client 58.22.131.11] PHP Notice: Undefined variable: style_side in /var/www/vhosts/aus-city.com/httpdocs/ubbthreads/cache/online_now.php on line 4
[client 58.22.131.11] PHP Notice: Undefined variable: style_side in /var/www/vhosts/aus-city.com/httpdocs/ubbthreads/cache/online_now.php on line 9
[client 58.22.131.11] PHP Notice: Undefined variable: tbclose in /var/www/vhosts/aus-city.com/httpdocs/ubbthreads/cache/online_now.php on line 21
[client 58.22.131.11] PHP Notice: Constant UBB_MAIN_PROGRAM already defined in /var/www/vhosts/aus-city.com/httpdocs/index.php on line 224
[client 58.22.131.11] PHP Notice: Undefined variable: tbopen in /var/www/vhosts/aus-city.com/httpdocs/ubbthreads/cache/post_island_11.php on line 2
[client 58.22.131.11] PHP Notice: Undefined variable: style_side in /var/www/vhosts/aus-city.com/httpdocs/ubbthreads/cache/post_island_11.php on line 4
[client 58.22.131.11] PHP Notice: Undefined variable: style_side in /var/www/vhosts/aus-city.com/httpdocs/ubbthreads/cache/post_island_11.php on line 9
[client 58.22.131.11] PHP Notice: Undefined variable: tbclose in /var/www/vhosts/aus-city.com/httpdocs/ubbthreads/cache/post_island_11.php on line 24
[client 58.22.131.11] script '/var/www/vhosts/aus-city.com/httpdocs/ubbthreads/showthreaded.php' not found or unable to stat

Top
#3252 - 09/14/06 04:13 PM Re: Errors in server error logs [Re: ScanDesk]
Rick Administrator Offline

*****

Registered: 06/04/06
Posts: 7898
Loc: Aberdeen, WA
Yes, you need to update how you're including each portal box on your pages. If you click on the 'external use' link next to each island, you'll see the updated code that needs to be placed into your pages.
_________________________
UBB.threads™ Developer
My Personal Website · StogieSmokers.com

Top
#3253 - 09/14/06 04:34 PM Re: Errors in server error logs [Re: Rick]
ScanDesk Offline
stranger

Registered: 07/21/06
Posts: 6
Dah... Couldn't see the fix cause the glasses got in the way..

smile

Done and thanks Rick.. All fixed...

Top


Shout Box

Today's Birthdays
No Birthdays
Recent Topics
Shrinking graemlins
by Djuma
Yesterday at 05:48 PM
2 problems I'm seeing now.
by DougMM
Yesterday at 04:39 PM
Which CSS Style Controls the bottom lines
by David DelMonte
Yesterday at 01:51 PM
UBBThreads vs. vBulletin -- Defections & Why So Tough to Compare?
by WebMagic
Yesterday at 12:28 PM
Font and column shifts occuring
by Bill B
11/30/08 06:21 PM
Forum Stats
4261 Members
33 Forums
30532 Topics
154962 Posts

Max Online: 978 @ 06/24/07 08:19 PM