Parse error: syntax error, unexpected T_STRING in osCommerce
Parse error: syntax error, unexpected T_STRING in osCommerce
I get "Parse error: syntax error, unexpected T_STRING in ...admin/includes/functions/sessions.php on line 71" after adding your Register Globals MODs.
Line 71:function tep_session_register($variable) {
$_SESSION[$variable] = null;
}
It seems as if there is a quote or double-quote problem somewhere before this function is called. Did anyone else have this problem?
Birol
Line 71:function tep_session_register($variable) {
$_SESSION[$variable] = null;
}
It seems as if there is a quote or double-quote problem somewhere before this function is called. Did anyone else have this problem?
Birol
Re: Parse error: syntax error, unexpected T_STRING in osCommerce
The same problem occurs in non-admin functions as well if you try to login to your account.
"Parse error: syntax error, unexpected T_STRING in ... /includes/functions/sessions.php on line 71"
Line 71: function tep_session_register($variable) {...
"Parse error: syntax error, unexpected T_STRING in ... /includes/functions/sessions.php on line 71"
Line 71: function tep_session_register($variable) {...
Re: Parse error: syntax error, unexpected T_STRING in osCommerce
Make sue you have properly copy & paste the code. There is no such problem.