probleem na instalatie met page_tail.php

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
mats
Berichten: 18
Lid geworden op: 16 okt 2004, 13:17
Contacteer:

probleem na instalatie met page_tail.php

Bericht door mats » 27 nov 2004, 19:29

ik krijg deze foutmelding k heb heb het forum al een paar keer geprobeerd te installeren

message_die() was called multiple times. This isn't supposed to happen. Was message_die() used in page_tail.php?



dit staat in mijn page_tail.php uit de includes map

Code: Selecteer alles

<?php
/***************************************************************************
 *                              page_tail.php
 *                            -------------------
 *   begin                : Saturday, Feb 13, 2001
 *   copyright            : (C) 2001 The phpBB Group
 *   email                : support@phpbb.com
 *
 *   $Id: page_tail.php,v 1.27.2.2 2002/11/26 11:42:12 psotfx 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');
}

if ( $board_config['rabbitoshi_enable_cron'] && ( ( time() - $board_config['rabbitoshi_cron_last_time'] ) > $board_config['rabbitoshi_cron_time'] ))
{
	include_once($php_root_path . 'includes/functions_rabbitoshi_cron.'.$phpEx);
}

/* Un-comment the line below to restrict Admins only to view page generation info */

//if( ($userdata['session_logged_in']) and ($userdata['user_level'] == ADMIN) )
{
	$gzip_text = ($board_config['gzip_compress']) ? 'GZIP: On' : 'GZIP: Off';

	$debug_text = (DEBUG == 1) ? 'Debug: On' : 'Debug: Off';

	$excuted_queries = $db->num_queries;

	$mtime = microtime();
	$mtime = explode(" ",$mtime);
	$mtime = $mtime[1] + $mtime[0];
	$endtime = $mtime;

	$gentime = round(($endtime - $starttime), 4);

	$sql_time = round($db->sql_time, 4);

	$sql_part = round($sql_time / $gentime * 100);
	$php_part = 100 - $sql_part;

}

//
// Show the overall footer.
//
$admin_link = ( $userdata['user_level'] == ADMIN ) ? '<a href="admin/index.' . $phpEx . '?sid=' . $userdata['session_id'] . '">' . $lang['Admin_panel'] . '</a>' : '';

$template->set_filenames(array(
	'overall_footer' => ( empty($gen_simple_header) ) ? 'overall_footer.tpl' : 'simple_footer.tpl')
);



$template->assign_vars(array(
	'PHPBB_VERSION' => '2' . $board_config['version'],
	'TRANSLATION_INFO' => ( isset($lang['TRANSLATION_INFO']) ) ? $lang['TRANSLATION_INFO'] : '',
	'ADMIN_LINK' => $admin_link,
        'GENTIME' => $gentime,
        'EXCUTED_QUERIES' => $excuted_queries,
        'GZIP_TEXT' => $gzip_text)
);



$template->pparse('overall_footer');

//
// Close our DB connection.
//
$db->sql_close();





//
// Compress buffered output if required and send to browser
//
if ( $do_gzip_compress )
{
	//
	// Borrowed from php.net!
	//
	$gzip_contents = ob_get_contents();
	ob_end_clean();

	$gzip_size = strlen($gzip_contents);
	$gzip_crc = crc32($gzip_contents);

	$gzip_contents = gzcompress($gzip_contents, 9);
	$gzip_contents = substr($gzip_contents, 0, strlen($gzip_contents) - 4);

	echo "\x1f\x8b\x08\x00\x00\x00\x00\x00";
	echo $gzip_contents;
	echo pack('V', $gzip_crc);
	echo pack('V', $gzip_size);
}

exit;

?>

cartoontje
Berichten: 1518
Lid geworden op: 29 jun 2003, 10:57
Locatie: Home Sweet Home
Contacteer:

Bericht door cartoontje » 27 nov 2004, 19:33

Heb je de database al teruggezet (als je aan het overzetten bent)?

Deze vraag is hier al vaker behandeld en heeft volgensmij nooit een echt duidelijk antwoord opgegeven.

Ik denk dat er zoveel errors zijn dat de software (middels een beveiliging) denkt dat je iets fout hebt zitten in je page_tail. Dat is dus niet zo...

Ik heb het momenteel ook, aangezien ik de bestanden van me forum al heb geüpload, maar de db nog moet overzetten.

mats
Berichten: 18
Lid geworden op: 16 okt 2004, 13:17
Contacteer:

Bericht door mats » 27 nov 2004, 19:37

nee ik maak een nieuw forum ben niet aan het overzetten

Gebruikersavatar
DaMnNaTiOn
Berichten: 2555
Lid geworden op: 11 dec 2002, 18:29
Locatie: localhost
Contacteer:

Bericht door DaMnNaTiOn » 27 nov 2004, 20:40

Installeer deze mod en vertel wat je daarna ziet.
lastmodified.net

Gesloten