Page 1 of 1

Parse error: syntax error, unexpected T_STRING in osCommerce

Posted: Tue Dec 08, 2009 10:22 am
by birol
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

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

Posted: Tue Dec 08, 2009 10:38 am
by birol
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) {...

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

Posted: Wed Dec 09, 2009 11:34 am
by inveo
Make sue you have properly copy & paste the code. There is no such problem.

Cart  
(empty)

Cart Check out  »

Prices are tax inclusive.

The VAT rate for your country (US) * is 0,0 % because it is not a member of the European Union (EU).

* Please create an account if your country does not match.

Community feed
  • [Zen Cart] Can't execute Magic SEO URLs sitemaps
    I installed Magic SEO URLs Sitemaps Add-On for ZenCart MSU4.x/MSU5.x 2.0 on my server, when I try to generate sitemaps using: https://www.pechesudv155.owally.com/sitemaps.php I received :...
    by peter@pechesud.com
  • [phpBB3] Sharing users between phpBB / PrestaShop
    Hi i have 2 question 1- prestashop module support phpBB 3.3 ? 2- why we can not login in prestashop and phpbb with same user?
    by zohall
  • [phpBB3] AJAX Userinfo Extension
    Hi! I'm having trouble with this extension: https://www.phpbb.com/customise/db/exte ... _userinfo/ I tried asking support from the author but for no avail, since now. My request for support...
    by Lord Phobos
  • [phpBB3] Upgrade to phpBB 3.2.3
    Hello.. after Upgrade to phpBB 3.2.3 I am getting this message.. How can I solve this issue..? Thank you
    by ingbrzy
  • [phpBB3] URL path changed
    Hello.. I have changed my site path after moving to new hosting and now can not activate SEO module.. new path http://www.miuios.cz/domains/miuios.cz/ could you help me? thank you
    by ingbrzy2
Join our support forum » Pre-Sales Questions »
Featured Testimonials

Wow, thank you very much! Excellent support like this is greatly appreciated!

Todd, the owner of Pez Collectors Store

Magic SEO URLs for PrestaShop is amazing product, it help me a lot with SEO, and the customer service is very nice and patient! I will built a new website, and I will buy this module again.

Joseph, the owner of Focus Vows

More Testimonials »