Author |
Message |
abwddy2k
New Member


Joined: Mar 16, 2006
Posts: 4
|
Posted:
Thu Mar 16, 2006 8:41 pm |
|
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. |
|
|
|
 |
kguske
Site Admin

Joined: Jun 04, 2004
Posts: 6437
|
Posted:
Thu Mar 16, 2006 10:38 pm |
|
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! |
|
|
 |
abwddy2k

|
Posted:
Fri Mar 17, 2006 6:07 pm |
|
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

|
Posted:
Fri Mar 17, 2006 9:59 pm |
|
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

|
Posted:
Sat Mar 18, 2006 9:10 pm |
|
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
|
Posted:
Sat Mar 25, 2006 7:35 pm |
|
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 |
|
 |
 |
abwddy2k

|
Posted:
Sun Mar 26, 2006 12:04 am |
|
Thanks I know the lines you are talking about. I will try that. |
|
|
|
 |
|