Seite 1 von 1

einfach server probleme

Verfasst: Mo 05.Dez, 2005 23:45
von pepi
oxpus kann sich sicher noch errinnern dass ich bis heute den junior admin nicht nutzen
kann dann installierte ich den full allbum pack 1.2.0 RC1 und hatte wieder das selbe problem
daruaf hien schrieb ich meinen provider an er nahm sich meinem problem an ^1 ^1
er sagte dann zu mir " Wir haben den Debug-Output für Ihre Site eingestellt, damit Sie die Fehlermeldungen ersehen können:"
und ich bekam diese fehlermeldungen
Warning: main(./bbcode.php): failed to open stream: No such file or directory in /home/cool/public_html/board/portal.php on line 64

Warning: main(): Failed opening './bbcode.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/cool/public_html/board/portal.php on line 64

Warning: main(./news.php): failed to open stream: No such file or directory in /home/cool/public_html/board/portal.php on line 66

Warning: main(): Failed opening './news.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/cool/public_html/board/portal.php on line 66

Warning: fopen(IPlog.txt): failed to open stream: Permission denied in /home/cool/public_html/board/includes/page_header.php on line 79

Warning: fwrite(): supplied argument is not a valid stream resource in /home/cool/public_html/board/includes/page_header.php on line 83

Warning: fclose(): supplied argument is not a valid stream resource in /home/cool/public_html/board/includes/page_header.php on line 86

Warning: Cannot modify header information - headers already sent by (output started at /home/cool/public_html/board/portal.php:64) in /home/cool/public_html/board/includes/page_header.php on line 1082

Warning: Cannot modify header information - headers already sent by (output started at /home/cool/public_html/board/portal.php:64) in /home/cool/public_html/board/includes/page_header.php on line 1084

Warning: Cannot modify header information - headers already sent by (output started at /home/cool/public_html/board/portal.php:64) in /home/cool/public_html/board/includes/page_header.php on line 1085
aber ich bekam fast die gleichen bei einem frisch installierten phpbb 2.0.18
aber das eigenliche problem die weisse seite die ich hatte konnten sie mir nicht erklären
denn ich hatte das selbe neue phpbb inkl album auf einen anderen server liegen und da
funktioniert es tadelos ..........

das kann doch nicht sein oder ???????????????
denn ich glaube das es am server liegt und nicht an phpbb oder ???

kann mir einer das näher erklären ?????

Verfasst: Di 06.Dez, 2005 08:42
von oxpus
Poste doch mal die Zeilen der portal.php bis zum Include der bbcode.php.

Verfasst: Di 06.Dez, 2005 11:38
von pepi
portal.php

Code: Alles auswählen

<?php
/***************************************************************************
 *                                portal.php
 *                            -------------------
 *   begin                : Tuesday, August 13, 2002
 *   copyright            : (C) 2002 Smartor
 *   email                : smartor_xp@hotmail.com
 *
 *   $Id: portal.php,v 2.1.7 2003/01/30, 17:05:58 Smartor 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.
 *
 ***************************************************************************/

/***************************************************************************
 *
 *   Some code in this file I borrowed from the original index.php, Welcome
 *   Avatar MOD and others...
 *
 ***************************************************************************/

//
// Set configuration for ezPortal
//

// Welcome Text: note that we are in PHP file, so use \' instead of ' and use \\ instead of \ (HTML enabled)
// $CFG['welcome_text'] = 'Welcome to <b>My Community</b><br /><br />Thanks for using ezPortal,<br /><br />Have a good time! ^_^';

// Number of news on portal
// $CFG['number_of_news'] = '5';

// Length of news
// $CFG['news_length'] = '200';

// News Forum ID: separate by comma for multi-forums, eg. '1,2,5'
// $CFG['news_forum'] = '1';

// Poll Forum ID: separate by comma for multi-forums, eg. '3,8,14'
// $CFG['poll_forum'] = '1';

// Number of Recent Topics (not Forum ID)
// $CFG['number_recent_topics'] = '3';

// Excluding forums for Recent Topics, eg. '2,4,10' (note: my Recent Topics script has its own permission checking, so you can leave this variable blank)
// $CFG['exceptional_forums'] = '';

//
// END configuration
// --------------------------------------------------------

define('IN_PHPBB', true);
define('ON_PORTAL', true);
$phpbb_root_path = './';
include($phpbb_root_path . 'extension.inc');
include($phpbb_root_path . 'common.'.$phpEx);
include($phpbb_root_path . 'fetchposts.'.$phpEx);
include_once ($phpbb_root_path . 'bbcode.' . $phpEx ); 
hoffe du meinstest es so

Verfasst: Di 06.Dez, 2005 11:45
von oxpus
Ja, wo liegt denn auch die bbcode?
Im Forum-Root oder im Verzeichnis includes/ ??? ;)

So wäre es korrekt:

Code: Alles auswählen

include($phpbb_root_path . 'includes/bbcode.'.$phpEx);

Verfasst: Di 06.Dez, 2005 11:51
von pepi
ups hast recht danke :rolleyes: :rolleyes: ^1

musste die aber so eintragen sonst bekomme ich ne weisse seite

Code: Alles auswählen

include_once ($phpbb_root_path . 'includes/bbcode.' . $phpEx );

Verfasst: Di 06.Dez, 2005 12:13
von oxpus
Okay, dann mit once. Aber eben im richtigen Verzeichnis.

Verfasst: Di 06.Dez, 2005 12:16
von pepi
noch fehler ...........

Code: Alles auswählen

[Tue Dec  6 12:00:02 2005] [error] PHP Warning:  Cannot modify header information - headers already sent by (output started at /home/cool/public_html/board/includes/news.php:671) in /home/cool/public_html/board/includes/sessions.php on line 375
[Tue Dec  6 12:00:02 2005] [error] PHP Warning:  Cannot modify header information - headers already sent by (output started at /home/cool/public_html/board/includes/news.php:671) in /home/cool/public_html/board/includes/sessions.php on line 374
[Tue Dec  6 11:56:07 2005] [error] PHP Warning:  Cannot modify header information - headers already sent by (output started at /home/cool/public_html/board/includes/news.php:671) in /home/cool/public_html/board/includes/page_header.php on line 1085
[Tue Dec  6 11:56:07 2005] [error] PHP Warning:  Cannot modify header information - headers already sent by (output started at /home/cool/public_html/board/includes/news.php:671) in /home/cool/public_html/board/includes/page_header.php on line 1084
[Tue Dec  6 11:56:07 2005] [error] PHP Warning:  Cannot modify header information - headers already sent by (output started at /home/cool/public_html/board/includes/news.php:671) in /home/cool/public_html/board/includes/page_header.php on line 1082
in der page_header.php habe ich diese zeilen entfernt ....

Code: Alles auswählen

header ('Cache-Control: private, pre-check=0, post-check=0, max-age=0');

Code: Alles auswählen

header ('Expires: 0');
header ('Pragma: no-cache');
und in der sessions.php diese waren 2 mal drin

Code: Alles auswählen

setcookie($cookiename . '_data', serialize($sessiondata), $current_time + 31536000, $cookiepath, $cookiedomain, $cookiesecure);
                                        setcookie($cookiename . '_sid', $session_id, 0, $cookiepath, $cookiedomain, $cookiesecure);
kann man das einfach so machen ??? oder ist das falsch ???
oder kann man das anders machen ???

//edit .........

ups das mit der session.php ist falsch da kann sich dann keiner mehr einloggen
was kann man da machen ????

Verfasst: Di 06.Dez, 2005 14:07
von oxpus
Kommen diese Fehlermeldungen bei der Ansicht auf der Debug-Seite oder immer?

Verfasst: Di 06.Dez, 2005 14:20
von pepi
ne ich sehe diese meldung nur in meiner error log
denn der provider hat die debug abgeschalten ......

war nur gestern da hat er sie aktiviert und ich hatte diese
fehlermeldung beim board ........

aber ich glaube es hat sich erledigt hatte einen fehler
in der includes/new.php sehe zurzeit keine fehler mehr
in der error log

werde das mal weiter beobachten mal sehen ....

Verfasst: Di 06.Dez, 2005 15:11
von oxpus
Das kann auch nur vorübergehend sein oder wenn man das PHP-Login verwendet.
Da kommen dann auch meist noch mehr unergründliche Fehler, die durch phpBB ja eleminiert werden, ohne, daß es zu weiteren "Funktionsstörungen" kommt.

Und solange die News eben funktionieren, kannst Du das beruhigt ignorieren.

Verfasst: Di 06.Dez, 2005 15:18
von pepi
alles klar
vielen dank