PHP Web Host - Quality Web Hosting For All PHP Applications Just Great Software
  Login or Register
 • Home • Downloads • Your Account • Forums • 

View next topic
View previous topic


Google
 
Web RavenPHPScripts (This Site)
Post new topic   Reply to topic
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 Back to top

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
Moderator


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

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

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: 7264
Location: Arizona

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

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.
View user's profile Send private message Visit poster's website
Display posts from previous:       
Post new topic   Reply to topic

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
Forums ©
 

All logos and trademarks in this site are property of their respective owner.
The comments are property of their posters, all the rest © 2002-2008 by Raven
Proud to be listed at Lobo Links Web Directory

You can syndicate our news using the file xml

CSE HTML Validator Helped Clean up This Page! [Valid RSS] valid RSS 2.0 Valid robots.txt Stop Spam Harvesters, Join Project Honey Pot

Website engines core code is © copyright by PHP-Nuke but has been heavily patched and modified by myself and others.
PHP-Nuke is a free software released under the GNU/GPL.


:: fisubice phpbb2 style by Daz :: PHP-Nuke theme by www.nukemods.com ::

:: fisubice Theme Recoded To 100% W3C CSS & HTML 4.01 Transitional Compliance by Raven and 64bitguy ::

:: W3C CSS Compliance Validation :: W3C HTML 4.01 Transitional Compliance Validation ::

zerosum