Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Parse Error


timgoat

Recommended Posts

hi all. i'm getting this line on my front page:

 

Parse error: parse error, unexpected T_VARIABLE in /home/clever79/public_html/store/includes/functions/general.php on line 483

 

heres my general.php lines 483-497:

// Returns the clients browser

 function tep_browser_detect($component) {

   global $HTTP_USER_AGENT;



   return stristr($HTTP_USER_AGENT, $component);

 }



////

 

help!!! all i did was allow force cookie use!

Link to comment
Share on other sites

ok..nevermind, i fixed that by using a backup. but now i get:

 

 

Warning: Cannot modify header information - headers already sent by (output started at /home/clever79/public_html/store/includes/languages/english.php:337) in /home/clever79/public_html/store/includes/functions/general.php on line 29

 

i get this when i try to log in to the store as a customer. it seems to work just fine when the force cookies is off...

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...