Last Visit mod
Verfasst: 03.02.2003 18:56
Ich habe soweit alles installiert und geändert. Allerdings bekam ich mit den Anweisungen für die session.php Probleme. Dieser Teil war mir nicht so klar und dann bin ich vollkommen durcheinander gekommen.
Jetzt habe ich alles durcheinander gebracht und sehe überhaupt nicht mehr durch. Anstatt des Forums erscheint jetzt nur noch folgende Fehlermeldung:
Ich hänge mal die session als Text hier ran und die common. Vielleicht findet jemand den Fehler hier?
Mandy
http://www.spektacoolair.de/commonphp.txt
http://www.spektacoolair.de/sessionsphp.txt
Code: Alles auswählen
#-----[ FIND ]------------------------------------------
#
if ( $user_id != ANONYMOUS )
{
$last_visit = ( $userdata['user_session_time'] > 0 ) ? $userdata['user_session_time'] : $current_time;
$sql = "UPDATE " . USERS_TABLE . "
SET user_session_time
#
#-----[ IN-LINE FIND ]------------------------------------------
#
time() . "
#
#-----[ IN-LINE AFTER, ADD ]------------------------------------------
#
, user_totallogon=user_totallogon+1
#
#-----[ IN-LINE FIND ]------------------------------------------
#
if
#
#-----[ IN-LINE BEFORE ADD ]------------------------------------------
#
//
#
#-----[ IN-LINE FIND ]------------------------------------------
#
{
#
#-----[ IN-LINE BEFORE ADD ]------------------------------------------
#
//
#
#-----[ FIND ]------------------------------------------
#
$sessiondata['userid'] = $user_id;
}
#
#-----[ IN-LINE FIND ]------------------------------------------
#
}
#
#-----[ IN-LINE BEFORE ADD ]------------------------------------------
#
//
Code: Alles auswählen
Parse error: parse error, unexpected $ in /www/htdocs/v038559/includes/sessions.php on line 384
Fatal error: Call to undefined function: append_sid() in /www/htdocs/v038559/common.php on line 132
Mandy
http://www.spektacoolair.de/commonphp.txt
http://www.spektacoolair.de/sessionsphp.txt