fehler!junior admin!page_tail

Du hast Probleme beim Einbau oder bei der Benutzung eines Mods? In diesem Forum bist du richtig.
Forumsregeln
phpBB 2.0 hat das Ende seiner Lebenszeit überschritten
phpBB 2.0 wird nicht mehr aktiv unterstützt. Insbesondere werden - auch bei Sicherheitslücken - keine Patches mehr bereitgestellt. Der Einsatz von phpBB 2.0 erfolgt daher auf eigene Gefahr. Wir empfehlen einen Umstieg auf phpBB 3.0, welches aktiv weiterentwickelt wird und für welches regelmäßig Updates zur Verfügung gestellt werden.
Antworten
Pimo
Mitglied
Beiträge: 100
Registriert: 30.08.2004 16:51

fehler!junior admin!page_tail

Beitrag von Pimo »

ich habe den junior admin mod installiert jetzt steht unten wo sonst adminbereich steht
Parse error: parse error, unexpected T_STRING in /usr/export/www/vhosts/funnetwork/hosting/skl/board/includes/page_tail.php on line 33

das ist meine page_tail datei

Code: Alles auswählen

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

//
// Show the overall footer.
//
include_once($phpbb_root_path . 'includes/functions_jr_admin.' . $phpEx);
$admin_link = jr_admin_make_admin_link();
' . $lang['Admin_panel'] . '</a><br /><br />' : '';

$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)
);

$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;

?>
bidde helft mir
Benutzeravatar
rabbit
Ehemaliger Übersetzer
Beiträge: 4199
Registriert: 14.06.2003 22:09
Wohnort: Hildesheim
Kontaktdaten:

Beitrag von rabbit »

hi,

ersetze den code mal hiermit:

Code: Alles auswählen

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

// 
// Show the overall footer. 
// 
include_once($phpbb_root_path . 'includes/functions_jr_admin.' . $phpEx); 
$admin_link = jr_admin_make_admin_link();

$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) 
); 

$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; 

?>
:)
Offizieller Übersetzer des Categories Hierarchy MOD 2.1.x
Deutscher UserGuide für den Categories Hierarchy MOD v2.1.4
Empfohlener Hoster: All-Inkl.com
Pimo
Mitglied
Beiträge: 100
Registriert: 30.08.2004 16:51

Beitrag von Pimo »

jetzt steht bei mir im acp

Code: Alles auswählen

Allgemeiner Fehler 
Error retrieving cash data

DEBUG MODE

SQL Error : 1146 Table 'skl.cash' doesn't exist

SELECT * FROM cash ORDER BY cash_order ASC

Line : 657
File : /usr/export/www/vhosts/funnetwork/hosting/skl/board/includes/functions_cash.php 
das stand vorher da nicht!und der cash mod funktionierte auch einwandfrei
Acid
Ehrenadmin
Beiträge: 12195
Registriert: 26.04.2001 02:00
Wohnort: Berlin

Beitrag von Acid »

http://www.phpbb.de/viewtopic.php?p=373742#373742 ..da steht die Lösung geschrieben.
Antworten

Zurück zu „phpBB 2.0: Mod Support“