Author |
Message |
violative
New Member


Joined: Dec 30, 2006
Posts: 19
|
Posted:
Fri Jan 26, 2007 2:39 am |
|
I Installed The PHONECARDS Module, But I Get "OKAccess Denied"
When I Click The Icon On My Admin Wedsite page. Am Using rwsRavenNuke76_v2.02.00_FULL. |
|
|
|
 |
hitwalker
Sells PC To Pay For Divorce

Joined:
Posts: 5661
|
Posted:
Fri Jan 26, 2007 5:30 am |
|
thats probably a patch thing...
meaning not compatible with current nuke / patch / security
search the forums on topic title .."Access Denied" |
|
|
|
 |
violative

|
Posted:
Fri Jan 26, 2007 7:59 pm |
|
I did do that, no luck. do you know the anwser. (How I Can Fix It). Well Anyhow I installed rwsRavenNuke76_v2.02.00_FULL, and am downloading
Blocks or any modules here, because I thought rwsRavenNuke76_v2.02.00_FULL will work with them all. I Quess Not  |
Last edited by violative on Fri Jan 26, 2007 8:10 pm; edited 2 times in total |
|
|
 |
hitwalker

|
Posted:
Fri Jan 26, 2007 8:01 pm |
|
there's no easy fix for it..
if its an older module you have to make it compatible with current nuke and patches.....
that your still seeing access denied indicates its still not correct. |
|
|
|
 |
violative

|
Posted:
Fri Jan 26, 2007 8:06 pm |
|
Well Thank You For Telling Me This, But Seeing That I Don't Know How To "make it compatible with current nuke and patches" I Relay On People That Know How To Do It. So I Ask Someone To Make It Please. THank Thank You |
|
|
|
 |
hitwalker

|
Posted:
Sat Jan 27, 2007 4:13 am |
|
where did you downloaded it? |
|
|
|
 |
violative

|
Posted:
Sat Jan 27, 2007 4:14 am |
|
|
|
 |
hitwalker

|
Posted:
Sat Jan 27, 2007 4:25 am |
|
ok gimme some time...i'll have a look at it. |
|
|
|
 |
hitwalker

|
Posted:
Sat Jan 27, 2007 4:39 am |
|
well simple way to get it running is this...
in the admin folder....
theres modules / phonecards.php
open it....
and change this top part....
Code://if (!eregi("admin.php", $_SERVER['SCRIPT_NAME'])) { die ("Access Denied"); }
global $prefix, $db, $admin_file;
if (!eregi("".$admin_file.".php", $_SERVER['PHP_SELF'])) { die ("Access Denied"); }
echo "OK";
$aid = substr("$aid", 0,25);
$row = $db->sql_fetchrow($db->sql_query("SELECT radmincontent, radminsuper FROM " . $prefix . "_authors WHERE aid='$aid'"));
if (($row['radmincontent'] == 1) OR ($row['radminsuper'] == 1)) {
$mainsettings = $db->sql_fetchrow($db->sql_query("SELECT * FROM " . $prefix . "_phone_main"));
|
to this......
Code:if ( !defined('ADMIN_FILE') )
{
die ("Access Denied");
}
global $prefix, $db, $admin_file;
$aid = substr("$aid", 0,25);
$row = $db->sql_fetchrow($db->sql_query("SELECT radminsuper FROM " . $prefix . "_authors WHERE aid='$aid'"));
if ($row['radminsuper'] == 1) {
$mainsettings = $db->sql_fetchrow($db->sql_query("SELECT * FROM " . $prefix . "_phone_main"));
|
|
|
|
|
 |
violative

|
Posted:
Sun Jan 28, 2007 3:30 am |
|
Wow Thanks, That Worked, You Are The Bestest.  |
|
|
|
 |
hitwalker

|
Posted:
Sun Jan 28, 2007 5:05 am |
|
not that great,but im a nice guy...  |
|
|
|
 |
|