Seite 1 von 1
Zeile 1140 ?????
Verfasst: 28.11.2005 17:14
von TheMadMike
Hallo,
ich wollte das Intro und POrtal MOd einbauen und bekomme nun folgenden Fehler:
Parse error: parse error, unexpected T_STRING in /usr/export/www/vhosts/funnetwork/hosting/hcclub/language/lang_german/lang_main.php on line 1140
Dort habe ich schon nachgeschaut...da finde ich aber nix.
Hier die letzten Zeilen:
//
"//That's all Folks!"
// -------------------------------------------------
// Intro + Portal MOD START
$lang['Viewing_Intro'] = "Betrachtet das Intro";
$lang['Viewing_Portal'] = "Betrachtet das Portal";
$lang['IntroPortalMOD1'] = "Intro";
$lang['IntroPortalMOD2'] = "Portal";
$lang['IntroPortalMOD3'] = "Index";
$lang['IntroPortalMOD4'] = "
www.phpbb.de";
$lang['IntroPortalMOD5'] = "
www.phpbb.com";
$lang['IntroPortalMOD6'] = "phpBB Support";
// Intro + Portal MOD END
?>
Mit freundlichen Grüßen
Verfasst: 28.11.2005 17:26
von Ringo89
HI MadMike,
also bei mir siehts so aus
Code: Alles auswählen
//
// That's all Folks!
// -------------------------------------------------
Verfasst: 28.11.2005 17:39
von TheMadMike
Oh
Verfasst: 28.11.2005 17:44
von TheMadMike
Nun ist der Fehler:
Could not query Intro + Portal configuration !
RUN intro_portal_mod_db_install.php AND DELETE IT AFTER THAT AND CHECK THE FILES TO EDIT !!!
Fehler beim Abfragen der Intro + Portal Konfiguration !
F܈RE DIE intro_portal_mod_db_install.php AUS UND L֓CHE SIE DANACH UND ܂ERPR܆E DIE ZU EDITIERENDEN DATEIEN !!!
HTH AWSW
DEBUG MODE
SQL Error : 1146 Table 'hcclub.phpbb_introportalmod' doesn't exist
SELECT * FROM phpbb_introportalmod
Line : 44
File : intro.php
http://hcclub.de.gg
Verfasst: 28.11.2005 17:52
von Ringo89
Sind nach der Installation die Tabellen in der Datenbank auch wirklich erstellt worden??
Code: Alles auswählen
SQL Error : 1146 Table 'hcclub.phpbb_introportalmod' doesn't exist
Cedi
Hinweis
Verfasst: 28.11.2005 18:13
von gloriosa
Hallo,
in der Installationsanleitung des IntroPortalMOD steht
Code: Alles auswählen
#
#-----[ SQL ]------------------------------------------
#
# german: SQL Datenbankänderungen ausführen
#
FÜHRE DIE DATEI intro_portal_mod_db_install.php AUS DEM FORUMROOT (Hauptverzeichnis Deines Forums) AUS UND LÖSCHE SIE DANACH !!!
Beispiel: http://www.domain.de/phpbb2/intro_portal_mod_db_install.php
RUN THE FILE intro_portal_mod_db_install.php FROM THE FORUMROOT (main-directory of your forum) AND DELETE IT AFTER THAT !!!
Example: http://www.domain.com/phpbb2/intro_portal_mod_db_install.php
sofern beim Ausführen der Datei ein Fehler auftritt gilt :
Öffne die intro_portal_mod_db_install.php und suche Folgendes
Code: Alles auswählen
include($phpbb_root_path . 'extension.inc');
include($phpbb_root_path . 'config.'.$phpEx);
include($phpbb_root_path . 'common.'.$phpEx);
include($phpbb_root_path . 'includes/constants.'.$phpEx);
include($phpbb_root_path . 'includes/db.'.$phpEx);
und ersetze es mit diesem
Code: Alles auswählen
include_once($phpbb_root_path . 'extension.inc');
include_once($phpbb_root_path . 'config.'.$phpEx);
include_once($phpbb_root_path . 'common.'.$phpEx);
include_once($phpbb_root_path . 'includes/constants.'.$phpEx);
include_once($phpbb_root_path . 'includes/db.'.$phpEx);
Dann sollte es funktionieren !

Verfasst: 28.11.2005 18:14
von TheMadMike
Es gb bei der Datei keine IntroPortalMod.
Es gibt nur ein " admin_introportalmod.php " ,
ein " lang_introportalmod.php " und ein " introportalmod_body.tpl "
UNd was für eins fehlt da?
Verfasst: 28.11.2005 18:22
von Ringo89
Die Datei "intro_portal_mod_db_install.php"
muss dabei gewesen sein, falls sie wirklich nicht dabei ist solltest du den MOD neu herunterladen!
Bei mir liegt sie nach dem entpacken der zip im Ordner "IntroPortalMOD_root"
Wie es weitergeht hat gloriosa schon beschrieben
Cedi
Verfasst: 28.11.2005 18:29
von TheMadMike
Edit: Gang nach bei dem Post von gloriosa.
Habe es so gemacht wie er es sagte. Nach 15 Sekungen gang e
Danke an euch beiden.
Verfasst: 28.11.2005 18:39
von TheMadMike
Aber nun ist ein erneuter fehler:
LAST VISIT MOD: Couldn't retrieve user today data
DEBUG MODE
SQL Error : 1054 Unknown column 'user_lastlogon' in 'field list'
SELECT user_id,username,user_allow_viewonline,user_level,user_lastlogon FROM phpbb_users WHERE user_id!="-1" AND user_session_time >= 1133132400 AND user_session_time< 1133218799 ORDER BY username
Line : 650
File : portal.php