Parse error: syntax error, unexpected T_STRING in osCommerce

Discussions about MODs and Tips published on our web site.

Parse error: syntax error, unexpected T_STRING in osCommerce

Postby birol » Tue Dec 08, 2009 9:22 am

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
birol
 
Posts: 2
Joined: Tue Dec 08, 2009 2:28 am

Re: Parse error: syntax error, unexpected T_STRING in osCommerce

Postby birol » Tue Dec 08, 2009 9:38 am

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) {...
birol
 
Posts: 2
Joined: Tue Dec 08, 2009 2:28 am

Re: Parse error: syntax error, unexpected T_STRING in osCommerce

Postby ~J~ » Wed Dec 09, 2009 10:34 am

Make sue you have properly copy & paste the code. There is no such problem.
Magic SEO URLs are now available for
osCommerce, CRE Loaded, Zen Cart, PrestaShop, OpenCart, CubeCart, phpBB and phpBB3!
~J~
InveoStore.com Founder
 
Posts: 1056
Joined: Sat Feb 02, 2008 11:07 am
Location: Prague, Central Europe


Return to MODs and Tips Support

Who is online

Users browsing this forum: No registered users and 1 guest