You are missing our premiere tool bar navigation system! Register and use it for FREE!

NukeCops  
•  Home •  Downloads •  Gallery •  Your Account •  Forums • 
Readme First
- Readme First! -

Read and follow the rules, otherwise your posts will be closed
Modules
· Home
· FAQ
· Buy a Theme
· Advertising
· AvantGo
· Bookmarks
· Columbia
· Community
· Donations
· Downloads
· Feedback
· Forums
· PHP-Nuke HOWTO
· Private Messages
· Search
· Statistics
· Stories Archive
· Submit News
· Surveys
· Theme Gallery
· Top
· Topics
· Your Account
Who's Online
There are currently, 217 guest(s) and 0 member(s) that are online.

You are Anonymous user. You can register for free by clicking here
Nuke Cops :: View topic - "You are not authorised to administer this board" [ ]
 Forum FAQ  •  Search  •   •  Memberlist  •  Usergroups   •  Register  •  Profile •    •  Log in to check your private messages  •  Log in

 
This forum is locked: you cannot post, reply to, or edit topics.  This topic is locked: you cannot edit posts or make replies.printer-friendly view
View previous topic Log in to check your private messages View next topic
Author Message
Cikey
Nuke Cadet
Nuke Cadet


Joined: Dec 08, 2003
Posts: 4


PostPosted: Thu Jan 08, 2004 4:11 am Reply with quoteBack to top

I have just installed the beta bundle (Jan 7th 2004) but when I trie to enter the forum admin I get this error Code:
Code:
"You are not authorised to administer this board"



And I am logged in as Admin (superuser)

Any ideas? Please?


(sorry about my bad English, I'm Norwegian Wink )
Find all posts by CikeyView user's profileSend private message
fn-eagle
Nuke Cadet
Nuke Cadet


Joined: Dec 12, 2003
Posts: 7


PostPosted: Thu Jan 08, 2004 4:23 am Reply with quoteBack to top

I had the same problem. You should try to install an older version. Read this:
http://www.nukecops.com/postlite18306-.html
Find all posts by fn-eagleView user's profileSend private message
Cikey
Nuke Cadet
Nuke Cadet


Joined: Dec 08, 2003
Posts: 4


PostPosted: Thu Jan 08, 2004 4:29 am Reply with quoteBack to top

Thanx, but it did not work, still the same error...

Any other ideas ?
Find all posts by CikeyView user's profileSend private message
Daniel-cmw
Site Admin
Site Admin


Joined: Mar 02, 2003
Posts: 1662

Location: The UK!

PostPosted: Thu Jan 08, 2004 5:14 am Reply with quoteBack to top

I take it you mean you are logged in with the God account?

First thing to try is to clear your cookies, the same thing happened to me on my First nuke install and clearing the cookies fixed the problem for me.

_________________
Read Me
Find all posts by Daniel-cmwView user's profileSend private message
Cikey
Nuke Cadet
Nuke Cadet


Joined: Dec 08, 2003
Posts: 4


PostPosted: Thu Jan 08, 2004 5:41 am Reply with quoteBack to top

Yes, I mean the God account. (not that I haven't tried 100 other admin accounts also Very Happy )

And I have also tried the cookie solution, but no, I'm still "not authorised to administer this board" Sad
Find all posts by CikeyView user's profileSend private message
Raven
General
General


Joined: Mar 22, 2003
Posts: 5233

Location: USA

PostPosted: Thu Jan 08, 2004 6:16 am Reply with quoteBack to top

Edit the users table (using phpMyAdmin) and make sure your userid has a user_level=2.

_________________
Those who hear not the music think the dancers mad.
Raven Web Hosting|My Scripts & Stuff
Find all posts by RavenView user's profileSend private messageVisit poster's website
XEULAS
Captain
Captain


Joined: Oct 20, 2003
Posts: 335


PostPosted: Thu Jan 08, 2004 7:27 am Reply with quoteBack to top

http://bugs.nukecops.com/bug.php?id=205


modules/Forums/admin/pagestart.php

Locate at line 73:

global $admin;
$admin = base64_decode($admin);
$admin = explode(":", $admin);
$aid = "$admin[0]";
$sql = "SELECT radminforum, radminsuper FROM ".$prefix."_authors WHERE
aid='$aid'";
$result = $db->sql_query($sql);
$row = $db->sql_fetchrow($result);
if ($radminsuper != 1 OR $radminforum != 1) {
message_die(GENERAL_MESSAGE, "You are not authorised to administer
this board");
}

Replace with:

global $admin;
$admin = base64_decode($admin);
$admin = explode(":", $admin);
$aid = "$admin[0]";
$sql = "SELECT radminforum, radminsuper FROM ".$prefix."_authors WHERE
aid='$aid'";
$result = $db->sql_query($sql);
$row = $db->sql_fetchrow($result);
if ($row['radminsuper'] != 1 OR ($row['radminforum'] != 1 AND
$row['radminsuper'] != 1)) {
message_die(GENERAL_MESSAGE, "You are not authorised to administer
this board");
}
---------------
This code has ALWAYS (check on cvs) been wrong in pagestart.php, it's
just that previous versions "if (condition)" happened to always be
false.

-- StarkHalo
Find all posts by XEULASView user's profileSend private messageVisit poster's website
fn-eagle
Nuke Cadet
Nuke Cadet


Joined: Dec 12, 2003
Posts: 7


PostPosted: Thu Jan 08, 2004 12:43 pm Reply with quoteBack to top

Yes, this was clear for me, but I can not access phpBBMyAdmin.

This is what I got:

You are not allowed to access phpBBMyAdmin!

To access it I'm using:

User_ID: 2 with User_Level: 2
Find all posts by fn-eagleView user's profileSend private message
mr_hunter_eric
Nuke Soldier
Nuke Soldier


Joined: Sep 26, 2003
Posts: 17


PostPosted: Fri Jan 09, 2004 4:54 am Reply with quoteBack to top

Assisting a friend in using the Bundle.
She's using a December CVS download.

She too is having this issue problem.
The server admin is hosting her site for free and does not provide PhpMyAdmin. Server owner lacks support help.
I've tried changing what was needed at http://bugs.nukecops.com/bug.php?id=205 but all we get is a white screen.
SQL-Tap is available via the admin, but I don't see anywhere how to edit the user info. It does show that user_level is 1.
Any other way to edit so it reads level 2?

If pagestart.php can actually fix it, she has given me permission to allow someone into the FTP account to fix things. I've attempted with no success.
PM me please if this is something you can and will be considering to assist.
Find all posts by mr_hunter_ericView user's profileSend private message
Raven
General
General


Joined: Mar 22, 2003
Posts: 5233

Location: USA

PostPosted: Fri Jan 09, 2004 5:43 am Reply with quoteBack to top

I have written a simple utility to allow you to update your nuke tables. Install this and you should be able to update the user level. Raven's MySQL Update Utility

_________________
Those who hear not the music think the dancers mad.
Raven Web Hosting|My Scripts & Stuff
Find all posts by RavenView user's profileSend private messageVisit poster's website
Dawg
Nuke Soldier
Nuke Soldier


Joined: Feb 27, 2003
Posts: 13

Location: Canada

PostPosted: Tue Jan 13, 2004 11:10 am Reply with quoteBack to top

XEULAS wrote:
http://bugs.nukecops.com/bug.php?id=205


modules/Forums/admin/pagestart.php

Locate at line 73:

global $admin;
$admin = base64_decode($admin);
$admin = explode(":", $admin);
$aid = "$admin[0]";
$sql = "SELECT radminforum, radminsuper FROM ".$prefix."_authors WHERE
aid='$aid'";
$result = $db->sql_query($sql);
$row = $db->sql_fetchrow($result);
if ($radminsuper != 1 OR $radminforum != 1) {
message_die(GENERAL_MESSAGE, "You are not authorised to administer
this board");
}

Replace with:

global $admin;
$admin = base64_decode($admin);
$admin = explode(":", $admin);
$aid = "$admin[0]";
$sql = "SELECT radminforum, radminsuper FROM ".$prefix."_authors WHERE
aid='$aid'";
$result = $db->sql_query($sql);
$row = $db->sql_fetchrow($result);
if ($row['radminsuper'] != 1 OR ($row['radminforum'] != 1 AND
$row['radminsuper'] != 1)) {
message_die(GENERAL_MESSAGE, "You are not authorised to administer
this board");
}
---------------
This code has ALWAYS (check on cvs) been wrong in pagestart.php, it's
just that previous versions "if (condition)" happened to always be
false.

-- StarkHalo


All I must say is that you are a God. That fixed my Problem Smile

_________________
Dawg

Frequent lock ups are a symptom of not enough memory but only in the way that nosebleeds are a symptom of gunshot wounds to the head.
Find all posts by DawgView user's profileSend private messageVisit poster's websiteYahoo MessengerMSN MessengerICQ Number
kjcdude
Captain
Captain


Joined: Jun 10, 2003
Posts: 441

Location: Southern California

PostPosted: Thu Jan 15, 2004 6:53 pm Reply with quoteBack to top

You fixed my problem too, good job!

_________________
Diablo Heat | The OC Sucks [b]Hot or Not[/b] | TheOCSucks.com The OC Sucks
Find all posts by kjcdudeView user's profileSend private messageSend e-mailVisit poster's websiteAIM AddressMSN Messenger
Zhen-Xjell
Nuke Cops Founder
Nuke Cops Founder


Joined: Nov 14, 2002
Posts: 5939


PostPosted: Thu Jan 15, 2004 7:18 pm Reply with quoteBack to top

Wow, what a team spirit we have here!

_________________
Paul Laudanski, Microsoft MVP Windows-Security
CastleCops: [de] [en] [wiki]
Find all posts by Zhen-XjellView user's profileSend private messageSend e-mailVisit poster's website
KoshVorlon
Nuke Cadet
Nuke Cadet


Joined: Jan 14, 2004
Posts: 1


PostPosted: Mon Mar 08, 2004 8:32 am Reply with quoteBack to top

FYI, I downloaded betaNC-20040307.tar.gz last night and this still appears to be a problem. I was able to fix it quite quickly using Dawg's code change.
Find all posts by KoshVorlonView user's profileSend private message
badger
Sergeant
Sergeant


Joined: Apr 02, 2003
Posts: 113

Location: Scotland

PostPosted: Mon Mar 22, 2004 6:56 am Reply with quoteBack to top

I can't believe this hasn't been fixed in the latest "update" to 2.0.7. Come on guys!!

_________________
The Audio Recording Centre
http://www.audio-recording.co.uk
Find all posts by badgerView user's profileSend private messageSend e-mailVisit poster's websiteMSN Messenger
Display posts from previous:      
This forum is locked: you cannot post, reply to, or edit topics.  This topic is locked: you cannot edit posts or make replies.printer-friendly view
View previous topic Log in to check your private messages View next topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



Powered by phpBB © 2001, 2005 phpBB Group

Ported by Nuke Cops © 2003 www.nukecops.com
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::
Powered by TOGETHER TEAM srl ITALY http://www.togetherteam.it - DONDELEO E-COMMERCE http://www.DonDeLeo.com - TUTTISU E-COMMERCE http://www.tuttisu.it
Web site engine's code is Copyright © 2002 by PHP-Nuke. All Rights Reserved. PHP-Nuke is Free Software released under the GNU/GPL license.
Page Generation: 0.073 Seconds - 356 pages served in past 5 minutes. Nuke Cops Founded by Paul Laudanski (Zhen-Xjell)
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::