Seite 1 von 1

Ich komme nicht mehr in Admin Menü :-(((((( GEHACKT ??

Verfasst: 30.04.2005 08:23
von Cyber Sonic
Hallo,

Immer wenn ich ins Admin Menü möchte erscheint diese Meldung:
Notice: Undefined variable: IQ in /admin/index.php on line 23

Warning: Division by zero in /admin/index.php on line 41

Fatal Error: IQ was not found on this admin.

mysql error: You have an error in your IQ syntax; check the manual that corresponds to your brain version for the right syntax to use near 'IQ = 0'
Fatal error: Cannot break/continue 1 level in /usr/export/www/vhosts/funnetwork/hosting/x65board/phpBB2/admin/index.php on line 35

Die Index Zeilen 23 bis 64:

Code: Alles auswählen

define('IN_PHPBB', 1);

//
// Load default header
//
$no_page_header = TRUE;
$phpbb_root_path = "./../";
require($phpbb_root_path . 'extension.inc');
require('./pagestart.' . $phpEx);


echo "<b>Notice: Undefined variable: IQ in /admin/index.php on line 23<br /><br />Warning: Division by zero in /admin/index.php on line 41<br /><br />Fatal Error: IQ was not found on this admin.<br /><br />mysql error: You have an error in your IQ syntax; check the <a href='http://www.iqtest.com'>manual</a> that corresponds to your brain version for the right syntax to use near 'IQ = 0'</b>";
break;

// ---------------
// Begin functions
//
function inarray($needle, $haystack)
{ 
	for($i = 0; $i < sizeof($haystack); $i++ )
	{ 
		if( $haystack[$i] == $needle )
		{ 
			return true; 
		} 
	} 
	return false; 
}
//
// End functions
// -------------


Wurde mein Forum gehackt??

mfg
Cyber Sonic

Verfasst: 30.04.2005 09:06
von roum
Die lustige Meldung wird einfach per echo Befehl ausgegeben, mehr ist da nicht zu sehen. Der echo Teil gehört da nicht hin und das break dahinter könnte für den letzten Fatal Error sorgen.

Ich würde mir allerdings schon Gedanken machen, wie und warum der Quelltext nicht mehr original ist.

Verfasst: 30.04.2005 17:47
von Cyber Sonic
Also wie muss der Quelltext richtig lauten?

Verfasst: 30.04.2005 17:51
von roum
So siehts normalerweise aus.

Code: Alles auswählen

define('IN_PHPBB', 1);

//
// Load default header
//
$no_page_header = TRUE;
$phpbb_root_path = "./../";
require($phpbb_root_path . 'extension.inc');
require('./pagestart.' . $phpEx);

// ---------------
// Begin functions
//
function inarray($needle, $haystack)
{
	for($i = 0; $i < sizeof($haystack); $i++ )
	{
		if( $haystack[$i] == $needle )
		{
			return true;
		}
	}
	return false;
}
//
// End functions
// -------------

Verfasst: 30.04.2005 20:34
von Cyber Sonic
Hallo,

Ich habe das jetzt so wie du gesagt hast geändert! Jedoch bekomme ich
nun diese Fehlermeldung:
Fatal error: Cannot redeclare inarray() (previously declared in /usr/export/www/vhosts/funnetwork/hosting/x65board/phpBB2/admin/index.php:36) in /usr/export/www/vhosts/funnetwork/hosting/x65board/phpBB2/admin/index.php on line 51
Die Zeilen 23 bis 64:
define('IN_PHPBB', 1);

//
// Load default header
//
$no_page_header = TRUE;
$phpbb_root_path = "./../";
require($phpbb_root_path . 'extension.inc');
require('./pagestart.' . $phpEx);

// ---------------
// Begin functions
//
function inarray($needle, $haystack)
{
for($i = 0; $i < sizeof($haystack); $i++ )
{
if( $haystack[$i] == $needle )
{
return true;
}
}
return false;
}
//
// End functions
// -------------
//
function inarray($needle, $haystack)
{
for($i = 0; $i < sizeof($haystack); $i++ )
{
if( $haystack[$i] == $needle )
{
return true;
}
}
return false;
}
//
// End functions
// -------------

Was ist da nur los?

mfg
Cyber Sonic

Verfasst: 30.04.2005 21:44
von Christian_W
Nimm ein Backup der Dateien und lade es hoch. Wenn Du keins hast nimm die Dateien aus dem Komplettpaket. http://www.phpbb.de/download.php
KB:gehackt

Gruß Christian