Site Links
Home
Features
Documentation
Pricing & Order
Members Area
Support Options
UBBDev.com
UBBWiki.com
Who's Online
7 registered (smallufo, SteveS, sampsonzurich, Bjab, FordDoctor, Stan, Pilgrim), 27 Guests and 13 Spiders online.
Key: Admin, Global Mod, Mod
Featured Member
Registered: 05/17/12
Posts: 3
Top Posters (30 Days)
Ruben 51
Gizmo 24
DennyP 24
Dunny 15
SteveS 14
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
#2127 - 08/01/06 02:14 AM [FIXED in b3] B2 Notices and warnings in control panel
Philipp Offline
journeyman
Registered: 07/30/06
Posts: 82
The first warning is right on the first page of the admin control panel

Quote:
Notice: Undefined index: timestamp in /Applications/MAMP/htdocs/ubbt7/admin/login.php on line 315

Notice: Undefined index: timestamp in /Applications/MAMP/htdocs/ubbt7/admin/login.php on line 339


To fix this problem find in admin/login.php:

Code:
// Get the xml feed for news
$ubbt_news_links = "";


and add:

Code:
if (!isset($ubbt_admin['timestamp'])) $ubbt_admin['timestamp'] = 0;


2) The next issue appear on the Portal Settings page but only if the cache directory is empty

Quote:
Warning: include(/Applications/MAMP/htdocs/ubbt7/cache/forum_list.php) [function.include]: failed to open stream: No such file or directory in /Applications/MAMP/htdocs/ubbt7/admin/portal_settings.php on line 65

Warning: include() [function.include]: Failed opening '/Applications/MAMP/htdocs/ubbt7/cache/forum_list.php' for inclusion (include_path='.:/Applications/MAMP/bin/php5/lib/php') in /Applications/MAMP/htdocs/ubbt7/admin/portal_settings.php on line 65

Notice: Undefined variable: tree in /Applications/MAMP/htdocs/ubbt7/admin/portal_settings.php on line 66


To fix this problem find in admin/portal_settings.php:

Code:
 include("{$config['FULL_PATH']}/cache/forum_list.php");


and replace with:

Code:
(file_exists("{$config['FULL_PATH']}/cache/forum_list.php")) ? include("{$config['FULL_PATH']}/cache/forum_list.php") : $tree = array() ;


Edited by Rick (08/01/06 03:04 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."
#2142 - 08/01/06 07:55 AM Re: B2 Notices and warnings in control panel [Re: Philipp]
Mark S Offline
Carpal Tunnel
Registered: 07/04/06
Posts: 4447
Loc: Liverpool : England : UK
V B2

I dont have a copy of the Error,
but i have a link direct to my control panel.

Clicked on that,
Sent me there, informed me i wasnt logged in.
Please wait while we take you to the login screen.

Then a whole load of code.

I think i had previously deleted my cache,
testing out stuff and wanted a fresh start.
_________________________
Version v7.5.6 smile smile < Threads satisfaction status
People who inspire me Rick Gizmo Ian David jgeoff ntdoc
Oooo i hear 8 is coming? just after 7 my friend.
Top
#2164 - 08/01/06 03:03 PM Re: B2 Notices and warnings in control panel [Re: Philipp]
Rick Offline
Post-a-holic
Registered: 06/04/06
Posts: 10164
Loc: Aberdeen, WA
Thanks for the report and the fixes!
Top



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

Today's Birthdays
No Birthdays
Recent Topics
Due Date Calculator-Calculate When Your Baby is Due
by StewartMyduedate
12:54 AM
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
Forum Stats
10492 Members
36 Forums
33842 Topics
181709 Posts

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