PowWeb Forums - The Perfect Community for the Perfect Host  

Register now to interact with over 11,000 members! Registered users have Posting Privileges, free access to Private Messaging, Email Notifications and more.

Go Back   PowWeb Community Forums > Web Site Design > Content Management Systems > Portals
User Name
Password
Register FAQ Members List Search Today's Posts Mark Forums Read

Closed Thread
 
Thread Tools Rate Thread
Old 11-16-03, 10:48 PM   #1
talal
Registered
 
Join Date: Apr 2003
Location: Bahrain
Posts: 3
Reputation: 5
Unhappy PHPnuke 6.9 Access Denied

I have installed nuke 6.9 and created the database. After that I created the admin username and password and logged in with no props to the Administration Menu, everything looks ok put when I try to click any of the administration sections such as edit users... Admins...Etc
a message : Access Denied would appear and I can not access it ..
so I checked nuke_authors table in the Database and radminsuper =1

so i thought mybe the files and the database needs to be reinstalled.... that didn’t work to

so I removed the security code in the header of one of the admin modules files so just I can check if I do that I would access it or not
so this is what I removed :

Code:
if (!eregi("admin.php", $_SERVER['PHP_SELF'])) { die ("Access Denied"); } $result = sql_query("select radminuser, radminsuper from ".$prefix."_authors where aid='$aid'", $dbi); list($radminuser, $radminsuper) = sql_fetch_row($result, $dbi); if (($radminuser==1) OR ($radminsuper==1)) {
and from the footer
Code:
} else { echo "Access Denied"; }
after that I deleted all of the 6.9 files and directories and installed 6.5 .. the same problem again .. so I thought maybe its from the FTP so I changed the software 3 times my last ftp software is CuteFtp pro
This problem happened to me on my other site, I had a working version of nuke 6.5 and when I tried to update it I had the same problem


Did any one had the same problem or can anyone help me please??
talal is offline  
Closed Thread

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 09:01 PM.


Contents ©PowWeb, Inc. ~ vBulletin, Copyright © 2000-2007 Jelsoft Enterprises Limited.