Verfasst: 24.12.2004 12:22
Wie kann ich die Box für die Forumsadmins etc... aus dem Portal entfernen?
phpBB.de - Die deutsche phpBB-Community
https://www.phpbb.de/community/
Code: Alles auswählen
Critical Error
FIND FAILED: In file [portal.php] could not find:
// SWITCH NAVIGATION START
if( $introportalmod_config['navigation_active'] == "1" )
{
$sql = "SELECT * FROM " . $table_prefix . "introportalmodnav fe ORDER BY navsort_id";
if ( !($result = $db->sql_query($sql)) )
{
message_die(GENERAL_MESSAGE, 'Could not get introportalmodnav data', '', __LINE__, __FILE__, $sql);
}
while ( $row = $db->sql_fetchrow($result) )
{
eval('$nav_name = ' . $row['nav_name'] . ';');
$template->assign_block_vars("topicrownav", array(
'nav_link' => $row['nav_link'],
'nav_name' => $nav_name)
);
}
$template->assign_block_vars('switch_navigation_active', array());
}
// SWITCH NAVIGATION END
Code: Alles auswählen
MOD Data
MOD Title: Intro + Portal - UPDATE 1.25 -> 1.50a 1.50 update_v125_to_v150.txt
Author: AWSW http://www.awsw.de
Processed Themes: subSilver; SoftBlue
Processed Languages: english; german
Files Edited: 1
Commands Processed: 5
Unprocessed Commands: 0
The following commands were not recognized by EasyMOD and were ignored. The MOD script line number is displayed.
Unprocessed Commands
EasyMOD successfully processed the following commands:
Commands Processed
COPY line #25
copy update_v125_to_v150/intro_portal_mod_db_install.php to intro_portal_mod_db_install.php
copy IntroPortalMOD_root/admin/admin_introportalmodnav.php to admin/admin_introportalmodnav.php
copy IntroPortalMOD_root/language/lang_english/lang_introportal.php to language/lang_english/lang_introportal.php
copy IntroPortalMOD_root/language/lang_german/lang_introportal.php to language/lang_german/lang_introportal.php
copy IntroPortalMOD_root/templates/subSilver/admin/introportalmodnav_body.tpl to templates/subSilver/admin/introportalmodnav_body.tpl
copy IntroPortalMOD_root/templates/subSilver/admin/introportalmodnavedit_body.tpl to templates/subSilver/admin/introportalmodnavedit_body.tpl
copy IntroPortalMOD_root/intro.php to intro.php
SQL line #39
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
OPEN line #53
portal.php
FIND line #61
// SESSION MANAGMENT START
$userdata = session_pagestart($user_ip, PAGE_PORTAL);
init_userprefs($userdata);
// SESSION MANAGMENT END
AFTERADD line #72
// DATABASE CHANGES MADE ? START
$sql = "SELECT * FROM " . INTROPORTALMOD_TABLE;
if(!($result = $db->sql_query($sql)))
{
message_die(GENERAL_ERROR, '<b>Could not query Intro + Portal configuration !<br><br>RUN <a href="intro_portal_mod_db_install.php" target="_blank">intro_portal_mod_db_install.php</a> AND DELETE IT AFTER THAT AND CHECK THE FILES TO EDIT !!!<br><br>Fehler beim Abfragen der Intro + Portal Konfiguration !<br><br>FÜHRE DIE <a href="intro_portal_mod_db_install.php" target="_blank">intro_portal_mod_db_install.php</a> AUS UND LÖSCHE SIE DANACH UND ÜBERPRÜFE DIE ZU EDITIERENDEN DATEIEN !!!<br><br><a href="http://www.awsw.de" target="_blank">HTH AWSW</a></b>', '', __LINE__, __FILE__, $sql);
}
// DATABASE CHANGES MADE ? END
Code: Alles auswählen
FIND FAILED: In file [portal.php] could not find:
// SWITCH NAVIGATION STAR
Hatte ich auch!kellerlanplayer hat geschrieben:moin, hab auch ein problem!
Hab alles so gemacht, wie es in der Anleitung steht (habs sogar 2x probiert, bzw. forum ganz gelöscht und neu versucht) aber es tritt immer dieser fehler auf, wenn ich im Administrationsbereich auf Konfiguration gehe:
es liegt wahrscheinlich an der Datenbank - oder??? Hab aber die installation ausgeführt und es hat alles geklappt, danach hab ich sie noch einmal ausgeführt und er zeigte an, dass die Tabelle schon existiert!phpBB : Kritischer Fehler
Could not query introportalmod information in admin_board
DEBUG MODE
SQL Error : 1146 Table 'DB11590.INTROPORTALMOD_TABLE' doesn't exist
SELECT * FROM INTROPORTALMOD_TABLE
Line : 73
File : /home/www/htdocs/asv-haselmuehl.de/admin/admin_introportalmod.php
Und jetzt kapier ich gar nichts mehr
Code: Alles auswählen
Warning: file_exists() [function.file-exists]: Unable to access in /home/www/htdocs/mutluluk.de/includes/functions.php on line 257
phpBB : Kritischer Fehler
Could not query database for theme info
DEBUG MODE
SQL Error : 1064 You have an error in your SQL syntax near '' at line 3