Alles weg?

Installatie lukt niet? Plotseling een foutmelding. Of weet je niet hoe iets werkt. Problemen met phpBB2 kun je in dit archief opzoeken.
Forumregels

Sinds 1 januari 2009 wordt phpBB2 niet meer ondersteund.
Onderstaande informatie is verouderd en dient uitsluitend als archief.
phpBB2.0.x
Gesloten
plok
Berichten: 175
Lid geworden op: 13 mar 2004, 17:34

Alles weg?

Bericht door plok » 10 apr 2004, 22:25

Mijn host was gehacked en alles was weg :( behalve de SQL, dus ik heb alles herstelt maar nu krijg ik deze error:

Code: Selecteer alles

phpBB : Critical Error 

Could not query config information 

DEBUG MODE 

SQL Error : 1146 Table 'amwarez_amirwarez.phpbb_plus' doesn't exist 

SELECT * FROM phpbb_plus 

Line : 177 
File : /home/amwarez/public_html/forum/common.php 

Ik persoonlijk denk dat het aan de host licht maar ik ben niet zeker, weet iemand dit?

Thx in advance :D
Laatst gewijzigd door plok op 11 apr 2004, 10:19, 1 keer totaal gewijzigd.

Gebruikersavatar
mosymuis
Berichten: 6940
Lid geworden op: 05 feb 2003, 14:00
Locatie: Amsterdam
Contacteer:

Bericht door mosymuis » 10 apr 2004, 22:45

De gegevens in je config.php kloppen niet, of je host heeft je database account veranderd.

kieke
Berichten: 399
Lid geworden op: 20 okt 2003, 17:07
Locatie: Herselt
Contacteer:

Bericht door kieke » 10 apr 2004, 23:12

de hacker heeft mss de mysql database en al veranderd
ps:ik weet wel niet of dat kan hé ik denk dit alleen maar.
Wil je een zakcentje bijverdienen, klik op onderstaande url en meld je aan.. http://www.moneymiljonair.nl/registreren.php?ref=kieke1

plok
Berichten: 175
Lid geworden op: 13 mar 2004, 17:34

Bericht door plok » 11 apr 2004, 08:02

Bedankt voor alle hulp :thumb:
Ik ga nu bij de host informeren :)


GrTz plokamir :)

plok
Berichten: 175
Lid geworden op: 13 mar 2004, 17:34

Bericht door plok » 11 apr 2004, 09:17

OK

Code: Selecteer alles

phpBB : Critical Error 

Could not query config information

DEBUG MODE

SQL Error : 1146 Table 'amwarez_amirwarez.phpbb_plus' doesn't exist

SELECT * FROM phpbb_plus

Line : 177
File : /home/amwarez/public_html/forum/common.php 
Dat andere probleem is opgelost maar wat kan ik hier aan doen?

THX in advance :D

Gebruikersavatar
Luuk
Berichten: 7311
Lid geworden op: 22 okt 2003, 10:07
Locatie: Delft

Bericht door Luuk » 11 apr 2004, 09:18

heb je een andere prefix gekregen'?
Afbeelding

plok
Berichten: 175
Lid geworden op: 13 mar 2004, 17:34

Bericht door plok » 11 apr 2004, 09:35

Luuk schreef:heb je een andere prefix gekregen'?
Nee volgens mij niet

vibofax
Berichten: 57
Lid geworden op: 10 jan 2004, 20:59

Bericht door vibofax » 11 apr 2004, 10:06

ik d8 al dat amirwarez offline was :lol:
ik denk dat je het beste met phpmyadmin alles kunt kopieren en dan weer plakken?

plok
Berichten: 175
Lid geworden op: 13 mar 2004, 17:34

Bericht door plok » 11 apr 2004, 10:09

vibofax schreef:ik d8 al dat amirwarez offline was :lol:
ik denk dat je het beste met phpmyadmin alles kunt kopieren en dan weer plakken?
De SQL is bewaart gebleven, dus ik hoop dat dat niet nodig is.

vibofax
Berichten: 57
Lid geworden op: 10 jan 2004, 20:59

Bericht door vibofax » 11 apr 2004, 10:11

dan zou het toch aan je prefix moeten liggen? :?

plok
Berichten: 175
Lid geworden op: 13 mar 2004, 17:34

Bericht door plok » 11 apr 2004, 10:18

Code: Selecteer alles

<?php
/***************************************************************************
 *                                common.php
 *                            -------------------
 *   begin                : Saturday, Feb 23, 2001
 *   copyright            : (C) 2001 The phpBB Group
 *   email                : support@phpbb.com
 *
 *   $Id: common.php,v 1.74.2.10 2003/06/04 17:41:39 acydburn Exp $
 *
 *
 ***************************************************************************/

/***************************************************************************
 *
 *   This program is free software; you can redistribute it and/or modify
 *   it under the terms of the GNU General Public License as published by
 *   the Free Software Foundation; either version 2 of the License, or
 *   (at your option) any later version.
 *
 ***************************************************************************/

if ( !defined('IN_PHPBB') )
{
	die("Hacking attempt");
}

error_reporting  (E_ERROR | E_WARNING | E_PARSE); // This will NOT report uninitialized variables
set_magic_quotes_runtime(0); // Disable magic_quotes_runtime

//
// addslashes to vars if magic_quotes_gpc is off
// this is a security precaution to prevent someone
// trying to break out of a SQL statement.
//
if( !get_magic_quotes_gpc() )
{
	if( is_array($HTTP_GET_VARS) )
	{
		while( list($k, $v) = each($HTTP_GET_VARS) )
		{
			if( is_array($HTTP_GET_VARS[$k]) )
			{
				while( list($k2, $v2) = each($HTTP_GET_VARS[$k]) )
				{
					$HTTP_GET_VARS[$k][$k2] = addslashes($v2);
				}
				@reset($HTTP_GET_VARS[$k]);
			}
			else
			{
				$HTTP_GET_VARS[$k] = addslashes($v);
			}
		}
		@reset($HTTP_GET_VARS);
	}

	if( is_array($HTTP_POST_VARS) )
	{
		while( list($k, $v) = each($HTTP_POST_VARS) )
		{
			if( is_array($HTTP_POST_VARS[$k]) )
			{
				while( list($k2, $v2) = each($HTTP_POST_VARS[$k]) )
				{
					$HTTP_POST_VARS[$k][$k2] = addslashes($v2);
				}
				@reset($HTTP_POST_VARS[$k]);
			}
			else
			{
				$HTTP_POST_VARS[$k] = addslashes($v);
			}
		}
		@reset($HTTP_POST_VARS);
	}

	if( is_array($HTTP_COOKIE_VARS) )
	{
		while( list($k, $v) = each($HTTP_COOKIE_VARS) )
		{
			if( is_array($HTTP_COOKIE_VARS[$k]) )
			{
				while( list($k2, $v2) = each($HTTP_COOKIE_VARS[$k]) )
				{
					$HTTP_COOKIE_VARS[$k][$k2] = addslashes($v2);
				}
				@reset($HTTP_COOKIE_VARS[$k]);
			}
			else
			{
				$HTTP_COOKIE_VARS[$k] = addslashes($v);
			}
		}
		@reset($HTTP_COOKIE_VARS);
	}
}

//
// Define some basic configuration arrays this also prevents
// malicious rewriting of language and otherarray values via
// URI params
//
$board_config = array();
$userdata = array();
$theme = array();
$images = array();
$lang = array();
$gen_simple_header = FALSE;

include($phpbb_root_path . 'config.'.$phpEx);

if( !defined("PHPBB_INSTALLED") )
{
	header("Location: install/install.$phpEx");
	exit;
}

include($phpbb_root_path . 'includes/constants.'.$phpEx);
include($phpbb_root_path . 'includes/template.'.$phpEx);
include($phpbb_root_path . 'includes/sessions.'.$phpEx);
include($phpbb_root_path . 'includes/auth.'.$phpEx);
include($phpbb_root_path . 'includes/functions.'.$phpEx);
include($phpbb_root_path . 'includes/db.'.$phpEx);

//
// Obtain and encode users IP
//
if( getenv('HTTP_X_FORWARDED_FOR') != '' )
{
	$client_ip = ( !empty($HTTP_SERVER_VARS['REMOTE_ADDR']) ) ? $HTTP_SERVER_VARS['REMOTE_ADDR'] : ( ( !empty($HTTP_ENV_VARS['REMOTE_ADDR']) ) ? $HTTP_ENV_VARS['REMOTE_ADDR'] : $REMOTE_ADDR );

	$entries = explode(',', getenv('HTTP_X_FORWARDED_FOR'));
	reset($entries);
	while (list(, $entry) = each($entries)) 
	{
		$entry = trim($entry);
		if ( preg_match("/^([0-9]+\.[0-9]+\.[0-9]+\.[0-9]+)/", $entry, $ip_list) )
		{
			$private_ip = array('/^0\./', '/^127\.0\.0\.1/', '/^192\.168\..*/', '/^172\.((1[6-9])|(2[0-9])|(3[0-1]))\..*/', '/^10\..*/', '/^224\..*/', '/^240\..*/');
			$found_ip = preg_replace($private_ip, $client_ip, $ip_list[1]);

			if ($client_ip != $found_ip)
			{
				$client_ip = $found_ip;
				break;
			}
		}
	}
}
else
{
	$client_ip = ( !empty($HTTP_SERVER_VARS['REMOTE_ADDR']) ) ? $HTTP_SERVER_VARS['REMOTE_ADDR'] : ( ( !empty($HTTP_ENV_VARS['REMOTE_ADDR']) ) ? $HTTP_ENV_VARS['REMOTE_ADDR'] : $REMOTE_ADDR );
}
$user_ip = encode_ip($client_ip);

//
// Setup forum wide options, if this fails
// then we output a CRITICAL_ERROR since
// basic forum information is not available
//
$sql = "SELECT *
	FROM " . CONFIG_TABLE;
if( !($result = $db->sql_query($sql)) )
{
	message_die(CRITICAL_ERROR, "Could not query config information", "", __LINE__, __FILE__, $sql);
}

while ( $row = $db->sql_fetchrow($result) )
{
	$board_config[$row['config_name']] = $row['config_value'];
}
$sql = "SELECT *
	FROM " . PLUS_TABLE;
if( !($result = $db->sql_query($sql)) )
{
	message_die(CRITICAL_ERROR, "Could not query config information", "", __LINE__, __FILE__, $sql);
}

while ( $row = $db->sql_fetchrow($result) )
{
	$plus_config[$row['config_name']] = $row['config_value'];
}
include($phpbb_root_path . 'attach_mod/attachment_mod.'.$phpEx);
if (file_exists('install') || file_exists('contrib'))
{
	message_die(GENERAL_MESSAGE, 'Please ensure both the install/ and contrib/ directories are deleted');
}

//
// Show 'Board is disabled' message if needed.
//
if( $board_config['board_disable'] && !defined("IN_ADMIN") && !defined("IN_LOGIN") )
{
	message_die(GENERAL_MESSAGE, 'Board_disable', 'Information');
}

?>
Ik weet niet of jullie er iets aan hebben maar dit is dus mijn common.php

Gebruikersavatar
Luuk
Berichten: 7311
Lid geworden op: 22 okt 2003, 10:07
Locatie: Delft

Bericht door Luuk » 11 apr 2004, 10:24

daar hebben we niks aan 8)

kijk eens in je database of je de tabel XXX_plus kunt vinden en kijk wat op de plaats van XXX staat
Afbeelding

plok
Berichten: 175
Lid geworden op: 13 mar 2004, 17:34

Bericht door plok » 11 apr 2004, 10:28

Er staat geen: tabel XXX_plus Of iets dergelijks wat daar op lijkt :?

Gebruikersavatar
Luuk
Berichten: 7311
Lid geworden op: 22 okt 2003, 10:07
Locatie: Delft

Bericht door Luuk » 11 apr 2004, 10:31

je moet alleen naar het achterste kijken, XXX is wat ervoor staat en dat weet ik niet :wink:
Afbeelding

plok
Berichten: 175
Lid geworden op: 13 mar 2004, 17:34

Bericht door plok » 11 apr 2004, 10:34

Luuk schreef:je moet alleen naar het achterste kijken, XXX is wat ervoor staat en dat weet ik niet :wink:
Ja ok maar er staat nergens PLUS achter :? :? :? :?

Gebruikersavatar
superman5000
Berichten: 741
Lid geworden op: 05 nov 2003, 09:51
Locatie: breda
Contacteer:

Bericht door superman5000 » 11 apr 2004, 10:35

wacht eff.
open eens config.php die staat gewoon in de root van het forum.
en vul daar je Database gegevens in en kijk of hij het dan wel doed.

plok
Berichten: 175
Lid geworden op: 13 mar 2004, 17:34

Bericht door plok » 11 apr 2004, 10:46

heb ik gedaan maar werkt nog niet(ik weet zeker dat het klopt)

Gebruikersavatar
Luuk
Berichten: 7311
Lid geworden op: 22 okt 2003, 10:07
Locatie: Delft

Bericht door Luuk » 11 apr 2004, 10:47

plok schreef:
Luuk schreef:je moet alleen naar het achterste kijken, XXX is wat ervoor staat en dat weet ik niet :wink:
Ja ok maar er staat nergens PLUS achter :? :? :? :?
Dan ben je dus je zooi kwijt, staat er wel _config?

Anders heb je een phpbbPlus! forum op een phpbb database gezet en dat gaat niet
Afbeelding

plok
Berichten: 175
Lid geworden op: 13 mar 2004, 17:34

Bericht door plok » 11 apr 2004, 10:54

Code: Selecteer alles

phpbb_config   
Staat er wel :)

Maar ik heb niets verandert hoor, mijn host werdt gehacked en de SQL werdt bewaard zeggen ze, alleen mijn FTP was leeg :(

Gesloten