Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> Modules
Author Message
violative
New Member
New Member



Joined: Dec 30, 2006
Posts: 19

PostPosted: Fri Jan 26, 2007 2:39 am Reply with quote

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.
 
View user's profile Send private message
hitwalker
Sells PC To Pay For Divorce



Joined:
Posts: 5661

PostPosted: Fri Jan 26, 2007 5:30 am Reply with quote

thats probably a patch thing...
meaning not compatible with current nuke / patch / security

search the forums on topic title .."Access Denied"
 
View user's profile Send private message
violative







PostPosted: Fri Jan 26, 2007 7:59 pm Reply with quote

I did do that, no luck. do you know the anwser. (How I Can Fix It). Crying or Very sad 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 Rolling Eyes


Last edited by violative on Fri Jan 26, 2007 8:10 pm; edited 2 times in total 
hitwalker







PostPosted: Fri Jan 26, 2007 8:01 pm Reply with quote

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







PostPosted: Fri Jan 26, 2007 8:06 pm Reply with quote

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







PostPosted: Sat Jan 27, 2007 4:13 am Reply with quote

where did you downloaded it?
 
violative







PostPosted: Sat Jan 27, 2007 4:14 am Reply with quote

here on this site
 
hitwalker







PostPosted: Sat Jan 27, 2007 4:25 am Reply with quote

ok gimme some time...i'll have a look at it.
 
hitwalker







PostPosted: Sat Jan 27, 2007 4:39 am Reply with quote

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







PostPosted: Sun Jan 28, 2007 3:30 am Reply with quote

Wow Thanks, That Worked, You Are The Bestest. Wave
 
hitwalker







PostPosted: Sun Jan 28, 2007 5:05 am Reply with quote

not that great,but im a nice guy... Laughing
 
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> Modules

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 ©