Forum weg nach Attachment Mod Installation
Forumsregeln
phpBB 2.0 hat das Ende seiner Lebenszeit überschritten
phpBB 2.0 wird nicht mehr aktiv unterstützt. Insbesondere werden - auch bei Sicherheitslücken - keine Patches mehr bereitgestellt. Der Einsatz von phpBB 2.0 erfolgt daher auf eigene Gefahr. Wir empfehlen einen Umstieg auf phpBB 3.0, welches aktiv weiterentwickelt wird und für welches regelmäßig Updates zur Verfügung gestellt werden.
phpBB 2.0 hat das Ende seiner Lebenszeit überschritten
phpBB 2.0 wird nicht mehr aktiv unterstützt. Insbesondere werden - auch bei Sicherheitslücken - keine Patches mehr bereitgestellt. Der Einsatz von phpBB 2.0 erfolgt daher auf eigene Gefahr. Wir empfehlen einen Umstieg auf phpBB 3.0, welches aktiv weiterentwickelt wird und für welches regelmäßig Updates zur Verfügung gestellt werden.
Forum weg nach Attachment Mod Installation
Hallo,
ich habe die Installation eigentlich genauestens durchgeführt, bekam auch eine positive Meldung, aber jetzt wollte ich das Forum aufrufen und erhalte diese Fehlermeldungen:
Parse error: parse error in /srv/www/htdocs/web181/html/MaineCoonForum/common.php on line 241
Fatal error: Call to undefined function: session_pagestart() in /srv/www/htdocs/web181/html/MaineCoonForum/index.php on line 31
Leider kenne ich mich mit php noch gar nicht aus. Könnte mir jemand sagen, was das bedeutet?
Hätte ich die Dateien nicht ändern sollen?
Habe Schritt III der Installation komplett durchgeführt!
PS.: Ich habe bereits den Intro & Portal Mod installiert und den Easy Mod.
Würde es etwas bringen, alle Änderungen wieder rückgängig zu machen???
ich habe die Installation eigentlich genauestens durchgeführt, bekam auch eine positive Meldung, aber jetzt wollte ich das Forum aufrufen und erhalte diese Fehlermeldungen:
Parse error: parse error in /srv/www/htdocs/web181/html/MaineCoonForum/common.php on line 241
Fatal error: Call to undefined function: session_pagestart() in /srv/www/htdocs/web181/html/MaineCoonForum/index.php on line 31
Leider kenne ich mich mit php noch gar nicht aus. Könnte mir jemand sagen, was das bedeutet?
Hätte ich die Dateien nicht ändern sollen?
Habe Schritt III der Installation komplett durchgeführt!
PS.: Ich habe bereits den Intro & Portal Mod installiert und den Easy Mod.
Würde es etwas bringen, alle Änderungen wieder rückgängig zu machen???
Nun habe ich alle geänderten Dateien wieder so hochgeladen, wie sie waren.
Nun bekomme ich aber diesen Fehler:
http://www.paws-paradise.de/MaineCoonForum/index.php
Nun bekomme ich aber diesen Fehler:
http://www.paws-paradise.de/MaineCoonForum/index.php
Ok, hier die Zeilen 198 - 256 der common.php:
// Now send the File Contents to the Browser
//
if ($gotit)
{
$size = @filesize($filename);
if ($size)
{
header("Content-length: $size");
}
readfile($filename);
}
else if (!$gotit && intval($attach_config['allow_ftp_upload']))
{
$conn_id = attach_init_ftp();
$ini_val = ( @phpversion() >= '4.0.0' ) ? 'ini_get' : 'get_cfg_var';
$tmp_path = ( !@$ini_val('safe_mode') ) ? '/tmp' : $upload_dir . '/tmp';
$tmp_filename = @tempnam($tmp_path, 't0000');
@unlink($tmp_filename);
$mode = FTP_BINARY;
if ( (preg_match("/text/i", $attachment['mimetype'])) || (preg_match("/html/i", $attachment['mimetype'])) )
{
$mode = FTP_ASCII;
}
$result = @ftp_get($conn_id, $tmp_filename, $filename, $mode);
if (!$result)
{
message_die(GENERAL_ERROR, $lang['Error_no_attachment'] . "<br /><br /><b>404 File Not Found:</b> The File <i>" . $filename . "</i> does not exist.");
}
@ftp_quit($conn_id);
$size = @filesize($tmp_filename);
if ($size)
{
header("Content-length: $size");
}
readfile($tmp_filename);
@unlink($tmp_filename);
}
else
{
message_die(GENERAL_ERROR, $lang['Error_no_attachment'] . "<br /><br /><b>404 File Not Found:</b> The File <i>" . $filename . "</i> does not exist.");
}
exit;
}
//
// End Functions
//
//
// Start Session Management
//
Hier jetzt die Zeilen aus der index.php:
//
// Start session management
//
$userdata = session_pagestart($user_ip, PAGE_INDEX);
init_userprefs($userdata);
//
// End session management
//
und zuletzt der neue Fehler (mit den Dateien, wie sie vorher waren - Fehlermedlung: Fatal error: Call to undefined function: realdate() in /srv/www/htdocs/web181/html/MaineCoonForum/includes/page_header.php on line 274):
if ( $total_online_users == 0 )
{
$l_t_user_s = $lang['Online_users_zero_total'];
}
else if ( $total_online_users == 1 )
{
$l_t_user_s = $lang['Online_user_total'];
}
else
{
$l_t_user_s = $lang['Online_users_total'];
}
if ( $logged_visible_online == 0 )
{
$l_r_user_s = $lang['Reg_users_zero_total'];
}
else if ( $logged_visible_online == 1 )
{
$l_r_user_s = $lang['Reg_user_total'];
}
else
{
$l_r_user_s = $lang['Reg_users_total'];
}
if ( $logged_hidden_online == 0 )
{
$l_h_user_s = $lang['Hidden_users_zero_total'];
}
else if ( $logged_hidden_online == 1 )
{
$l_h_user_s = $lang['Hidden_user_total'];
}
else
{
$l_h_user_s = $lang['Hidden_users_total'];
}
if ( $guests_online == 0 )
{
$l_g_user_s = $lang['Guest_users_zero_total'];
}
else if ( $guests_online == 1 )
{
$l_g_user_s = $lang['Guest_user_total'];
}
else
{
$l_g_user_s = $lang['Guest_users_total'];
}
$l_online_users = sprintf($l_t_user_s, $total_online_users);
$l_online_users .= sprintf($l_r_user_s, $logged_visible_online);
$l_online_users .= sprintf($l_h_user_s, $logged_hidden_online);
$l_online_users .= sprintf($l_g_user_s, $guests_online);
}
//
// Obtain number of new private messages
// if user is logged in
//
if ( ($userdata['session_logged_in']) && (empty($gen_simple_header)) )
{
// Start add - Birthday MOD
// see if user has or have had birthday, also see if greeting are enabled
if ( $userdata['user_birthday']!=999999 && $board_config['birthday_greeting'] && create_date('Ymd', time(), $board_config['board_timezone']) >= $userdata['user_next_birthday_greeting'].realdate ('md',$userdata['user_birthday'] ) )
{
$sql = "UPDATE " . USERS_TABLE . "
SET user_next_birthday_greeting = " . (create_date('Y', time(), $board_config['board_timezone'])+1) . "
WHERE user_id = " . $userdata['user_id'];
if( !$status = $db->sql_query($sql) )
{
message_die(GENERAL_ERROR, "Could not update next_birthday_greeting for user.", "", __LINE__, __FILE__, $sql);
}
$template->assign_var("GREETING_POPUP",
"<script language=\"Javascript\" type=\"text/javascript\"><!--
window.open('".append_sid('birthday_popup.'.$phpEx)."', '_phpbbprivmsg', 'HEIGHT=225,resizable=yes,WIDTH=400');
//-->
</script>");
} //Sorry user shall not have a greeting this year
// End add - Birthday MOD
if ( $userdata['u
// Now send the File Contents to the Browser
//
if ($gotit)
{
$size = @filesize($filename);
if ($size)
{
header("Content-length: $size");
}
readfile($filename);
}
else if (!$gotit && intval($attach_config['allow_ftp_upload']))
{
$conn_id = attach_init_ftp();
$ini_val = ( @phpversion() >= '4.0.0' ) ? 'ini_get' : 'get_cfg_var';
$tmp_path = ( !@$ini_val('safe_mode') ) ? '/tmp' : $upload_dir . '/tmp';
$tmp_filename = @tempnam($tmp_path, 't0000');
@unlink($tmp_filename);
$mode = FTP_BINARY;
if ( (preg_match("/text/i", $attachment['mimetype'])) || (preg_match("/html/i", $attachment['mimetype'])) )
{
$mode = FTP_ASCII;
}
$result = @ftp_get($conn_id, $tmp_filename, $filename, $mode);
if (!$result)
{
message_die(GENERAL_ERROR, $lang['Error_no_attachment'] . "<br /><br /><b>404 File Not Found:</b> The File <i>" . $filename . "</i> does not exist.");
}
@ftp_quit($conn_id);
$size = @filesize($tmp_filename);
if ($size)
{
header("Content-length: $size");
}
readfile($tmp_filename);
@unlink($tmp_filename);
}
else
{
message_die(GENERAL_ERROR, $lang['Error_no_attachment'] . "<br /><br /><b>404 File Not Found:</b> The File <i>" . $filename . "</i> does not exist.");
}
exit;
}
//
// End Functions
//
//
// Start Session Management
//
Hier jetzt die Zeilen aus der index.php:
//
// Start session management
//
$userdata = session_pagestart($user_ip, PAGE_INDEX);
init_userprefs($userdata);
//
// End session management
//
und zuletzt der neue Fehler (mit den Dateien, wie sie vorher waren - Fehlermedlung: Fatal error: Call to undefined function: realdate() in /srv/www/htdocs/web181/html/MaineCoonForum/includes/page_header.php on line 274):
if ( $total_online_users == 0 )
{
$l_t_user_s = $lang['Online_users_zero_total'];
}
else if ( $total_online_users == 1 )
{
$l_t_user_s = $lang['Online_user_total'];
}
else
{
$l_t_user_s = $lang['Online_users_total'];
}
if ( $logged_visible_online == 0 )
{
$l_r_user_s = $lang['Reg_users_zero_total'];
}
else if ( $logged_visible_online == 1 )
{
$l_r_user_s = $lang['Reg_user_total'];
}
else
{
$l_r_user_s = $lang['Reg_users_total'];
}
if ( $logged_hidden_online == 0 )
{
$l_h_user_s = $lang['Hidden_users_zero_total'];
}
else if ( $logged_hidden_online == 1 )
{
$l_h_user_s = $lang['Hidden_user_total'];
}
else
{
$l_h_user_s = $lang['Hidden_users_total'];
}
if ( $guests_online == 0 )
{
$l_g_user_s = $lang['Guest_users_zero_total'];
}
else if ( $guests_online == 1 )
{
$l_g_user_s = $lang['Guest_user_total'];
}
else
{
$l_g_user_s = $lang['Guest_users_total'];
}
$l_online_users = sprintf($l_t_user_s, $total_online_users);
$l_online_users .= sprintf($l_r_user_s, $logged_visible_online);
$l_online_users .= sprintf($l_h_user_s, $logged_hidden_online);
$l_online_users .= sprintf($l_g_user_s, $guests_online);
}
//
// Obtain number of new private messages
// if user is logged in
//
if ( ($userdata['session_logged_in']) && (empty($gen_simple_header)) )
{
// Start add - Birthday MOD
// see if user has or have had birthday, also see if greeting are enabled
if ( $userdata['user_birthday']!=999999 && $board_config['birthday_greeting'] && create_date('Ymd', time(), $board_config['board_timezone']) >= $userdata['user_next_birthday_greeting'].realdate ('md',$userdata['user_birthday'] ) )
{
$sql = "UPDATE " . USERS_TABLE . "
SET user_next_birthday_greeting = " . (create_date('Y', time(), $board_config['board_timezone'])+1) . "
WHERE user_id = " . $userdata['user_id'];
if( !$status = $db->sql_query($sql) )
{
message_die(GENERAL_ERROR, "Could not update next_birthday_greeting for user.", "", __LINE__, __FILE__, $sql);
}
$template->assign_var("GREETING_POPUP",
"<script language=\"Javascript\" type=\"text/javascript\"><!--
window.open('".append_sid('birthday_popup.'.$phpEx)."', '_phpbbprivmsg', 'HEIGHT=225,resizable=yes,WIDTH=400');
//-->
</script>");
} //Sorry user shall not have a greeting this year
// End add - Birthday MOD
if ( $userdata['u
So, jetzt ist alles wie vorher.
Trotzdem noch diese Meldung:
http://www.paws-paradise.de/MaineCoonForum/index.php
Und hier die Zeile 269 dazu aus der index.php:
$user_birthday2 = $this_year.($user_birthday = realdate("md",$birthdayrow['user_birthday'] ));
Was ist daran falsch??
Trotzdem noch diese Meldung:
http://www.paws-paradise.de/MaineCoonForum/index.php
Und hier die Zeile 269 dazu aus der index.php:
$user_birthday2 = $this_year.($user_birthday = realdate("md",$birthdayrow['user_birthday'] ));
Was ist daran falsch??
Hi ...
funktioniert jetzt wieder alles?
Markus
funktioniert jetzt wieder alles?
Markus
.... Telefon-Support - Schnelle Hilfe bei Hackangriffen, Modeinbau, Templateanpassung, Grafikerst., uvm.
.... Es gibt keine Probleme .... Nur neue Chancen
.... Ihr wollt ein einmaliges Template? - Prof. Templateerstellung und phpBB-Anpassungen
.... Es gibt keine Probleme .... Nur neue Chancen
.... Ihr wollt ein einmaliges Template? - Prof. Templateerstellung und phpBB-Anpassungen
Ja, ich bin gerade dabei, den Attachment Mod neu zu installieren. Dazu habe ich aber noch vorab Fragen:
Ich habe jetzt das phpBB 2.0.17 und noch keine anderen Mods installiert (also weder Easy Mod noch Portal usw.).
Soll der Attachment Mod in das Hauptverzeichnis geladen werden? Also nach phpBB2?
Also wenn es da heißt:
Kopiere/uploade alle Dateien in ihre vorgesehe Position (die Verzeichnis Struktur befindet sich im Hauptverzeichnis):
attach_mod/root/download.php -> download.php
Muss es dann nach www.meine-domain.de/phpBB2 geladen werden?
Ich habe jetzt das phpBB 2.0.17 und noch keine anderen Mods installiert (also weder Easy Mod noch Portal usw.).
Soll der Attachment Mod in das Hauptverzeichnis geladen werden? Also nach phpBB2?
Also wenn es da heißt:
Kopiere/uploade alle Dateien in ihre vorgesehe Position (die Verzeichnis Struktur befindet sich im Hauptverzeichnis):
attach_mod/root/download.php -> download.php
Muss es dann nach www.meine-domain.de/phpBB2 geladen werden?
Weiß das keiner??
Also ich habe es jetzt mal so gemacht. Installation funzte auch diesmal - nur habe ich zwar jetzt den Adminbereich für Attachments & Extensions, aber sobald ich auf Panel Control klicke, bekomme ich diese Meldung:
Fatal error: Call to undefined function: get_var() in /srv/www/htdocs/web181/html/phpBB2/admin/admin_attach_cp.php on line 62
und in Zeile 62 steht folgendes: $start = get_var('start', 0);
Doch ins falsche Verzeichnis geladen??? Bitte um Hilfe
Also ich habe es jetzt mal so gemacht. Installation funzte auch diesmal - nur habe ich zwar jetzt den Adminbereich für Attachments & Extensions, aber sobald ich auf Panel Control klicke, bekomme ich diese Meldung:
Fatal error: Call to undefined function: get_var() in /srv/www/htdocs/web181/html/phpBB2/admin/admin_attach_cp.php on line 62
und in Zeile 62 steht folgendes: $start = get_var('start', 0);
Doch ins falsche Verzeichnis geladen??? Bitte um Hilfe