in mainfile.php on line 264. I installed sentinel and everything seemed ok until i tried to activate the admin block and started getting that error message. I only get that error when I activate the admin blocker. I have to re-install the sql tables to get anything else to work after that. Everything else about it works fine though.
I use admin secure and protector as well on phpnuke 7.5 w/ 2.8sec
Any ideas?
HalJordan Support Staff
Joined: Aug 07, 2004
Posts: 1117
Location: Somewhere around Louisville, Kentucky
Posted:
Sat Jan 08, 2005 10:12 am
asec_isadmin() is part of the AdminSecure addon, and if you are getting that error, you may be missing one of the AS files or perhaps edited one of the required files to remove the called function. Check the AS documentation to make sure they are all there, especially any includes or any edits.
Note: If your server using PHP prior version 4.1.0, replace $_COOKIE with $HTTP_COOKIE_VARS
- Find this line:
$admintest = 0;
- Below that line, add this new line:
$admin = $_COOKIE['admin'];
Note: If your server using PHP prior version 4.1.0, replace $_COOKIE with $HTTP_COOKIE_VARS
- Save auth.php and upload to your server (overwrite the old one).
Because 7.5 no longer uses auth.php and it states "optional" in the directions....sigh. That and I had to wait for the cookie to expire which just left me baffled, need coffee
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