Site Links
Home
Features
Documentation
Pricing & Order
Members Area
Support Options
Who's Online
1 registered (Gizmo), 20 Guests and 15 Spiders online.
Key: Admin, Global Mod, Mod
Featured Member
Registered: 02/15/08
Posts: 17
Top Posters (30 Days)
Ruben Rocha 103
Rick 81
Mark S 72
Thelockman 56
Gizmo 54
driv 35
ntdoc 32
Sirdude 29
packlite 24
AllenAyres 22
Latest Photos
bear test
Beach Barbie-Q
Sunset
Accept the challenge!
Trees
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: 67
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: 7993
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: 67

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: 7993
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: 67
Attached Rick.

Sorry for the dealy I am away on business.

Cheers,

Dave


Attachments
118-index.txt (69 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: 7993
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: 7993
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
GOTMYSELFA...., smilinjack
Recent Topics
New members don't get access and are not displayed in the config panel
by Yomar
Today at 03:32 AM
How to Change Link Color / Underline in styles?
by ECNet
Yesterday at 10:00 PM
Chaging the "max online" number and date
by wanted
Yesterday at 02:22 PM
7.4.1. In Threaded Mode - "Mark All Read" Doesn't Work
by packlite
Yesterday at 10:26 AM
Custom island with sql connection
by Robje01
Yesterday at 09:13 AM
Forum Stats
4296 Members
33 Forums
30687 Topics
156015 Posts

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