Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Ravens PHP Scripts And Web Hosting Forum Index -> phpnuke 7.6
Author Message
BlackBoXz
New Member
New Member



Joined: Jan 28, 2006
Posts: 1
Location: Zwolle, Netherlands

PostPosted: Sat Aug 25, 2007 8:01 pm Reply with quote

Hello all,

Somewhere i made a mistake with my PHP-Nuke site.
I have changed something in a script somewhere so now i've no access to my Forum, Forums-Admin, Member-list, Private Messages,Submit-News,ViewOnline(users).
When i try to access it says "Hacking Attempt"
Who can see the connection between these scripts ?
My site works with:
PHP-Nuke 7.6 / 3.2b patched / BBtoNuke 2.0.21
Sentinel 2.5.11
Approved Membership 6.1.6-7.6-3.2
Forum News Advanced 3.0
and with many Mods installed.
Last Mod that i applied:
Complete Banners 1.3.4

I need some help to solve/debug my problem or can give me a hint how to track this down.
I hope someone has some time left to help.
I tried everything but with no result, i'm calling for help !

Eric
webmaster
 
View user's profile Send private message Visit poster's website
jakec
Site Admin



Joined: Feb 06, 2006
Posts: 3048
Location: United Kingdom

PostPosted: Sun Aug 26, 2007 2:52 am Reply with quote

Whe you get the message 'Hacking Attempt', is anymore information displayed?
 
View user's profile Send private message
montego
Site Admin



Joined: Aug 29, 2004
Posts: 9457
Location: Arizona

PostPosted: Sun Aug 26, 2007 7:44 am Reply with quote

Well, it is a good bet that it is always related to the last mod you installed. Wink

Did your install of "Complete Banners 1.3.4", by chance, require any changes to mainfile.php? If you just replaced your mainfile.php with whatever was given, that is always a NO-NO because mainfile.php is used everywhere, so one small difference / error in coding can mess up your entire site. You have to make these edits very carefully.

I searched through the entire PHP-Nuke source code and that exact error message is related to the defined constant of IN_PHPBB not being there. I am guessing that your code issue might be somewhere around this code:

Code:



if(defined('FORUM_ADMIN')) {
  define('INCLUDE_PATH', '../../../');
} elseif(defined('INSIDE_MOD')) {
  define('INCLUDE_PATH', '../../');
} else {
  define('INCLUDE_PATH', './');
}

@require_once(INCLUDE_PATH."config.php");
@require_once(INCLUDE_PATH."db/db.php");
@require_once(INCLUDE_PATH."includes/sql_layer.php");
@require_once(INCLUDE_PATH."includes/ipban.php");
if (file_exists(INCLUDE_PATH."includes/custom_files/custom_mainfile.php")) {
  @include_once(INCLUDE_PATH."includes/custom_files/custom_mainfile.php");
}

if (!defined('FORUM_ADMIN')) {
  if(empty($admin_file)) {
    die ("You must set a value for admin_file in config.php");
  } elseif (!empty($admin_file) && !file_exists($admin_file.".php")) {
    die ("The admin_file you defined in config.php does not exist");
  }
}


Good luck.

_________________
Where Do YOU Stand?
HTML Newsletter::ShortLinks::Mailer::Downloads and more... 
View user's profile Send private message Visit poster's website
Display posts from previous:       
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Ravens PHP Scripts And Web Hosting Forum Index -> phpnuke 7.6

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 ©