xyncro LiteCart Fan Från Sweden Medlem sedan sep. 2013 xyncro 4 sep. 2013 18:05 hi i installed the shop and all went well except when i wanted to access admin after password i got this: Parse error: syntax error, unexpected T_FUNCTION in /xxxxx/xxxxxxx/public_html/shop/includes/functions/admin.inc.php on line 15
litecart Main Crew Från Sweden Medlem sedan feb. 2013 litecart 3 okt. 2013 07:11 xyncro, this may be caused by a corrupt FTP upload. Try uploading the file again. If this does not work send us an e-mail at support(at)litecart.net and we will try to have this resolved for you. Edit: I looked at the lines of code and the reason for your error is because you are running a PHP version lower than 5.3. Talk to your web host. Most probably they offer a way of switching between different PHP versions. PHP 5.3 is setting new syntax standards which is the reason for your error.
xyncro LiteCart Fan Från Sweden Medlem sedan sep. 2013 xyncro 5 okt. 2013 13:29 yepp!! you're right.. but cpanel didn't like to respond to my changes so i added a command in .htaccess ""forcing"" it to change php version and that made it.. now im able to use admin.. ;) thx for your help! :)