Welcome, Guest
Username Password: Remember me

Problem running Mobile Joomla on PHP 5.3
(1 viewing) (1) Guest
  • Page:
  • 1
  • 2

TOPIC: Problem running Mobile Joomla on PHP 5.3

Problem running Mobile Joomla on PHP 5.3 12 years, 8 months ago #7745

  • bgtanlo
  • OFFLINE
  • Fresh Boarder
  • Posts: 18
  • Karma: 0
I am currently trying to install Mobile Joomla on our Joomla site version 1.5.
Our website is currently running in PHP 5.3. and I am getting errors like the one below:

Parse error: parse error, expecting `'('' in plugins\mobile\terawurfl.php on line 53

In my local server I tried installing PHP 5.2.9 and the error did not occur.
Does this mean that Mobile Joomla is not yet compatible with PHP 5.3?

Is there any way on how I can make this work in PHP 5.3 without updating the php.ini file? Currently, I don't have access to the said file as we have third-party company hosting our website and i'm only allowed to do changes on the site content and not on the setup.

Thank you very much.

Re: Problem running Mobile Joomla on PHP 5.3 12 years, 8 months ago #7746

  • dryabov
  • OFFLINE
  • Administrator
  • Denis Ryabov, Lead Developer
  • Posts: 4867
  • Karma: 105
I have PHP 5.3.4 on my test server, and MJ works well here.

Re: Problem running Mobile Joomla on PHP 5.3 12 years, 8 months ago #7747

  • bgtanlo
  • OFFLINE
  • Fresh Boarder
  • Posts: 18
  • Karma: 0
dryabov wrote:
I have PHP 5.3.4 on my test server, and MJ works well here.


have you ever encountered any parse error like the one i posted earlier?

Re: Problem running Mobile Joomla on PHP 5.3 12 years, 8 months ago #7749

  • dryabov
  • OFFLINE
  • Administrator
  • Denis Ryabov, Lead Developer
  • Posts: 4867
  • Karma: 105
No, I have few notices/warnings in error_log from other extensions, but none from MJ.

Re: Problem running Mobile Joomla on PHP 5.3 12 years, 8 months ago #7781

  • bgtanlo
  • OFFLINE
  • Fresh Boarder
  • Posts: 18
  • Karma: 0
dryabov wrote:
No, I have few notices/warnings in error_log from other extensions, but none from MJ.


When accessing the administrator page for joomla then clicking on Mobile Joomla Plugin, i also encounter the following error:

Parse error: parse error in D:\inetpub\vhosts\XXXXX\httpdocs\XXXXXX\administrator\components\com_mobilejoomla\admin.mobilejoomla.php on line 15

Code Snippet of admin.mobilejoomla.php

if(version_compare(JVERSION,'1.6.0','ge') &&
!(JFactory::getUser()->authorise('core.manage', 'com_mobilejoomla')))
return JError::raiseWarning(403, JText::_('JERROR_ALERTNOAUTHOR'));

jimport('joomla.filesystem.file');
jimport('joomla.filesystem.folder');
jimport('joomla.event.dispatcher');

I was wondering if I need to adjust anything in the plugin settings to run php files.
Is this a version compatibility issue?
In local server, i'm using php 5.2.9-2 and it works.
But in my test server, i'm using php 5.3 and both error occurs.

Re: Problem running Mobile Joomla on PHP 5.3 12 years, 8 months ago #7788

  • dryabov
  • OFFLINE
  • Administrator
  • Denis Ryabov, Lead Developer
  • Posts: 4867
  • Karma: 105
What PHP5.3 subversion do you use? I tested on 5.3.4, but it's not the latest one.

Re: Problem running Mobile Joomla on PHP 5.3 12 years, 8 months ago #7823

  • bgtanlo
  • OFFLINE
  • Fresh Boarder
  • Posts: 18
  • Karma: 0
dryabov wrote:
What PHP5.3 subversion do you use? I tested on 5.3.4, but it's not the latest one.


Sorry for the incorrect info.
Our website is currently running on the following specs:

PHP: 5.1.6-15.el5
MYSQL: 5.0.22-2.1.0.1
APACHE: 2.59-rhel5.build83071218.18

Re: Problem running Mobile Joomla on PHP 5.3 12 years, 8 months ago #7873

  • dryabov
  • OFFLINE
  • Administrator
  • Denis Ryabov, Lead Developer
  • Posts: 4867
  • Karma: 105
Unfortunately, I cannot test this environment now (all my test servers have Apache 2.2.x, and PHP 5.1 is compatible with Apache 2.0.x only; the only workaround could be to run PHP 5.1 in CGI mode and I'll try to test this way later).

Re: Problem running Mobile Joomla on PHP 5.3 12 years, 8 months ago #7936

  • dryabov
  • OFFLINE
  • Administrator
  • Denis Ryabov, Lead Developer
  • Posts: 4867
  • Karma: 105
Just run MJ on PHP5.1.6, no errors found. So, I don't know what to suggest.

Re: Problem running Mobile Joomla on PHP 5.3 12 years, 8 months ago #7942

  • bgtanlo
  • OFFLINE
  • Fresh Boarder
  • Posts: 18
  • Karma: 0
dryabov wrote:
Just run MJ on PHP5.1.6, no errors found. So, I don't know what to suggest.


have you encountered any issues using the plugin on joomla sites running on linux servers?
  • Page:
  • 1
  • 2
Time to create page: 0.10 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.