Seite 1 von 2

[Seeehr Wichtig]Hab Provider gewechselt und nun Fehler ....

Verfasst: 22.12.2004 14:28
von JJacu
Hallo, ich habe den provider mit hilfe diesem Threads den Provider gewechselt.


Jetzt kommt dieser Fehler

Code: Alles auswählen


Parse error: parse error in /home/htdocs/web48/html/Forum/includes/auth.php on line 256

Parse error: parse error in /home/htdocs/web48/html/Forum/attach_mod/includes/functions_filetypes.php on line 332

Parse error: parse error in /home/htdocs/web48/html/Forum/attach_mod/displaying.php on line 892

Warning: Cannot modify header information - headers already sent by (output started at /home/htdocs/web48/html/Forum/includes/auth.php:256) in /home/htdocs/web48/html/Forum/includes/sessions.php on line 188

Warning: Cannot modify header information - headers already sent by (output started at /home/htdocs/web48/html/Forum/includes/auth.php:256) in /home/htdocs/web48/html/Forum/includes/sessions.php on line 189

Fatal error: Call to undefined function: auth() in /home/htdocs/web48/html/Forum/index.php on line 255
Was hab ich falsch gemacht, wie krieg ich das wieder hin?!

Edit:/
Die Fehlermeldung hat sich verändert ...

Verfasst: 22.12.2004 15:33
von JJacu
Ist wichtig, ich brauch das Board ganz dringen

Verfasst: 22.12.2004 17:34
von Nico Haase
bitte neue fehlermeldung posten + die auth.php als textdatei zur verfügung stellen, bspw. über http://nopaste.php-q.net

Verfasst: 22.12.2004 17:40
von JJacu
In der Zeile 188 uund 189 in includes/session.php steht

Code: Alles auswählen

setcookie($cookiename . '_data', serialize($sessiondata), $current_time + 31536000, $cookiepath, $cookiedomain, $cookiesecure);
	setcookie($cookiename . '_sid', $session_id, 0, $cookiepath, $cookiedomain, $cookiesecure);
und in includes/auth.php 255+256+257 steht

Code: Alles auswählen

case AUTH_MOD:
       						$auth_user[$f_forum_id][$key] = ( $userdata['session_logged_in'] ) ? auth_check_user(AUTH_MOD, 'auth_mod', $u_access[$f_forum_id], $is_admin) : 0;
						$auth_user[$f_forum_id][$key . '_type'] = $lang['Auth_Moderators'];
						break;
in attach_mod/displaying.php steht in Zeile 892 ff.

Code: Alles auswählen

'DOWNLOAD_NAME' => $display_name,
					'FILESIZE' => $filesize,
					'SIZE_VAR' => $size_lang,
					'COMMENT' => $comment,
					'L_DOWNLOADED_VIEWED' => $lang['Viewed'],
					'L_DOWNLOAD_COUNT' => sprintf($lang['Download_number'], $attachments['_' . $post_id][$i]['download_count']),
					'WIDTH' => $width,
					'HEIGHT' => $height)
				);
Die Datei includes/functions_filetypes.php ist bei mir und online nicht vorhanden.



http://www.phpbb.de/doku/kb/artikel.php ... informatio

Verfasst: 22.12.2004 17:42
von JJacu
http://nopaste.php-q.net/103728


Davor stand

Code: Alles auswählen



Parse error: parse error in /home/htdocs/web48/html/Forum/includes/auth.php on line 256

Parse error: parse error in /home/htdocs/web48/html/Forum/attach_mod/includes/functions_filetypes.php on line 332

Parse error: parse error in /home/htdocs/web48/html/Forum/attach_mod/displaying.php on line 892

Warning: Cannot modify header information - headers already sent by (output started at /home/htdocs/web48/html/Forum/includes/auth.php:256) in /home/htdocs/web48/html/Forum/includes/sessions.php on line 188

Warning: Cannot modify header information - headers already sent by (output started at /home/htdocs/web48/html/Forum/includes/auth.php:256) in /home/htdocs/web48/html/Forum/includes/sessions.php on line 189

Warning: Cannot modify header information - headers already sent by (output started at /home/htdocs/web48/html/Forum/includes/auth.php:256) in /home/htdocs/web48/html/Forum/includes/page_header.php on line 499

Warning: Cannot modify header information - headers already sent by (output started at /home/htdocs/web48/html/Forum/includes/auth.php:256) in /home/htdocs/web48/html/Forum/includes/page_header.php on line 505

Warning: Cannot modify header information - headers already sent by (output started at /home/htdocs/web48/html/Forum/includes/auth.php:256) in /home/htdocs/web48/html/Forum/includes/page_header.php on line 506


Verfasst: 22.12.2004 17:51
von Nico Haase
hmm, komisch, da kann ich keine fehler entdecken. lad die datei nochmal hoch auf deinen webserver, vielleicht isses ein übertragungsfehler...

Verfasst: 22.12.2004 18:03
von JJacu
Ich hab alle dateien neu hochgeladen und habe gesehen, dass die Dateien auf dem Server jeweils bissi kleiner war.! Trotzdem kommt jetzt immer noch bzw. wieder

Code: Alles auswählen

Parse error: parse error in /home/htdocs/web48/html/Forum/attach_mod/includes/functions_filetypes.php on line 332

Warning: Cannot modify header information - headers already sent by (output started at /home/htdocs/web48/html/Forum/attach_mod/includes/functions_filetypes.php:332) in /home/htdocs/web48/html/Forum/includes/sessions.php on line 188

Warning: Cannot modify header information - headers already sent by (output started at /home/htdocs/web48/html/Forum/attach_mod/includes/functions_filetypes.php:332) in /home/htdocs/web48/html/Forum/includes/sessions.php on line 189

Warning: Cannot modify header information - headers already sent by (output started at /home/htdocs/web48/html/Forum/attach_mod/includes/functions_filetypes.php:332) in /home/htdocs/web48/html/Forum/includes/page_header.php on line 499

Warning: Cannot modify header information - headers already sent by (output started at /home/htdocs/web48/html/Forum/attach_mod/includes/functions_filetypes.php:332) in /home/htdocs/web48/html/Forum/includes/page_header.php on line 505

Warning: Cannot modify header information - headers already sent by (output started at /home/htdocs/web48/html/Forum/attach_mod/includes/functions_filetypes.php:332) in /home/htdocs/web48/html/Forum/includes/page_header.php on line 506
Ich hab von einem Freund von wegen page_header vollgenden Link gekriegt http://www.phpbb.de/doku/kb/artikel.php ... informatio

http://nopaste.php-q.net/103733 page_header.txt
________
attach_mod/includes/functions_filetypes.php

Zeile 331 Zeile 332

Code: Alles auswählen


   		$result = $result + ((((ord($buffer[(int)($loop / 8)])) >> (7 - ($loop % 8))) & 0x01) << ($count - ($loop - $pos) - 1));
Zeile 333

Verfasst: 22.12.2004 19:31
von Christian_W
Dass die Größe der Dateien auf dem Server etwas anders angezeigt wird ist normal.
Durch einen Umzug sollte es eigentlich keine Parse-Errors geben. Wenn Du Dir sicher bist, dass beim hochladen (beim vorherigen runterladen auch) nichts schiefgelaufen ist solltest Du Dich mal mit Deinem Hoster in Verbindung setzen. Evtl. liegt es ja auch am Server.

Gruß Christian

Verfasst: 22.12.2004 20:16
von JJacu
Christian_W hat geschrieben:Dass die Größe der Dateien auf dem Server etwas anders angezeigt wird ist normal.
Durch einen Umzug sollte es eigentlich keine Parse-Errors geben. Wenn Du Dir sicher bist, dass beim hochladen (beim vorherigen runterladen auch) nichts schiefgelaufen ist solltest Du Dich mal mit Deinem Hoster in Verbindung setzen. Evtl. liegt es ja auch am Server.

Gruß Christian
Wie kann ich cheken, dass da nix schief gelaufen ist, also der Transver hat keinerlei Abbrücheoder so gehabt, beim Hochladen genausowenig

Verfasst: 22.12.2004 20:41
von Christian_W
Du nimmst eine Datei (oder mehrere) aus dem alten Forum die nicht durch Mods verändert wurde und vergeichst sie mit der identischen aus dem phpBB-Installationsarchiv. Wenn die nicht identisch sind ist beim runterladen etwas schiefgegangen.
Wenn alles in Ordnung ist, lädst Du sie auf den neuen Server und dann lädst Du sie wieder runter. Dann vergleichst Du die Hochgeladene mit der Heruntergeladenen auch die müssen identisch sein.

Du kannst auch mal ein paar einfache Scripte hochladen und testen ob die funktionieren. Z.B. das: KB:phpinfo
Hier hab ich noch etwas rumliegen was alle Dateien und Verzeichnisse auflistet: http://www.isle-of-wish.de/downloads/ph ... /liste.txt

Gruß Christian