Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Installation propblem - parse error


Guest

Recommended Posts

Posted

Hi, I'm new to oscommerce and am trying it out on my host. I've uploaded the files and want to try the shop out as part of my website. However, I've not got very far as I keep getting this error message instead of the installation page:

 

Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /homepages/41/d170412265/htdocs/oscommerce/admin/includes/classes/language.php on line 20

 

I don't know much about php but had a look at the line and couldn't see anything there that looked out of place. Not sure how to proceed, so any help would be much appreciated.

 

The web address I used to try and install is www.(my site name)/oscommerce/install/install.php as that's what the files were named on upload. I hope I've done that bit right.

Posted

Hi, I'm new to oscommerce and am trying it out on my host. I've uploaded the files and want to try the shop out as part of my website. However, I've not got very far as I keep getting this error message instead of the installation page:

 

Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /homepages/41/d170412265/htdocs/oscommerce/admin/includes/classes/language.php on line 20

 

I don't know much about php but had a look at the line and couldn't see anything there that looked out of place. Not sure how to proceed, so any help would be much appreciated.

 

The web address I used to try and install is www.(my site name)/oscommerce/install/install.php as that's what the files were named on upload. I hope I've done that bit right.

 

I forgot to add in case it helps, here are lines 17-20 from the language.php file:

 

/* Private variables */

var $_code,

$_languages = array(),

$_definitions = array();

Archived

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

×
×
  • Create New...