Harrison87
06-20-2008, 12:56 AM
After I send a pm to a user on a regular account, right after I click send it gives the following error at the top of the screen, and then it redirects back to the inbox.
"Parse error: syntax error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in /var/www/html/gamesrogue.com/forums/includes/class_dm_pm.php(579) : eval()'d code on line 9".
Any idea where this would come from?
Line 579 in class_dm_pm.php:
eval(fetch_email_phrases($email_phrases['pmreceived'], $touserinfo['languageid'], '', 'email'));
--------------- Added 1213927378 at 1213927378 ---------------
Fixed, apparently you can't use single quotes on array variables. Kind of weird, one would think vBulletin would alert to this if it would cause errors.
Re: The variable name is how you will refer to your phrase from the templates. It should not contain any spaces or special characters - meaning, only use A-Z, a-z, 0-9, -, and _ in the name.
To call the phrase from the templates, use
$vbphrase[variablename]
where variablename is what you put in this box.
"Parse error: syntax error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in /var/www/html/gamesrogue.com/forums/includes/class_dm_pm.php(579) : eval()'d code on line 9".
Any idea where this would come from?
Line 579 in class_dm_pm.php:
eval(fetch_email_phrases($email_phrases['pmreceived'], $touserinfo['languageid'], '', 'email'));
--------------- Added 1213927378 at 1213927378 ---------------
Fixed, apparently you can't use single quotes on array variables. Kind of weird, one would think vBulletin would alert to this if it would cause errors.
Re: The variable name is how you will refer to your phrase from the templates. It should not contain any spaces or special characters - meaning, only use A-Z, a-z, 0-9, -, and _ in the name.
To call the phrase from the templates, use
$vbphrase[variablename]
where variablename is what you put in this box.