- Wat is het probleem? Parse error: parse error, unexpected T_STRING in /usr/home/volieres/public_html/phpBB/includes/usercp_register.php on line 649
Wanneer ontstond het probleem? Zojuist, na instal van mod PM bij registratie
Adres van je forum: http://www.voliereforum.nl/phpBB
Geïnstalleerde mods: nog niets
Huidige template: Desert Storm
phpBB versie: 2.0.21
Waar is je forum gehost: phpBBhost
Heb je onlangs iets verandert aan je forum?nope
Heb je gezocht naar een antwoord? Ja? met welke zoekwoorden?
Overige opmerkingen:
Onder een stukje code waar het omgaat
Code: Selecteer alles
//
// According to 'netclectic' we need to set the datastamp to '9999999999' in order to
// insure the pop-up notification about a new message existing. I concur with 'netclectic'
// and have thus made the change to his suggestion. Thanks netclectic!
//
$sql = "UPDATE " . USERS_TABLE . "
SET user_new_privmsg = '1', user_last_privmsg = '9999999999'
WHERE user_id = $user_id";
if ( !($result = $db->sql_query($sql)) )
{
message_die(GENERAL_ERROR, 'Could not update users table', '', __LINE__, __FILE__, $sql);
}
$register_pm_subject = $lang['register_pm_subject'];
$register_pm = $lang['register_pm'];
$privmsgs_date = date("U");
$sql = "INSERT INTO " . PRIVMSGS_TABLE . " (privmsgs_type, privmsgs_subject, privmsgs_from_userid, privmsgs_to_userid, privmsgs_date, privmsgs_enable_html, privmsgs_enable_bbcode, privmsgs_enable_smilies, privmsgs_attach_sig) VALUES ('0', '" . str_replace("\'", "''", addslashes(sprintf($register_pm_subject,$board_config['sitename']))) . "', '2', " . $user_id . ", " . $privmsgs_date . ", '0', '1', '1', '0')";
if ( !$db->sql_query($sql) )