Getting a Parse Error

July '10 Joomla Templates
GK User
Thu Sep 19, 2013 7:39 am
Hi, I have installed the GameNews template on a J3.1 website. The installation appears to be OK except when I look at any article in the frontend. I get the following error

Parse error: syntax error, unexpected T_BREAK, expecting ',' or ';' in /home/halcyon1/public_html/racma/templates/gk_gamenews/html/com_content/article/default_links.php on line 58

The server settings are as follows

PHP Built On Linux 2.6.32-379.22.1.lve1.2.17.1.el6.x86_64 #1 SMP Tue May 14 21:18:13 EEST 2013 x86_64
Database Version 5.5.32-cll
Database Collation utf8_general_ci
PHP Version 5.3.22
Web Server Apache
WebServer to PHP Interface cgi-fcgi
Joomla! Version Joomla! 3.1.5 Stable [ Ember ] 01-August-2013 14:00 GMT
Joomla! Platform Version Joomla Platform 12.2.0 Stable [ Neil Armstrong ] 21-September-2012 00:00 GMT
User Agent Mozilla/5.0 (Windows NT 6.1; WOW64; rv:23.0) Gecko/20100101 Firefox/23.0

Any ideas how to fix this?
User avatar
Fresh Boarder

GK User
Thu Sep 19, 2013 8:17 am

Please open the file and add semicolon at the end of this line:

Code: Select all
echo '<a class="modal" href="'.htmlspecialchars($link).'"  rel="{handler: \'iframe\', size: {x:600, y:600}}">'.
                            htmlspecialchars($label) . ' </a>'
User avatar

GK User
Thu Sep 19, 2013 11:10 am
That worked!

Thanks very much for your help ;)
User avatar
Fresh Boarder

Remember me
Register New Account
If you are old Gavick user, click HERE for steps to retrieve your account.