Seite 1 von 1

Merkwürdige Fehler Meldungen

Verfasst: 21.05.2007 19:11
von duran1
Hi,

hab eigentlich nur mal .htaccess mal im admin Ordner gemacht.. und als ich wieder kam .. sah ich dies wenn ich portal.php aufrufe:

Code: Alles auswählen

Warning: include(./includes/constants.php) [function.include]: failed to open stream: Permission denied in /home/www/samson/vi/vietkho/common.php on line 185

Warning: include() [function.include]: Failed opening './includes/constants.php' for inclusion (include_path='.:/usr/share/php5:/usr/share/php') in /home/www/samson/vi/vietkho/common.php on line 185

Warning: include(./includes/template.php) [function.include]: failed to open stream: Permission denied in /home/www/samson/vi/vietkho/common.php on line 186

Warning: include() [function.include]: Failed opening './includes/template.php' for inclusion (include_path='.:/usr/share/php5:/usr/share/php') in /home/www/samson/vi/vietkho/common.php on line 186

Warning: include(./includes/sessions.php) [function.include]: failed to open stream: Permission denied in /home/www/samson/vi/vietkho/common.php on line 187

Warning: include() [function.include]: Failed opening './includes/sessions.php' for inclusion (include_path='.:/usr/share/php5:/usr/share/php') in /home/www/samson/vi/vietkho/common.php on line 187

Warning: include(./includes/auth.php) [function.include]: failed to open stream: Permission denied in /home/www/samson/vi/vietkho/common.php on line 188

Warning: include() [function.include]: Failed opening './includes/auth.php' for inclusion (include_path='.:/usr/share/php5:/usr/share/php') in /home/www/samson/vi/vietkho/common.php on line 188

Warning: include(./includes/functions.php) [function.include]: failed to open stream: Permission denied in /home/www/samson/vi/vietkho/common.php on line 189

Warning: include() [function.include]: Failed opening './includes/functions.php' for inclusion (include_path='.:/usr/share/php5:/usr/share/php') in /home/www/samson/vi/vietkho/common.php on line 189

Warning: include(./includes/db.php) [function.include]: failed to open stream: Permission denied in /home/www/samson/vi/vietkho/common.php on line 190

Warning: include() [function.include]: Failed opening './includes/db.php' for inclusion (include_path='.:/usr/share/php5:/usr/share/php') in /home/www/samson/vi/vietkho/common.php on line 190

Fatal error: Call to undefined function encode_ip() in /home/www/samson/vi/vietkho/common.php on line 209
Habe weder was im Portal.php oder Common.php verändert.


Link zum Problem :
http://vietkho.drition.net/portal.php

Und hier der Abschnitt im Common.php, der die Fehler verursacht:

Code: Alles auswählen

include($phpbb_root_path . 'includes/constants.'.$phpEx);
include($phpbb_root_path . 'includes/template.'.$phpEx);
include($phpbb_root_path . 'includes/sessions.'.$phpEx);
include($phpbb_root_path . 'includes/auth.'.$phpEx);
include($phpbb_root_path . 'includes/functions.'.$phpEx);
include($phpbb_root_path . 'includes/db.'.$phpEx);
if ( defined('IN_CASHMOD') )
{
	include($phpbb_root_path . 'includes/functions_cash.'.$phpEx);
}


// We do not need this any longer, unset for safety purposes
unset($dbpasswd);

//
// Obtain and encode users IP
//
// I'm removing HTTP_X_FORWARDED_FOR ... this may well cause other problems such as
// private range IP's appearing instead of the guilty routable IP, tough, don't
// even bother complaining ... go scream and shout at the idiots out there who feel
// "clever" is doing harm rather than good ... karma is a great thing ... :)
//
$client_ip = ( !empty($HTTP_SERVER_VARS['REMOTE_ADDR']) ) ? $HTTP_SERVER_VARS['REMOTE_ADDR'] : ( ( !empty($HTTP_ENV_VARS['REMOTE_ADDR']) ) ? $HTTP_ENV_VARS['REMOTE_ADDR'] : getenv('REMOTE_ADDR') );
$user_ip = encode_ip($client_ip);

CMod für Ordner Includes : 744

Verfasst: 21.05.2007 20:17
von Andi1111
interessanter wär ja was in der htaccess steht, lösch die doch wieder wenns damit nicht geht :)

Verfasst: 21.05.2007 21:28
von duran1
das war son Ordner Passwort Schutz..

hab das wieder gelöscht, aber bringt nichts. Fehler ist immer noch da.