Seite 1 von 3
ständiges lang_main problem
Verfasst: 11.02.2003 17:37
von Dr.Urlaub
Ab und zu beim Besuch eines linls in meinem Forum kommt folgender gehler
Code: Alles auswählen
Parse error: parse error in lang_main.php on line 40
phpBB :
Could not connect to the database
nach 2-3al aktualiseren gehts dann wieder, aber das nervt, da es immer wieder kommt.
Verfasst: 11.02.2003 18:21
von PhilippK
Stell doch mal die betroffenen Zeilen der language/lang_english/lang_main.php und der language/lang_german/lang_main.php rein (jeweils so Zeile 35-42)
Gruß, Philipp
Verfasst: 11.02.2003 19:30
von Dr.Urlaub
Code: Alles auswählen
//
// Common, these terms are used
// extensively on several pages
//
$lang['Forum'] = "Forum";
$lang['Category'] = "Kategorie";
$lang['Topic'] = "Thema";
$lang['Topics'] = "Themen";
$lang['Reply'] = "Antwort";
$lang['Replies'] = "Antworten";
$lang['sp_Replies'] = "Antwort(en)";
$lang['Views'] = "Aufrufe";
$lang['sp_Views'] = "Aufruf(e)";
$lang['Post'] = "Beitrag";
$lang['Posts'] = "Beiträge";
$lang['Posted'] = "Verfasst am";
$lang['Username'] = "Benutzername";
$lang['Password'] = "Passwort";
$lang['Email'] = "E-Mail";
$lang['Poster'] = "Poster";
$lang['Author'] = "Autor";
$lang['Time'] = "Zeit";
$lang['Hours'] = "Stunden";
$lang['Message'] = "Nachricht";
Code: Alles auswählen
//
// The format of this file is ---> $lang['message'] = 'text';
//
// You should also try to set a locale and a character encoding (plus direction). The encoding and direction
// will be sent to the template. The locale may or may not work, it's dependent on OS support and the syntax
// varies ... give it your best guess!
//
$lang['ENCODING'] = 'iso-8859-1';
$lang['DIRECTION'] = 'ltr';
$lang['LEFT'] = 'left';
$lang['RIGHT'] = 'right';
$lang['DATE_FORMAT'] = 'd M Y'; // This should be changed to the default date format for your language, php date() format
$lang['DATE_SQL_FORMAT'] = '%M %e, %Y' // This should be changed to the default date format for SQL for your language
$lang['DATE_INPUT_FORMAT'] = 'd/m/y'; // Requires 'd', 'm', and 'y' and a punctuation delimiter, order can change
// This is optional, if you would like a _SHORT_ message output
// along with our copyright message indicating you are the translator
// please add it here.
// $lang['TRANSLATION'] = ''
Thread verschoben von Simpson, Startforum: phpBB 2.x Mods nach Zielforum: phpBB 2.x at work
Verfasst: 11.02.2003 19:46
von Dwing
Code: Alles auswählen
//
// The format of this file is ---> $lang['message'] = 'text';
//
// You should also try to set a locale and a character encoding (plus direction). The encoding and direction
// will be sent to the template. The locale may or may not work, it's dependent on OS support and the syntax
// varies ... give it your best guess!
//
$lang['ENCODING'] = 'iso-8859-1';
$lang['DIRECTION'] = 'ltr';
$lang['LEFT'] = 'left';
$lang['RIGHT'] = 'right';
$lang['DATE_FORMAT'] = 'd M Y'; // This should be changed to the default date format for your language, php date() format
$lang['DATE_SQL_FORMAT'] = '%M %e, %Y' // This should be changed to the default date format for SQL for your language
$lang['DATE_INPUT_FORMAT'] = 'd/m/y'; // Requires 'd', 'm', and 'y' and a punctuation delimiter, order can change
// This is optional, if you would like a _SHORT_ message output
// along with our copyright message indicating you are the translator
// please add it here.
// $lang['TRANSLATION'] = '';
falls du net gesehen hast:
...// This is optional, if you would like a _SHORT_ message output
// along with our copyright message indicating you are the translator
// please add it here.
// $lang['TRANSLATION'] = '';
Verfasst: 11.02.2003 23:44
von Dr.Urlaub
hmm, wenn das nur an den 3punkten liegt, kann ich mich in arsch beißen oder war da noch eine andere veränderung, die jetzt übersehen habe?
Verfasst: 11.02.2003 23:51
von PhilippK
Also ich finde da jetzt keinen Fehler...
@Dwing: das kann wohl kaum die Ursache sein - auskommentiert ist auskommentiert...
Gruß, Philipp
Verfasst: 12.02.2003 00:23
von Dr.Urlaub
naja, ich habs jetzt geändert, bis jetzt kam der fehler noch nicht, hoffe mal es bleibt dabei.
danke schön
Verfasst: 12.02.2003 00:28
von Dr.Urlaub
ok, wo wir gerade bei fehler sind, hier noch einer
wenn ich mich auslogge kommt der fehler
Code: Alles auswählen
Fatal error: Call to undefined function: redirect() in login.php on line 141
aber ausgeloggt werd ich trotzdem.
wenn ich mich einloggen will, kommt der fehler
Code: Alles auswählen
Fatal error: Call to undefined function: redirect() in login.php on line 85
eingeloggt werd ich trotzdem, nachdem ich aktualisiere.
quelltext um zeile 85
Code: Alles auswählen
$session_id = session_begin($row['user_id'], $user_ip, PAGE_INDEX, FALSE, $autologin);
if( $session_id )
{
$url = ( !empty($HTTP_POST_VARS['redirect']) ) ? $HTTP_POST_VARS['redirect'] : "index.$phpEx";
redirect(append_sid($url, true));
}
else
Quelltext um Zeile 141
Code: Alles auswählen
else
{
redirect(append_sid("index.$phpEx", true));
}
}
else
Verfasst: 13.02.2003 01:03
von Acid
..hast Du eventuell vor kurzem auf 2.0.4 geupdated ?
Verfasst: 13.02.2003 11:53
von Gast