Site Links
Home
Features
Documentation
Pricing & Order
Members Area
Support Options
Affiliate Program
Hosting Plans
UBBDev.com
UBBSkins.com
Who's Online
4 registered (Naz, GEN, Dunny, 1 invisible), 21 Guests and 33 Spiders online.
Key: Admin, Global Mod, Mod
Featured Member
Registered: 01/24/05
Posts: 58
Top Posters (30 Days)
Rick 103
Ruben 96
Sirdude 80
Gizmo 69
Iann128 26
GregK 25
teamzr1 20
driv 20
Chevy454 19
VaGunTrader 19
Latest Photos
Yachting off the West Coast of Scotland
Something You might Light
becky as tiger bait
rss creator
surfing dogs
Page 1 of 2 1 2 >
Topic Options
Rate This Topic
#45717 - 11/06/05 03:53 PM 6.5.0->6.5.2 upgrade, some board sgive "Access denied"?
drakino42 Offline
stranger
Registered: 11/06/05
Posts: 8
Just completed an upgrade from 6.5.0 to 6.5.2, and when I went to bring everything back up, certain sections of the board give an "Access denied" error, areas where even guests used to have at least read access. I've reset the permissions to nothing then set them back they way they should be in the control panel and verified that the table w3t_Boards is being changed. But yet the problem still persists, and I'm out of ideas.

Any other suggestions before I revery to backups on 6.5.0 and try the upgrade another day?
Top
#45718 - 11/06/05 03:57 PM Re: 6.5.0->6.5.2 upgrade, some board sgive "Access denied"?
drakino42 Offline
stranger
Registered: 11/06/05
Posts: 8
As an odd update, if I click a link off the front page to the newest post, I can see the post fine. Hitting the index button then returns me to the Access Denied error.
Top
#45719 - 11/06/05 04:30 PM Re: 6.5.0->6.5.2 upgrade, some board sgive "Access denied"?
drakino42 Offline
stranger
Registered: 11/06/05
Posts: 8
Digging deeper, I'm getting more confused. I started tracking what would cause Access Denied to appear, and found the code in postlist.php causing it:
Code:
$Board_q = addslashes($Board);
$query = "
SELECT Bo_Title,Bo_Last,Bo_Read_Perm,Bo_Write_Perm,Bo_Moderated,Bo_Cat,Bo_CatName,Bo_ThreadAge,Bo_Reply_Perm,Bo_HTML,Bo_Markup,Bo_SpecialHeader,Bo_StyleSheet,Bo_Number,Bo_Threads
FROM {$config['tbprefix']}Boards
WHERE Bo_Keyword = '$Board_q'
AND Bo_Active = '1'
$groupquery
";
$sth = $dbh -> do_query($query,__LINE__,__FILE__);
$rows = $dbh -> fetch_array($sth);
list($Title,$Last,$CanRead,$CanWrite,$Moderated,$C,$CatName,$ThreadAge,$CanReply,$HTML,$Markup,$fheader,$fstyle,$bonumber,$totaltopics) = $rows;
$dbh -> finish_sth($rows);
if (!$Title) {
$html -> not_right($ubbt_lang['BAD_GROUP'],$Cat);
}


For some reason, some boards are now not returning $Title, though the SQL database is healthy, and inspecting the table manually shows no glaring faults.

Here is an SQL dumo of two of my boards. the ICE one doesn't work, the Announcements does:

Code:
INSERT INTO `w3t_Boards` VALUES ('ICE', 'Discussion of other In Car Entertainment components', 'empeg_ice', 2219, 1130966641, 'Off', 'On', 3, 927126065, NULL, 'Off', 'no', 1, '-1-2-3-4-5-6-', '-1-2-3-5-', 213, 4, 'General', NULL, '-1-2-3-5-', NULL, NULL, 268639, 259473, 2330, NULL, 1);
INSERT INTO `w3t_Boards` VALUES ('Announcements', 'Announcements (Moderated)', 'ann', 175, 1131329158, 'Off', 'On', 10, 960540408, 0, 'Off', 'no', 1, '-1-2-3-4-5-6-', '-1-2-5-', 104, 1, 'General', 0, '-1-2-5-', 0, 'usedefault', 268937, 268935, 35, '', 1);

Top
#45720 - 11/10/05 02:50 AM Re: 6.5.0->6.5.2 upgrade, some board sgive "Access denied"?
drakino42 Offline
stranger
Registered: 11/06/05
Posts: 8
Is there any other information I might be able to provide to help find a solution for this? I rolled back to 6.5.0 pretty quickly, as 50% of my board became inaccessable with the upgrade.
Top
#45721 - 11/10/05 11:27 AM Re: 6.5.0->6.5.2 upgrade, some board sgive "Access denied"?
Anno Offline
member
Registered: 06/07/06
Posts: 182
The fastest(only?) way to get support here is to submit a support ticket.
Top
#45722 - 11/13/05 08:51 PM Re: 6.5.0->6.5.2 upgrade, some board sgive "Access denied"?
George_Bris Offline
stranger
Registered: 11/02/04
Posts: 1
I had the same issue..
After further investigation from the details given in this post, I tracked down the problem as being an underscores '_' in the database keyword name for the particular forum.
Fixes are either remove and do not use underscores in forum identification names or, as I did make a change in ubbt.inc.php.
I made the change in the file and all is now accessible.
The routine to change is :
Code:

ubbt_validate($validate="",$value="") {
..
..
..
elseif ($validate == "alphanum") {
$value = preg_replace("/[^A-Za-z0-9\-]/","",$value); <- original
$value = preg_replace("/[^A-Za-z0-9\-_]/","",$value); <- changed


Top
#45723 - 11/13/05 09:13 PM Re: 6.5.0->6.5.2 upgrade, some board sgive "Access denied"?
AllenAyres Offline

Registered: 12/29/03
Posts: 1934
Loc: Texas ****
interesting, thanks for sharing
_________________________
- Allen
- ThreadsDev | PraiseCafe
Top
#45724 - 11/14/05 01:49 AM Re: 6.5.0->6.5.2 upgrade, some board sgive "Access denied"?
Zarzal Offline
old hand
Registered: 06/05/06
Posts: 1140
Loc: Berlin, Germany *****
This was reported while testing Beta 6.5 and it was marked as fixed. It's annoying that this is in again. This problem hits only people who update the board, not fresh installs. With a fresh install you cant create boards with _ inside the board name.

I encounter many trouble with old users convert from Classic. They have sometimes spaces in the username and I switch of special chars in threads. In result you have very stange effects with this users inside the board.
_________________________
my board: http://www.dragon-clan.de
my hobby: http://www.biker-reise.de
Ich kann bei Fragen zu UBBthreads in Deutsch weiterhelfen oder es zumindest versuchen
Top
#45725 - 11/26/05 06:22 PM Re: 6.5.0->6.5.2 upgrade, some board sgive "Access denied"?
drakino42 Offline
stranger
Registered: 11/06/05
Posts: 8
It indeed seems to be that. I'm now running 6.5.2 with no problems now that I allowed _, as about half my boards use that in their short name.
Top
#45726 - 01/26/06 10:19 PM Re: 6.5.0->6.5.2 upgrade, some board sgive "Access denied"?
Zarius Offline
stranger
Registered: 10/26/04
Posts: 2
Thanks George! That post just saved me hours of aggrivation trying to figure out what was wrong with the site. I made the change you posted and I'm back in business.

Regards,

Zarius.
Top
Page 1 of 2 1 2 >



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

Facebook Page
Today's Birthdays
No Birthdays
Recent Topics
Exporting a forum to a new board.
by Ruben
03:27 PM
WowBB Importer Discussion
by Rick
03:19 PM
WowBB Importer Now Available
by Rick
03:18 PM
Is there a demonstration site anywhere?
by MuddyD
12:24 PM
New topic icons
by GregK
11:38 AM
Forum Stats
7937 Members
37 Forums
32960 Topics
173832 Posts

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