Welcome, Guest
Username Password: Remember me

PHP files Parsing Problems
(1 viewing) (1) Guest
  • Page:
  • 1

TOPIC: PHP files Parsing Problems

PHP files Parsing Problems 12 years, 8 months ago #7927

  • bgtanlo
  • OFFLINE
  • Fresh Boarder
  • Posts: 18
  • Karma: 0
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'));
 
Last Edit: 12 years, 8 months ago by bgtanlo.

Re: PHP files Parsing Problems 12 years, 8 months ago #7966

  • dryabov
  • OFFLINE
  • Administrator
  • Denis Ryabov, Lead Developer
  • Posts: 4867
  • Karma: 105
What PHP version do you use?

Re: PHP files Parsing Problems 12 years, 8 months ago #7985

  • bgtanlo
  • OFFLINE
  • Fresh Boarder
  • Posts: 18
  • Karma: 0
dryabov wrote:
What PHP version do you use?


according to the one hosting our website, its php 5.1.6.
The following user(s) said Thank You: jean-yves
  • Page:
  • 1
Time to create page: 0.14 seconds

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.