PHP files Parsing Problems

bgtanlo
13 years, 5 months ago
I am getting parse errors on the php files after installing the mobile joomla plugin.  what could be the syntax error on the following?

1. parse error expecting `'('' for the following lines of code in terawurfl.php.

 
if($host=='' || $host[0]==':')
$host = 'localhost'.$host;
TeraWurflConfig::$TABLE_PREFIX = $config->getValue('dbprefix').'TeraWurfl'; 
 


2. Parse error: parse error in administrator\components\com_mobilejoomla\admin.mobilejoomla.php on line 15
//ACL check
if(version_compare(JVERSION,'1.6.0','ge') &&
!(JFactory::getUser()->authorise('core.manage', 'com_mobilejoomla')))
return JError::raiseWarning(403, JText::_('JERROR_ALERTNOAUTHOR'));
 
dryabov
13 years, 5 months ago
What PHP version do you use?
bgtanlo
13 years, 5 months ago
dryabov wrote:
What PHP version do you use?


according to the one hosting our website, its php 5.1.6.

By continuing to use this site you consent to the use of cookies on your device as described in our cookie policy unless you have disabled them. This site will not function correctly without cookies.

I accept cookies from this site.