Seite 3 von 4

Verfasst: 22.03.2005 19:47
von plACEbo
Okay. Nochmal ne kleine Checkliste:
  • CHMOD 644 config.php und aller anderen
  • Verzeichnisse haben CHMOD 755
  • Alle *.php im ACSII-Mode übertragen
in der common.php kommt nämlich folgender code vor

Code: Alles auswählen

if( !defined("PHPBB_INSTALLED") )
{
	header("Location: install/install.$phpEx");
	exit;
}
Dies ist der Sprung zur install/install.php.
Da 'PHPBB_INSTALLED' scheinbar nicht gesetzt worden ist, kommt es hier zum Sprung. Also stimmt wahrscheinlich etwas mit der config.php nicht.

Verfasst: 22.03.2005 19:56
von Face
Du bist gut :lol: !
Fehler wurde behoben.
Doch leider kommt jetzt nach dem klicken von "Installation abschließen folgender Fehler:

Code: Alles auswählen

Parse error: parse error, unexpected T_CONSTANT_ENCAPSED_STRING in /home/site_de/www/phpbb2/includes/auth.php on line 38
Und so sieht die Zeile 38 in der Datei auth.php aus:

Code: Alles auswählen

function auth($type, $forum_id, $userdata, $f_access = '')

Verfasst: 22.03.2005 20:06
von plACEbo
verlinke mal bitte die komplette auth.php als txt-File.

Verfasst: 22.03.2005 20:11
von Face
Also die datei in *.txt umbenennen und die Dateien darauf verlinken statt *.php in *.txt?

Verfasst: 22.03.2005 20:20
von plACEbo
ich meinte etwas in dieser Art, aber da du deine Site nicht verraten möchtest, wird sie mir/uns verborgen bleiben.
Poste stattdessen noch einmal die Zeile aus der auth.php. Bitte auch die Nachbarzeilen miteinbeziehen.
Frage: Woran hat es gelegen (dein 1. Problem)

Verfasst: 22.03.2005 20:59
von Face
In der Common.php war das

Code: Alles auswählen

PHPBB_INSTALLED
Klein also so geschrieben:

Code: Alles auswählen

phpbb_INSTALLED
Hab verbessert!

Hier nochmal die auth.php(Zeile: 37 bis 47):

Code: Alles auswählen

*/
function auth($type, $forum_id, $userdata, $f_access = '')
{
	global $db, $lang;

	switch( $type )
	{
		case AUTH_ALL:
			$a_sql = 'a.auth_view, a.auth_read, a.auth_post, a.auth_reply, a.auth_edit, a.auth_delete, a.auth_sticky, a.auth_announce, a.auth_vote, a.auth_pollcreate';
			$auth_fields = array('auth_view', 'auth_read', 'auth_post', 'auth_reply', 'auth_edit', 'auth_delete', 'auth_sticky', 'auth_announce', 'auth_vote', 'auth_pollcreate');
			break;

Verfasst: 23.03.2005 08:27
von plACEbo
Die Zeilen sehen bei mir genauso aus. Lad die originale Datei nochmal neu hoch (ASCII). Die Fehlermeldung deutet wahrscheinlich auf ein fehlendes ';' irgendwo hin.
Und/oder poste den Teil der auth.php von Zeile 1 bis 38.

Verfasst: 23.03.2005 23:18
von Face
auth.php (von Zeile 1 bis 38 )

Code: Alles auswählen

$type's accepted (pre-pend with AUTH_):
	VIEW, READ, POST, REPLY, EDIT, DELETE, STICKY, ANNOUNCE, VOTE, POLLCREATE

	Possible options ($type/forum_id combinations):

	* If you include a type and forum_id then a specific lookup will be done and
	the single result returned

	* If you set type to AUTH_ALL and specify a forum_id an array of all auth types
	will be returned

	* If you provide a forum_id a specific lookup on that forum will be done

	* If you set forum_id to AUTH_LIST_ALL and specify a type an array listing the
	results for all forums will be returned

	* If you set forum_id to AUTH_LIST_ALL and type to AUTH_ALL a multidimensional
	array containing the auth permissions for all types and all forums for that
	user is returned

	All results are returned as associative arrays, even when a single auth type is
	specified.

	If available you can send an array (either one or two dimensional) containing the
	forum auth levels, this will prevent the auth function having to do its own
	lookup
*/
function auth($type, $forum_id, $userdata, $f_access = '')

Verfasst: 24.03.2005 08:25
von plACEbo
davor fehlt folgender Teil:

Code: Alles auswählen

<?php
/***************************************************************************
 *                                 auth.php
 *                            -------------------                         
 *   begin                : Saturday, Feb 13, 2001 
 *   copyright            : (C) 2001 The phpBB Group        
 *   email                : support@phpbb.com                           
 *                                                          
 *   $Id: auth.php,v 1.37.2.3 2003/02/25 16:02:59 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.
 *
 ***************************************************************************/

/*
Wenn du nicht weißt, was du tust, dann lass die Finger davon. Das Copyright aus den Files zu entfernen ist jedenfalls nicht im Sinne der Erfinder!! Schneller wird dein Forum dadurch auch NICHT! Außerdem wirst du dann hier keinen weiteren Support bekommen!
Lad am besten das Originalfile neu hoch oder füge diesen Teil wieder am Anfang der Datei ein.

Verfasst: 24.03.2005 11:49
von Face
Bist du verrückt ich hab das nicht entfernt!Aber von Zeile 1meinte ich ahb dem Code!Anschuldigungen habt ihr hier! :lol: