Seite 1 von 2

Komme nicht mehr in mein Admin-Bereich

Verfasst: 02.01.2006 00:05
von Zwiebelchen
Hallo,

weiß einfach nicht mehr weiter und auch die SF hat mir nicht geholfen :roll:

Ich bin mit meinem Forum auf einen neuen Server gezogen. Danach hatte ich das Cookie-problem, welches ich mit der Forum-Hilfe aber beheben konnte. Allerdings komm ich nach wie vor nicht in den Admin-Bereich. Es wird immer "Die Seite wurde nicht gefunden" angezeigt. Und der Link verweist auf eine login.php im admin-ordner, die es aber nie gab :roll: . Also ich bin ziemlich ratlos. Alle Dateien sind auf dem Server, daran kanns also nicht liegen. Die sid stimmt auch. Hier mal der Link http://www.hueter-der-zuflucht.de/board/

Wäre klasse wenn mir einer helfen kann.

danke und liebe Grüße

Yvonne

Verfasst: 02.01.2006 00:08
von Julian87
Hi,

der Link muss ja auch nach /phpBB2/login.php gehen.
Oder in deinem Falle /board/login.php

Julian

Verfasst: 02.01.2006 00:09
von hagily
Bist du sicher, dass die Cookie einstellungen wieder passen :wink:

Postest du sie bitte einmal?

Verfasst: 02.01.2006 00:10
von Julian87
Hi,

ja das könnte man ja mal danach machen, wenns dann immernoch nicht klappt.
Wenn der Link wirklich nach /board/admin/login.php geht dann ist das definitiv falsch.

Julian

Verfasst: 02.01.2006 00:23
von Zwiebelchen
Aber wie kann ich denn dann den Fehler beheben? :( Und wie poste ich das am besten? Aus der Datenbank?

Verfasst: 02.01.2006 03:41
von Jan500
hi

ich habe heute etwas gebastelt pack das mal in deinen forenroot ;-)

entweder du kannst den fehler dann schon so allein beheben, indem du auf "Werkeinstellungen" klickst oder du postest mal die einstellungen (im kasten oben)...

das script wird aber nochmal etwas überarbeitet dann kommt es evtl auch in die kb (zu pyra zwincker ;-) )

naja hier ist das script: *klick*

wichtig ist nur, dass du die Datei danach wieder vom webspace löscht ;-)

gruß Jan

Verfasst: 02.01.2006 10:24
von Zwiebelchen
Hallo Jan,

das Script ist wirklich spitze, aber hat bei mir leider nix geholfen :cry: Hier habe ich mal den Kasten gepostet:

Cookie-name: phpBB2mysql
Cookie-path: /
Cookie-domain:
Cookie-secure: 0

Server-name: www.hueter-der-zuflucht.de
Server-port: 80
Script-path: /board/

Ist doch verrückt. Scheint alles zu stimmen, aber es geht einfach nicht mehr :cry:

liebe Grüße

Yvonne

Verfasst: 02.01.2006 12:09
von Jan500
hi

ja die angaben sind richtig ;-)

also dann poste doch mal deine page_tail.php und die overall_footer.tpl wenn du sagst, dass der link evtl falsch ist...

was ist, wenn du dich normal anmeldest und dann im selben browser den link zum ACP in der adressleiste angibst?


gruß Jan

Verfasst: 03.01.2006 10:47
von Zwiebelchen
Hallo Jan,

hmm...wie ist denn der direkte und richtige Link? Der mit login.php? Da komm ich (wenn ich ausgeloggt bin) zum normalen Login von unserer Seite. Wenn ich eingeloggt bin tut sich nicht wirklich viel :oops:

Hier mal der Code der page-tail.php


Code: Alles auswählen

<?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.3 2004/12/22 02:04:00 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');
}

//
// CBACK.de CrackerTracker
// Footer Parser and Counter
//
include($phpbb_root_path . 'ctracker/ct_footer.'.$phpEx);

//
// Show the overall footer.
//
$admin_link = ( $userdata['user_level'] == ADMIN ) ? '<a href="admin/index.' . $phpEx . '?sid=' . $userdata['session_id'] . '">' . $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(
	'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;

?>
Und hier die Overall-footer.tpl

Code: Alles auswählen

<div align="center"><span class="copyright"><br />{ADMIN_LINK}<br />
<!--
	We request you retain the full copyright notice below including the link to www.phpbb.com.
	This not only gives respect to the large amount of time given freely by the developers
	but also helps build interest, traffic and use of phpBB 2.0. If you cannot (for good
	reason) retain the full copyright we request you at least leave in place the 
	Powered by phpBB {PHPBB_VERSION} line, with phpBB linked to www.phpbb.com. If you refuse
	to include even this then support on our forums may be affected. 

	The phpBB Group : 2002
// -->
<!--
      Thank you for choosing to download and use my SoftBlue skin. The only thing that I ask of you
      is to please leave the below credits to me intact and unchanged. Thank you once again
      and enjoy the skin.
// -->
Skin Created by: Sigma12<br />Powered by <a href="http://www.phpbb.com/" target="_phpbb" class="copyright">phpBB</a> {PHPBB_VERSION} &copy; 2001, 2002 phpBB Group<br />{TRANSLATION_INFO}</span></div>

<!-- BEGIN cback_cracker_tracker -->
<div align="center"><span class="copyright"><br>
{cback_cracker_tracker.CTRACKER_FOOTER}
<br>
</span></div>
<!-- END cback_cracker_tracker -->
		</td>
	</tr>
</table>
</TD>
		  <TD
			BACKGROUND="templates/SoftBlue/images/border_5.gif"><IMG
			 SRC="templates/SoftBlue/images/border_5.gif"
			 WIDTH="20" HEIGHT="2"></TD>
		</TR>
	 </TABLE>
	 <TABLE BORDER="0" CELLSPACING="0" CELLPADDING="0" ALIGN="CENTER">
		<TR>
		  <TD><IMG
			 SRC="templates/SoftBlue/images/border_6.gif"
			 WIDTH="20" HEIGHT="20"></TD>
		  <TD
			BACKGROUND="templates/SoftBlue/images/border_7.gif"
			WIDTH="100%"></TD>
		  <TD><IMG
			 SRC="templates/SoftBlue/images/border_8.gif"
			 WIDTH="20" HEIGHT="20"></TD>
		</TR>
	 </TABLE>
</td>
</tr>
</table>

</body>
</html>
Danke für deine Hilfe, hoffe du findest was :cry:

lg

Yvonne

Verfasst: 03.01.2006 10:49
von Zwiebelchen
Hallo Jan,

hmm...wie ist denn der direkte und richtige Link? Der mit login.php? Da komm ich (wenn ich ausgeloggt bin) zum normalen Login von unserer Seite. Wenn ich eingeloggt bin tut sich nicht wirklich viel :oops:

Hier mal der Code der page-tail.php


Code: Alles auswählen

<?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.3 2004/12/22 02:04:00 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');
}

//
// CBACK.de CrackerTracker
// Footer Parser and Counter
//
include($phpbb_root_path . 'ctracker/ct_footer.'.$phpEx);

//
// Show the overall footer.
//
$admin_link = ( $userdata['user_level'] == ADMIN ) ? '<a href="admin/index.' . $phpEx . '?sid=' . $userdata['session_id'] . '">' . $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(
	'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;

?>
Und hier die Overall-footer.tpl

Code: Alles auswählen

<div align="center"><span class="copyright"><br />{ADMIN_LINK}<br />
<!--
	We request you retain the full copyright notice below including the link to www.phpbb.com.
	This not only gives respect to the large amount of time given freely by the developers
	but also helps build interest, traffic and use of phpBB 2.0. If you cannot (for good
	reason) retain the full copyright we request you at least leave in place the 
	Powered by phpBB {PHPBB_VERSION} line, with phpBB linked to www.phpbb.com. If you refuse
	to include even this then support on our forums may be affected. 

	The phpBB Group : 2002
// -->
<!--
      Thank you for choosing to download and use my SoftBlue skin. The only thing that I ask of you
      is to please leave the below credits to me intact and unchanged. Thank you once again
      and enjoy the skin.
// -->
Skin Created by: Sigma12<br />Powered by <a href="http://www.phpbb.com/" target="_phpbb" class="copyright">phpBB</a> {PHPBB_VERSION} &copy; 2001, 2002 phpBB Group<br />{TRANSLATION_INFO}</span></div>

<!-- BEGIN cback_cracker_tracker -->
<div align="center"><span class="copyright"><br>
{cback_cracker_tracker.CTRACKER_FOOTER}
<br>
</span></div>
<!-- END cback_cracker_tracker -->
		</td>
	</tr>
</table>
</TD>
		  <TD
			BACKGROUND="templates/SoftBlue/images/border_5.gif"><IMG
			 SRC="templates/SoftBlue/images/border_5.gif"
			 WIDTH="20" HEIGHT="2"></TD>
		</TR>
	 </TABLE>
	 <TABLE BORDER="0" CELLSPACING="0" CELLPADDING="0" ALIGN="CENTER">
		<TR>
		  <TD><IMG
			 SRC="templates/SoftBlue/images/border_6.gif"
			 WIDTH="20" HEIGHT="20"></TD>
		  <TD
			BACKGROUND="templates/SoftBlue/images/border_7.gif"
			WIDTH="100%"></TD>
		  <TD><IMG
			 SRC="templates/SoftBlue/images/border_8.gif"
			 WIDTH="20" HEIGHT="20"></TD>
		</TR>
	 </TABLE>
</td>
</tr>
</table>

</body>
</html>
Danke für deine Hilfe, hoffe du findest was :cry:

lg

Yvonne