echochen Posted October 28, 2014 Share Posted October 28, 2014 I just edited the tablerate.php in magento, and now I am getting this error, but I don't know what's wrong. Anybody here can help me? The error message reads "Parse error: syntax error, unexpected '*', expecting function (T_FUNCTION) in /home/echoshom/public_html/app/code/core/Mage/Shipping/Model/Carrier/Tablerate.php on line 50" Attached is tablerate.php Tablerate.php Quote Link to comment https://forums.phpfreaks.com/topic/292118-parse-error-syntax-error-unexpected-expecting-function-t_function-in/ Share on other sites More sharing options...
ginerjm Posted October 28, 2014 Share Posted October 28, 2014 Line 50 is probably supposed to be a comment but you don't have it commented out. Quote Link to comment https://forums.phpfreaks.com/topic/292118-parse-error-syntax-error-unexpected-expecting-function-t_function-in/#findComment-1495024 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.