Admin -Panel nicht mehr aufrufbar

Fragen zur Bedienung von phpBB 3.0.x, Probleme bei der Benutzung und alle weiteren Fragen inkl. Update auf die neuste phpBB 3.0.14 Version
Forumsregeln
phpBB 3.0 hat das Ende seiner Lebenszeit überschritten
phpBB 3.0 wird nicht mehr aktiv unterstützt. Insbesondere werden - auch bei Sicherheitslücken - keine Patches mehr bereitgestellt. Der Einsatz von phpBB 3.0 erfolgt daher auf eigene Gefahr. Wir empfehlen einen Umstieg auf die neuste phpBB-Version, welches aktiv weiterentwickelt wird und für welches regelmäßig Updates zur Verfügung gestellt werden.
modernist
Ehemaliges Teammitglied
Beiträge: 2202
Registriert: 12.01.2009 10:44

Re: Admin -Panel nicht mehr aufrufbar

Beitrag von modernist »

Nun fehlt die Angabe zur Stylesheetquelle ganz:

Code: Alles auswählen

  <title>heimkinopage.de &bull; <!-- IF S_IN_MCP -->Moderations-Bereich &bull;
<!-- ELSEIF S_IN_UCP -->{ UCP } &bull; <!-- ENDIF
-->Foren-Übersicht</title>
  <link rel="stylesheet" href="" type="text/css" />
</head>
Und das Problem mit <!--, was bei dir als <!-- auftaucht, besteht auch noch.
mtsluft hat geschrieben:im ordner cache habe ich keine htaccess gefunden, deshalb auch denke ich nicht gelöscht.
Dann werden versteckte Dateien nicht angezeigt. Das macht nichts und schützt vor unbeabsichtigtem Löschen.

Zur Not könntest du diese htaccess auch aus einem neuen phpbb-Paket hochladen.
mtsluft hat geschrieben:ins ACP komme ich ja nicht...
Dafür solltest du dann ja den Cache-Ordner leeren bis auf index.htm und .htaccess.
Benutzeravatar
mtsluft
Mitglied
Beiträge: 413
Registriert: 03.12.2005 18:54
Kontaktdaten:

Re: Admin -Panel nicht mehr aufrufbar

Beitrag von mtsluft »

Und das Problem mit <!--, was bei dir als <!-- auftaucht, besteht auch noch.
ist jetzt behoben.
bin nun über umwege ins admin panel gelangt und habe dort nochmals cache gelöscht + theme aktualisiert. bringt keine änderung.
modernist
Ehemaliges Teammitglied
Beiträge: 2202
Registriert: 12.01.2009 10:44

Re: Admin -Panel nicht mehr aufrufbar

Beitrag von modernist »

Dann hast du ggf. doch nicht die Probleme in der overall_header.html behoben.

Im Quelltext steht immer noch:

Code: Alles auswählen

  <title>heimkinopage.de &bull; <!--, IF S_IN_MCP -->Moderations-Bereich &bull;
<!--, ELSEIF S_IN_UCP -->{ UCP } &bull; <!--, ENDIF
-->Foren-Übersicht</title>
  <link rel="stylesheet" href="" type="text/css" />
</head>
--> sollte wohl --> sein und href="" beim Stylesheet lädt eben kein Stylesheet.
Benutzeravatar
mtsluft
Mitglied
Beiträge: 413
Registriert: 03.12.2005 18:54
Kontaktdaten:

Re: Admin -Panel nicht mehr aufrufbar

Beitrag von mtsluft »

Code: Alles auswählen

href="{STYLESHEET_LINK}"
ist ausgebessert und die anderen zeichen auch... sieht noch genauso aus.
sorry dass ich irgendwie nicht so ganz durchblicke.
modernist
Ehemaliges Teammitglied
Beiträge: 2202
Registriert: 12.01.2009 10:44

Re: Admin -Panel nicht mehr aufrufbar

Beitrag von modernist »

Die href-Angabe ist immer noch unvollständig:

Code: Alles auswählen

  <title>heimkinopage.de &bull; <!--, IF S_IN_MCP -->Moderations-Bereich &bull;
<!--, ELSEIF S_IN_UCP -->{ UCP } &bull; <!--, ENDIF
-->Foren-Übersicht</title>

  <link rel="stylesheet" href="" type="text/css" />
</head>
Statt <!--, muß es auch <!-- (ohne Komma) heißen.
Benutzeravatar
mtsluft
Mitglied
Beiträge: 413
Registriert: 03.12.2005 18:54
Kontaktdaten:

Re: Admin -Panel nicht mehr aufrufbar

Beitrag von mtsluft »

geändert,
jetzt kommt bei aufruf des forums nur
Parse error: syntax error, unexpected $end in /var/www/virtual/heimkinopage.de/htdocs/phpbb/cache/tpl_fisubsilver2_overall_header.html.php on line 250
und in line 250 steht:

Code: Alles auswählen

</html>
hmm...
modernist
Ehemaliges Teammitglied
Beiträge: 2202
Registriert: 12.01.2009 10:44

Re: Admin -Panel nicht mehr aufrufbar

Beitrag von modernist »

Klingt so danach, als ob eine If-Abfrage falsch geschlossen wurde. Ein <!-- ENDIF --> zuviel oder zuwenig, vermute ich mal. Oder noch einer der vorher auftretenden Fehler in einer If-Abfrage. :-?
Benutzeravatar
mtsluft
Mitglied
Beiträge: 413
Registriert: 03.12.2005 18:54
Kontaktdaten:

Re: Admin -Panel nicht mehr aufrufbar

Beitrag von mtsluft »

hier nochmal meine overall-header:

Code: Alles auswählen

<?php if (!defined('IN_PHPBB')) exit; ?><!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" xml:lang="<?php echo (isset($this->_rootref['S_USER_LANG'])) ? $this->_rootref['S_USER_LANG'] : ''; ?>" dir="<?php echo (isset($this->_rootref['S_CONTENT_DIRECTION'])) ? $this->_rootref['S_CONTENT_DIRECTION'] : ''; ?>" lang="<?php echo (isset($this->_rootref['S_USER_LANG'])) ? $this->_rootref['S_USER_LANG'] : ''; ?>">
<head>


  <meta http-equiv="content-type" content="text/html; charset=<?php echo (isset($this->_rootref['S_CONTENT_ENCODING'])) ? $this->_rootref['S_CONTENT_ENCODING'] : ''; ?>" />

  <meta http-equiv="content-language" content="<?php echo (isset($this->_rootref['S_USER_LANG'])) ? $this->_rootref['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="2007 http://www.phpBBservice.nl" />

  <meta name="keywords" content="" />

  <meta name="description" content="" />

  <title><?php echo (isset($this->_rootref['SITENAME'])) ? $this->_rootref['SITENAME'] : ''; ?> &bull; <?php if ($this->_rootref['S_IN_MCP']) {  echo ((isset($this->_rootref['L_MCP'])) ? $this->_rootref['L_MCP'] : ((isset($user->lang['MCP'])) ? $user->lang['MCP'] : '{ MCP }')); ?> &bull;
<?php } else if ($this->_rootref['S_IN_UCP']) {  echo ((isset($this->_rootref['L_UCP'])) ? $this->_rootref['L_UCP'] : ((isset($user->lang['UCP'])) ? $user->lang['UCP'] : '{ UCP }')); ?> &bull; <!-- ENDIF
--><?php echo (isset($this->_rootref['PAGE_TITLE'])) ? $this->_rootref['PAGE_TITLE'] : ''; ?></title>
  <link rel="stylesheet" href="<?php echo (isset($this->_rootref['STYLESHEET_LINK'])) ? $this->_rootref['STYLESHEET_LINK'] : ''; ?>" type="text/css" />
</head>


<body class="<?php echo (isset($this->_rootref['S_CONTENT_DIRECTION'])) ? $this->_rootref['S_CONTENT_DIRECTION'] : ''; ?>">
<?php echo (isset($this->_rootref['META'])) ? $this->_rootref['META'] : ''; ?>





<script type="text/javascript">
// <![CDATA[
<?php if ($this->_rootref['S_USER_PM_POPUP']) {  ?>

        if (<?php echo (isset($this->_rootref['S_NEW_PM'])) ? $this->_rootref['S_NEW_PM'] : ''; ?>)
        {
                popup('<?php echo (isset($this->_rootref['UA_POPUP_PM'])) ? $this->_rootref['UA_POPUP_PM'] : ''; ?>', 400, 225, '_phpbbprivmsg');
        }
<?php } ?>


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('<?php echo ((isset($this->_rootref['LA_JUMP_PAGE'])) ? $this->_rootref['LA_JUMP_PAGE'] : ((isset($this->_rootref['L_JUMP_PAGE'])) ? addslashes($this->_rootref['L_JUMP_PAGE']) : ((isset($user->lang['JUMP_PAGE'])) ? addslashes($user->lang['JUMP_PAGE']) : '{ JUMP_PAGE }'))); ?>:', '<?php echo (isset($this->_rootref['ON_PAGE'])) ? $this->_rootref['ON_PAGE'] : ''; ?>');
        var perpage = '<?php echo (isset($this->_rootref['PER_PAGE'])) ? $this->_rootref['PER_PAGE'] : ''; ?>';
        var base_url = '<?php echo (isset($this->_rootref['A_BASE_URL'])) ? $this->_rootref['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;
                }
        }
}

<?php if (sizeof($this->_tpldata['_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();
        }
<?php } ?>


// ]]>
</script>
<?php $this->_tpl_include('gallery/plugins_header.html'); ?>



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

<table class="bodyline" cellpadding="0" cellspacing="0" width="100%">

  <tbody>
    <tr>

      <td>
      <table class="topbkg" cellpadding="0" cellspacing="0" width="100%">

        <tbody>
          <tr>

            <td height="122"><a href="<?php echo (isset($this->_rootref['INDEX'])) ? $this->_rootref['INDEX'] : ''; ?>"><img src="http://www.heimkinopage.de/phpbb/styles/fisubsilver2/theme/images/forumheader.png" /></a></td>

            <td align="center" width="100%"></td>

          </tr>

        </tbody>
      </table>

      <table border="0" cellpadding="2" cellspacing="0" width="100%">

        <tbody>
          <tr>

            <td class="topnav" align="center">
&nbsp;<a href="<?php echo (isset($this->_rootref['GALLERY_MOD'])) ? $this->_rootref['GALLERY_MOD'] : ''; ?>" title="<?php echo ((isset($this->_rootref['L_GALLERY_EXPLAIN'])) ? $this->_rootref['L_GALLERY_EXPLAIN'] : ((isset($user->lang['GALLERY_EXPLAIN'])) ? $user->lang['GALLERY_EXPLAIN'] : '{ GALLERY_EXPLAIN }')); ?>"> <?php echo ((isset($this->_rootref['L_GALLERY'])) ? $this->_rootref['L_GALLERY'] : ((isset($user->lang['GALLERY'])) ? $user->lang['GALLERY'] : '{ GALLERY }')); ?></a>&nbsp; &nbsp;<a href="<?php echo (isset($this->_rootref['FAQ'])) ? $this->_rootref['FAQ'] : ''; ?>"><?php echo ((isset($this->_rootref['L_FAQ'])) ? $this->_rootref['L_FAQ'] : ((isset($user->lang['FAQ'])) ? $user->lang['FAQ'] : '{ FAQ }')); ?></a>&nbsp;&bull;
<?php if ($this->_rootref['S_DISPLAY_SEARCH']) {  ?> &nbsp;<a href="<?php echo (isset($this->_rootref['EARCH'])) ? $this->_rootref['EARCH'] : ''; ?>"><?php echo ((isset($this->_rootref['L_SEARCH'])) ? $this->_rootref['L_SEARCH'] : ((isset($user->lang['SEARCH'])) ? $user->lang['SEARCH'] : '{ SEARCH }')); ?></a>&nbsp;&bull;<?php } if (! $this->_rootref['S_IS_BOT']) {  if ($this->_rootref['S_DISPLAY_MEMBERLIST']) {  ?>&nbsp;<a href="<?php echo (isset($this->_rootref['MEMBERLIST'])) ? $this->_rootref['MEMBERLIST'] : ''; ?>"><?php echo ((isset($this->_rootref['L_MEMBERLIST'])) ? $this->_rootref['L_MEMBERLIST'] : ((isset($user->lang['MEMBERLIST'])) ? $user->lang['MEMBERLIST'] : '{ MEMBERLIST }')); ?></a>&nbsp;&bull;<?php } if ($this->_rootref['S_USER_LOGGED_IN']) {  ?>&nbsp;<a href="<?php echo (isset($this->_rootref['PROFILE'])) ? $this->_rootref['PROFILE'] : ''; ?>"><?php echo ((isset($this->_rootref['L_PROFILE'])) ? $this->_rootref['L_PROFILE'] : ((isset($user->lang['PROFILE'])) ? $user->lang['PROFILE'] : '{ PROFILE }')); ?></a>&nbsp;&bull;<?php } } if (! $this->_rootref['S_IS_BOT']) {  if ($this->_rootref['S_USER_LOGGED_IN']) {  if ($this->_rootref['S_DISPLAY_PM']) {  ?> &nbsp;<a href="<?php echo (isset($this->_rootref['PRIVATEMSGS'])) ? $this->_rootref['PRIVATEMSGS'] : ''; ?>"><?php echo (isset($this->_rootref['PRIVATE_MESSAGE_INFO'])) ? $this->_rootref['PRIVATE_MESSAGE_INFO'] : ''; if ($this->_rootref['PRIVATE_MESSAGE_INFO_UNREAD']) {  ?>, <?php echo (isset($this->_rootref['PRIVATE_MESSAGE_INFO_UNREAD'])) ? $this->_rootref['PRIVATE_MESSAGE_INFO_UNREAD'] : ''; } ?></a>&nbsp;&bull;<?php } } else { ?> &nbsp;<a href="<?php echo (isset($this->_rootref['REGISTER'])) ? $this->_rootref['REGISTER'] : ''; ?>"><?php echo ((isset($this->_rootref['L_REGISTER'])) ? $this->_rootref['L_REGISTER'] : ((isset($user->lang['REGISTER'])) ? $user->lang['REGISTER'] : '{ REGISTER }')); ?></a>&nbsp;&bull;
                                        <?php } } ?>


&nbsp;<?php if (! $this->_rootref['S_IS_BOT']) {  ?><a href="<?php echo (isset($this->_rootref['LOGIN_LOGOUT'])) ? $this->_rootref['LOGIN_LOGOUT'] : ''; ?>"><?php echo ((isset($this->_rootref['L_LOGIN_LOGOUT'])) ? $this->_rootref['L_LOGIN_LOGOUT'] : ((isset($user->lang['LOGIN_LOGOUT'])) ? $user->lang['LOGIN_LOGOUT'] : '{ LOGIN_LOGOUT }')); ?></a>&nbsp;<?php } if ($this->_rootref['U_RESTORE_PERMISSIONS']) {  ?> &bull;&nbsp;<a href="<?php echo (isset($this->_rootref['RESTORE_PERMISSIONS'])) ? $this->_rootref['RESTORE_PERMISSIONS'] : ''; ?>"><?php echo ((isset($this->_rootref['L_RESTORE_PERMISSIONS'])) ? $this->_rootref['L_RESTORE_PERMISSIONS'] : ((isset($user->lang['RESTORE_PERMISSIONS'])) ? $user->lang['RESTORE_PERMISSIONS'] : '{ RESTORE_PERMISSIONS }')); ?></a>&nbsp;&bull;<?php } if ($this->_rootref['S_BOARD_DISABLED'] && $this->_rootref['S_USER_LOGGED_IN']) {  ?> &nbsp;<span style="color: red;"><?php echo ((isset($this->_rootref['L_BOARD_DISABLED'])) ? $this->_rootref['L_BOARD_DISABLED'] : ((isset($user->lang['BOARD_DISABLED'])) ? $user->lang['BOARD_DISABLED'] : '{ BOARD_DISABLED }')); ?></span><?php } ?>


            </td>
          </tr>

        </tbody>
      </table>

      <div id="datebar">

      <table cellspacing="0" width="100%">

                <tbody>
          <tr>

                        <td class="gensmall"><?php if ($this->_rootref['S_USER_LOGGED_IN']) {  echo (isset($this->_rootref['LAST_VISIT_DATE'])) ? $this->_rootref['LAST_VISIT_DATE'] : ''; } ?></td>

                        <td class="gensmall" align="<?php echo (isset($this->_rootref['S_CONTENT_FLOW_END'])) ? $this->_rootref['S_CONTENT_FLOW_END'] : ''; ?>"><?php echo (isset($this->_rootref['CURRENT_TIME'])) ? $this->_rootref['CURRENT_TIME'] : ''; ?><br />
            </td>

                </tr>


        </tbody>
      </table>

        </div>



      <div id="wrapcentre">

        <?php if ($this->_rootref['S_DISPLAY_SEARCH']) {  ?>


      <p class="searchbar">
                <span style=""><a href="<?php echo (isset($this->_rootref['SEARCH_UNANSWERED'])) ? $this->_rootref['SEARCH_UNANSWERED'] : ''; ?>"><?php echo ((isset($this->_rootref['L_SEARCH_UNANSWERED'])) ? $this->_rootref['L_SEARCH_UNANSWERED'] : ((isset($user->lang['SEARCH_UNANSWERED'])) ? $user->lang['SEARCH_UNANSWERED'] : '{ SEARCH_UNANSWERED }')); ?></a> | <a href="<?php echo (isset($this->_rootref['SEARCH_ACTIVE_TOPICS'])) ? $this->_rootref['SEARCH_ACTIVE_TOPICS'] : ''; ?>"><?php echo ((isset($this->_rootref['L_SEARCH_ACTIVE_TOPICS'])) ? $this->_rootref['L_SEARCH_ACTIVE_TOPICS'] : ((isset($user->lang['SEARCH_ACTIVE_TOPICS'])) ? $user->lang['SEARCH_ACTIVE_TOPICS'] : '{ SEARCH_ACTIVE_TOPICS }')); ?></a></span>
                <?php if ($this->_rootref['S_USER_LOGGED_IN']) {  ?>

                <span style=""><a href="<?php echo (isset($this->_rootref['SEARCH_NEW'])) ? $this->_rootref['SEARCH_NEW'] : ''; ?>"><?php echo ((isset($this->_rootref['L_SEARCH_NEW'])) ? $this->_rootref['L_SEARCH_NEW'] : ((isset($user->lang['SEARCH_NEW'])) ? $user->lang['SEARCH_NEW'] : '{ SEARCH_NEW }')); ?></a> | <a href="<?php echo (isset($this->_rootref['SEARCH_SELF'])) ? $this->_rootref['SEARCH_SELF'] : ''; ?>"><?php echo ((isset($this->_rootref['L_SEARCH_SELF'])) ? $this->_rootref['L_SEARCH_SELF'] : ((isset($user->lang['SEARCH_SELF'])) ? $user->lang['SEARCH_SELF'] : '{ SEARCH_SELF }')); ?></a></span>
                <?php } ?>

        </p>

        <?php } ?>


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


        <?php $this->_tpl_include('breadcrumbs.html'); ?>


        <br />

      </div>
      </td>
    </tr>
  </tbody>
</table>
</body>
</html>

wie kann ich das rausfinden?
Benutzeravatar
BNa
Valued Contributor
Beiträge: 3169
Registriert: 12.04.2010 23:51
Kontaktdaten:

Re: Admin -Panel nicht mehr aufrufbar

Beitrag von BNa »

Mein Tip. Sichere via FTP alle Forendateien und via MySQL oder MySQLDumper die Foren Datenbank. Lade aus einem jungfräulichen DE - 3.0.10 Paket alle phpbb Dateien (außer config.php) nochmal hoch. Leere alle Caches. Fertig. Ich hab so das Gefühl, das wird hier sonst nichts mehr. In Zukunft sichere vor jedem wichtigen Schritt Deine Dateien. Und wenn Du viel bastelst, aktiviere das Rekompilieren der Styles unter Lasteinstellungen im ACP (Seite ACP > 'Allgemein', ziemlich weit unten). Dann kannst Du Dir das ständige Cache leeren sparen.
Zuletzt geändert von BNa am 30.03.2012 18:33, insgesamt 3-mal geändert.
modernist
Ehemaliges Teammitglied
Beiträge: 2202
Registriert: 12.01.2009 10:44

Re: Admin -Panel nicht mehr aufrufbar

Beitrag von modernist »

So recht kann ich dir da leider auch nicht mehr weiterhelfen. Mit Subsilver kenne ich mich auch gar nicht aus.
Aber was mir aufgefallen ist. Deine overall_header.html endet mit

Code: Alles auswählen

	</p>
	<!-- ENDIF -->

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

	<!-- INCLUDE breadcrumbs.html -->

	<br />
Die gecachte php-Datei dazu mit

Code: Alles auswählen

      </div>
      </td>
    </tr>
  </tbody>
</table>
</body>
</html>
Das ist irgendwie Quatsch.
Als Quickfixversuch böte sich an, den Teil in der tpl_fisubsilver2_overall_header.html.php zu löschen und die dann per FTP wieder in den Cache-Ordner zu laden.
Wenn es funktioniert, solltest du dann aber erstmal Cache leeren und Templateaktualisierungen vermeiden, bis der Grund herausgefunden wurde.
Antworten

Zurück zu „[3.0.x] Administration, Benutzung und Betrieb“