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
gsicard
Regular
Regular



Joined: May 21, 2003
Posts: 50
Location: Suffolk, VA USA

PostPosted: Sat Dec 25, 2004 5:03 pm Reply with quote

Hi all,
when I try to create a new admin or to promote a user I get taken to a page which displays the following:

CNBYA admin protection

Any ideas how to add admins or promote..

using phpnuke 7.5 with cspatch 2.8, phpbb 2.0.11 and cnbya 750.44b2 with all fixes posted by Six on the Bugs thread in the forum.

site is [ Only registered users can see links on this board! Get registered or login! ]
 
View user's profile Send private message Send e-mail Visit poster's website Yahoo Messenger MSN Messenger
sixonetonoffun
Spouse Contemplates Divorce



Joined: Jan 02, 2003
Posts: 2496

PostPosted: Mon Dec 27, 2004 12:01 pm Reply with quote

If it was an upgrade from 7.4 and below make sure the admin files for the 7.4 and below version of CNBYA do not exist in your directories.
/admin/case
/admin/links
/admin/modules

_________________
[b][size=5]openSUSE 11.4-x86 | Linux 2.6.37.1-1.2desktop i686 | KDE: 4.6.41>=4.7 | XFCE 4.8 | AMD Athlon(tm) XP 3000+ | MSI K7N2 Delta-L | 3GB Black Diamond DDR
| GeForce 6200@433Mhz 512MB | Xorg 1.9.3 | NVIDIA 270.30[/size:2b8 
View user's profile Send private message
gsicard







PostPosted: Mon Dec 27, 2004 5:30 pm Reply with quote

Hi Six,
No joy. No old files are in those dirs but same problem. I'll keep on poking around and let you know if I find something.

Gary
 
sixonetonoffun







PostPosted: Mon Dec 27, 2004 5:52 pm Reply with quote

Check the files in modules/Your_Account/admin/ promoteuser.php and promoteuserconf.php for this line:
if (!defined('YA_ADMIN')) { echo "CNBYA admin protection"; exit; }
If its missing try adding it after if (!stristr($_SERVER['SCRIPT_NAME'], "modules.php")) { die ("You can't access this file directly..."); }
 
gsicard







PostPosted: Tue Jan 18, 2005 12:42 pm Reply with quote

Hi Six,
here is what I have in both files mentioned above. These lines are directly below the credits.

Code:


if (!defined('YA_ADMIN')) { echo "CNBYA admin protection"; exit; }
if (!eregi("modules.php", $_SERVER['SCRIPT_NAME'])) {
    header("Location: ../../../index.php");
    die ();
}
if (!defined('CNBYA')) { echo "CNBYA protection"; exit; }
if ($radminsuper == 1) {


Anyway.. I cannot promote users or create new admins. Maybe the next version will solve this little problem. Any idea when we can expect a new release?

All the best.
 
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 ©