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
wchimes
New Member
New Member



Joined: Mar 05, 2005
Posts: 2

PostPosted: Mon Apr 03, 2006 6:01 pm Reply with quote

Hi Raven
The Gypsywriter site is moved and working well ( except for
Gallery, but I'm making progress ). I do have one problem. In my php-
nuke administration area, the USERS module gives me an " Illegal File
Access " message if I try and use it or edit a members profile. It
is the only module that appears to be giving me trouble. THe only
place I see this error message in the code is in the Your
_Account/admin.index.php but, of course I don't know what the
code means or what might be conflicting with it. Any ideas would be
appreciated... the index.php code is as follows..
/*********************************************************************
***/
/* PHP-NUKE: Web Portal System
*/
/* */
/*
*/
/ */
/*
*/
/*********************************************************************
***/
/* Additional security & Abstraction layer conversion
*/
/* 2003 chatserv
*/
/* http://www.nukefixes.com -- http://www.nukeresources.com
*/
/*********************************************************************
***/
if ( !defined('ADMIN_FILE') )
{
die("Illegal File Access");
}
global $prefix, $db, $admin_file;
if (!eregi("".$admin_file.".php", $_SERVER['PHP_SELF'])) { die
("Access Denied"); }
$aid = substr("$aid", 0,25);
$row = $db->sql_fetchrow($db->sql_query("SELECT title, admins FROM
".$prefix."_modules WHERE title='Your_Account'"));
$row2 = $db->sql_fetchrow($db->sql_query("SELECT name, radminsuper
FROM ".$prefix."_authors WHERE aid='$aid'"));
$admins = explode(",", $row['admins']);
$auth_user = 0;
for ($i=0; $i < sizeof($admins); $i++) {
etc.....
Thanks ! jim............................
 
View user's profile Send private message
evaders99
Former Moderator in Good Standing



Joined: Apr 30, 2004
Posts: 3221

PostPosted: Mon Apr 03, 2006 7:31 pm Reply with quote

What version are you using? Has it been Patched? Any addons or mods?

_________________
- Only registered users can see links on this board! Get registered or login! -

Need help? Only registered users can see links on this board! Get registered or login! 
View user's profile Send private message Visit poster's website
wchimes







PostPosted: Mon Apr 03, 2006 7:55 pm Reply with quote

Php-nuke 7.6, Not patched. It's been running well for a year, and I just moved it here to Raven's server. I just tried ftp'ing a fresh copy of the module and it seems to be working, perhaps I had a corruption when I moved it ? Thanks... still working out some bugs.. jim
 
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 ©