Verfasst: 19.06.2004 18:56
das muss sich ein modder anschauen, da ich nicht weiß, wo {CURRENT_TIME} abgerufen wird. dort müsste man den break dann einfügen, denke ich, da {CURRENT_TIME} eben die gesamte zeile ausgibt...
phpBB.de - Die deutsche phpBB-Community
https://www.phpbb.de/community/
Habe dieses Problem immer noch, auch die hilfe von Markus67 hat mir nicht geholfen.Angel190 hat geschrieben:Wenn ich das Template Fi Subsilver benutze steht dieser Fehler daaber nur auf der Portal Seite.Parse error: parse error, unexpected T_STRING, expecting T_VARIABLE or '$' in /usr/export/www/vhosts/funnetwork/hosting/angel190/includes/bbcode.php(61) : eval()'d code on line 1
HIer das sind die ersten paar Zeilen aus der bbcode.php/***************************************************************************
* bbcode.php
* -------------------
* begin : Saturday, Feb 13, 2001
* copyright : (C) 2001 The phpBB Group
* email : support@phpbb.com
*
* $Id: bbcode.php,v 1.36.2.31 2004/03/25 15:57:20 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");
}
define("BBCODE_UID_LEN", 10);
// global that holds loaded-and-prepared bbcode templates, so we only have to do
// that stuff once.
$bbcode_tpl = null;
/**
* Loads bbcode templates from the bbcode.tpl file of the current template set.
* Creates an array, keys are bbcode names like "b_open" or "url", values
* are the associated template.
* Probably pukes all over the place if there's something really screwed
* with the bbcode.tpl file.
*
* Nathan Codding, Sept 26 2001.
*/
function load_bbcode_template()
{
global $template;
$tpl_filename = $template->make_filename('bbcode.tpl');
$tpl = fread(fopen($tpl_filename, 'r'), filesize($tpl_filename));
// replace \ with \\ and then ' with \'.
$tpl = str_replace('\\', '\\\\', $tpl);
$tpl = str_replace('\'', '\\\'', $tpl);
// strip newlines.
$tpl = str_replace("\n", '', $tpl);
// Turn template blocks into PHP assignment statements for the values of $bbcode_tpls..
$tpl = preg_replace('#<!-- BEGIN (.*?) -->(.*?)<!-- END (.*?) -->#', "\n" . '$bbcode_tpls[\'\\1\'] = \'\\2\';', $tpl);
$bbcode_tpls = array();
eval($tpl);
return $bbcode_tpls;
}
Brauche dringend hilfe??????Markus67 hat geschrieben:- Hinweis für alle fi Template User von forumimages.com:
Die meisten der fi Templates unterstützen die "catHead" Variable nicht. In diesem Fall musst du alle Texte mit "catHead" in der intro_body.tpl und portal_body.tpl mit "cat" ersetzen.
Code: Alles auswählen
<td class="row1" align="center" nowrap="nowrap">
Verlinke mal die Datei "portal_body.tpl". Der Fehler liegt in dieser Datei nicht in der bbcode.php.Angel190 hat geschrieben:Wenn ich das Template Fi Subsilver benutze steht dieser Fehler daaber nur auf der Portal Seite.Parse error: parse error, unexpected T_STRING, expecting T_VARIABLE or '$' in /usr/export/www/vhosts/funnetwork/hosting/angel190/includes/bbcode.php(61) : eval()'d code on line 1
Hab nix am ftp oder an den Einstellungen gemacht... Nur wenn ich den Kalender im Board deaktiviere funzt es wieder.Warning: file(): php_network_getaddresses: getaddrinfo failed: Name or service not known in /home/edonkdbn/www.edonkey-board.de/phpBB/portal.php on line 377
Warning: file(http://www.edonkey-board.de/phpBB/escalendar.php): failed to open stream: Resource temporarily unavailable in /home/edonkdbn/www.edonkey-board.de/phpBB/portal.php on line 377
Warning: implode(): Bad arguments. in /home/edonkdbn/www.edonkey-board.de/phpBB/portal.php on line 377