Fehlrmeldung

Fragen & Antworten zum IM-Portal
(Kein 100%iger Support)

Moderator: Supporter

Fehlrmeldung

Beitragvon Snoopy » 24. Feb 2007 16:04

Das erste was ich geschrieben hatte, hat sich erledigt!


Nun bekomme ich folgende Meldung:

Code: Alles auswählen
Parse error: parse error, unexpected ')' in J:\XAMPP\xampp\htdocs\Snoopyforum\portal.php on line 54


Die Changecodes von hier sind eingebaut!


Zeile 50-61:
Code: Alles auswählen
   'automaticSerialization' => $portal_config['md_cache_serialize']
);
$var_cache = new Cache_Lite($options);

isset($HTTP_GET_VARS['page'])) ? $layout = intval($HTTP_GET_VARS['page']) : $layout = $portal_config['default_portal'];

if($portal_config['cache_enabled'])
{
   $layout_row=$var_cache->get('lr' . strval($layout), 86400, 'layout');
}
   
if(!$layout_row)


Zugefügt nach 1 Stunde(n) 28 Minute(n):

Auch das hat sich geklärt!

Das nächste, wenn ich nun ins ACP möchte bekomme ich folgendes:

Code: Alles auswählen
Warning: include(./includes/sessions.php) [function.include]: failed to open stream: No such file or directory in J:\XAMPP\xampp\htdocs\Snoopyforum\common.php on line 195

Warning: include() [function.include]: Failed opening './includes/sessions.php' for inclusion (include_path='.;J:\XAMPP\xampp\php\pear\') in J:\XAMPP\xampp\htdocs\Snoopyforum\common.php on line 195

Warning: include(./includes/auth.php) [function.include]: failed to open stream: No such file or directory in J:\XAMPP\xampp\htdocs\Snoopyforum\common.php on line 196

Warning: include() [function.include]: Failed opening './includes/auth.php' for inclusion (include_path='.;J:\XAMPP\xampp\php\pear\') in J:\XAMPP\xampp\htdocs\Snoopyforum\common.php on line 196

Warning: include(./includes/functions.php) [function.include]: failed to open stream: No such file or directory in J:\XAMPP\xampp\htdocs\Snoopyforum\common.php on line 197

Warning: include() [function.include]: Failed opening './includes/functions.php' for inclusion (include_path='.;J:\XAMPP\xampp\php\pear\') in J:\XAMPP\xampp\htdocs\Snoopyforum\common.php on line 197

Warning: include(./includes/db.php) [function.include]: failed to open stream: No such file or directory in J:\XAMPP\xampp\htdocs\Snoopyforum\common.php on line 198

Warning: include() [function.include]: Failed opening './includes/db.php' for inclusion (include_path='.;J:\XAMPP\xampp\php\pear\') in J:\XAMPP\xampp\htdocs\Snoopyforum\common.php on line 198

Warning: include(./includes/functions_showbot.php) [function.include]: failed to open stream: No such file or directory in J:\XAMPP\xampp\htdocs\Snoopyforum\common.php on line 206

Warning: include() [function.include]: Failed opening './includes/functions_showbot.php' for inclusion (include_path='.;J:\XAMPP\xampp\php\pear\') in J:\XAMPP\xampp\htdocs\Snoopyforum\common.php on line 206

Fatal error: Call to undefined function encode_ip() in J:\XAMPP\xampp\htdocs\Snoopyforum\common.php on line 218


Zeile 190-220:
Code: Alles auswählen
   exit;
}

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);

include($phpbb_root_path . 'includes/functions_showbot.'.$phpEx);
//
// 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);
// CrackerTracker v5.x
include($phpbb_root_path . 'ctracker/engines/ct_varsetter.' . $phpEx);


Ich hatte eben erst festgestellt, das ich die SQL Anweisung nicht ausgeführt war! Anscheinend hat das das Update auf Dim 3 überschrieben!
Deswegen hatt ich es eben erst ausgeführt!
Könnte es vielleicht daranliegen?
MfG Snoopy
Benutzeravatar
Snoopy
User
 
Beiträge: 207
Registriert: 18. Mai 2005 15:05

Beitragvon AmigaLink » 24. Feb 2007 20:22

Das erste was ich geschrieben hatte, hat sich erledigt!
Was hattest du denn geschrieben? :?

Die Fehlermeldung besagt das die sessions.php nicht existiert. :shock:
Das hat nichts mit irgendwelchen SQL Anweisungen zu tun.
Die deutsche Sprache ist Freeware, du kannst sie benutzen, ohne dafür zu bezahlen. Sie ist aber nicht Open Source, also darfst du sie nicht verändern, wie es dir gerade passt.
Benutzeravatar
AmigaLink
Administrator
 
Beiträge: 3987
Registriert: 11. Aug 2004 01:06
Wohnort: NRW

Beitragvon khaledelmansoury » 24. Feb 2007 23:53

Wow!

Wie soll denn ein phpBB2 Forum denn ordnungsgemäsig laufen ohne der sessions.php

Er sagt die Meldung kommt wenn er ins ACP geht:

Das nächste, wenn ich nun ins ACP möchte bekomme ich folgendes:


1.Warning: include(./includes/sessions.php) [function.include]: failed to open stream: No such file or directory in J:\XAMPP\xampp\htdocs\Snoopyforum\common.php on line 195
2.
3. Warning: include() [function.include]: Failed opening './includes/sessions.php' for inclusion (include_path='.;J:\XAMPP\xampp\php\pear\') in J:\XAMPP\xampp\htdocs\Snoopyforum\common.php on line 195
4.
5. Warning: include(./includes/auth.php) [function.include]: failed to open stream: No such file or directory in J:\XAMPP\xampp\htdocs\Snoopyforum\common.php on line 196
6.
7. Warning: include() [function.include]: Failed opening './includes/auth.php' for inclusion (include_path='.;J:\XAMPP\xampp\php\pear\') in J:\XAMPP\xampp\htdocs\Snoopyforum\common.php on line 196
8.
9. Warning: include(./includes/functions.php) [function.include]: failed to open stream: No such file or directory in J:\XAMPP\xampp\htdocs\Snoopyforum\common.php on line 197
10.
11. Warning: include() [function.include]: Failed opening './includes/functions.php' for inclusion (include_path='.;J:\XAMPP\xampp\php\pear\') in J:\XAMPP\xampp\htdocs\Snoopyforum\common.php on line 197
12.
13. Warning: include(./includes/db.php) [function.include]: failed to open stream: No such file or directory in J:\XAMPP\xampp\htdocs\Snoopyforum\common.php on line 198
14.
15. Warning: include() [function.include]: Failed opening './includes/db.php' for inclusion (include_path='.;J:\XAMPP\xampp\php\pear\') in J:\XAMPP\xampp\htdocs\Snoopyforum\common.php on line 198
16.
17. Warning: include(./includes/functions_showbot.php) [function.include]: failed to open stream: No such file or directory in J:\XAMPP\xampp\htdocs\Snoopyforum\common.php on line 206
18.
19. Warning: include() [function.include]: Failed opening './includes/functions_showbot.php' for inclusion (include_path='.;J:\XAMPP\xampp\php\pear\') in J:\XAMPP\xampp\htdocs\Snoopyforum\common.php on line 206
20.
21. Fatal error: Call to undefined function encode_ip() in J:\XAMPP\xampp\htdocs\Snoopyforum\common.php on line 218
22.

und noch viele andere dateien existieren nicht wie die db.php ,...

Aber der Pfad ist richtig: ((Warning: include(./includes/sessions.php) [function.include]: failed to open stream: No such file or directory in J:\XAMPP\xampp\htdocs\Snoopyforum\common.php on line 195 )


Oder hat er das Forum geladen, ein paar Dateien gelöscht und das ACP aufgerufen ?

Aber selbst das würde nicht funktionieren... :mrgreen:
Benutzeravatar
khaledelmansoury
User
 
Beiträge: 101
Registriert: 18. Jun 2005 08:05

Beitragvon AmigaLink » 25. Feb 2007 09:47

Stimmt, das ist vollkommen unlogisch. :x
Die deutsche Sprache ist Freeware, du kannst sie benutzen, ohne dafür zu bezahlen. Sie ist aber nicht Open Source, also darfst du sie nicht verändern, wie es dir gerade passt.
Benutzeravatar
AmigaLink
Administrator
 
Beiträge: 3987
Registriert: 11. Aug 2004 01:06
Wohnort: NRW

Beitragvon Snoopy » 25. Feb 2007 12:22

Ich hab nix gelöscht!

Urplötzlich kam diese Meldung!

Da ich eh nicht soweit mit dem Forum war, hab ich noch mal angefangen und nun läuft es!
MfG Snoopy
Benutzeravatar
Snoopy
User
 
Beiträge: 207
Registriert: 18. Mai 2005 15:05


Zurück zu IM-Portal



Wer ist online?

Mitglieder in diesem Forum: 0 Mitglieder und 3 Gäste

cron