Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> CNB Your Account
Author Message
abwddy2k
New Member
New Member



Joined: Mar 16, 2006
Posts: 4

PostPosted: Thu Mar 16, 2006 8:41 pm Reply with quote

I keep getting this message whenever I try to run the cbnya.php.
"Sorry you are not an administrator, You can not install this module"
I have seen the fix for this before but can not find it again. As of now I am running PhP Nuke 7.8 and the CNB_Your_Account_750_440. As of now I have uploaded everything but can not log into my admin section it just resends me back to my login page for admin. Any help would be appreciated.
 
View user's profile Send private message
kguske
Site Admin



Joined: Jun 04, 2004
Posts: 6437

PostPosted: Thu Mar 16, 2006 10:38 pm Reply with quote

Are you using the latest patch? If so, that could be the problem. Of course, you have to be logged in as a Nuke admin first.

_________________
I search, therefore I exist...
Only registered users can see links on this board! Get registered or login!
 
View user's profile Send private message
abwddy2k







PostPosted: Fri Mar 17, 2006 6:07 pm Reply with quote

The only thing I loaded was the CNB_Your_Account_750_440 i have not updated it yet or patched it. As for the being logged in as admin I was till I tryed to run the cnbya.php and now I can not login at all.
 
kguske







PostPosted: Fri Mar 17, 2006 9:59 pm Reply with quote

First, that version CNBYA was written before 7.5. It may not be compatible with 7.8.

Next, why are you using 7.8? There are several documented security issues with that, even if it's patched. Search the forums here for details.

Finally, the latest version of CNBYA is 442, but it was still written before 7.5.

The developer announced another Beta for the latest version, 5.0, but I haven't seen it. Hopefully, we will see it soon. In the mean time, making 440 or even 442 work wtih 7.8 would require development and testing for sure.
 
abwddy2k







PostPosted: Sat Mar 18, 2006 9:10 pm Reply with quote

ok thanks. Only reason I went with 7.8 was to see what new feature it had. I currently run a 7.6 Plat. site and just wanted to make another for family. I will try 7.5 and use it ty.
 
gregexp
The Mouse Is Extension Of Arm



Joined: Feb 21, 2006
Posts: 1497
Location: In front of a screen....HELP! lol

PostPosted: Sat Mar 25, 2006 7:35 pm Reply with quote

if ur using 7.8 with the latest patch...3.2 i believe is the latest
if u see this in the installer.php (cnbya.php)
Code:
if (!is_admin($admin)) { die ("Sorry you are not an administrator, You can not install this module"); }

change it to
Code:
if (!isset($admin)) {

 die ("Sorry you are not an administrator, You can not install this module");
}

now im not as good at this as id like...but i did test it on 7.9...yes i know its buggy but im tryin to work on all the bugs:P this should work on other installers as well...i changed the code...now this is to make it so only admins can install it
but dont think that means u can leave it in ur ftp...id recomend removing it asap...sorry for the confusion...i forgot to write the file name on it


Last edited by gregexp on Sun Mar 26, 2006 12:01 pm; edited 1 time in total 
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger MSN Messenger ICQ Number
abwddy2k







PostPosted: Sun Mar 26, 2006 12:04 am Reply with quote

Thanks I know the lines you are talking about. I will try that.
 
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> CNB Your Account

View next topic
View previous 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
You can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 6 Hours
 
Forums ©