Support

Admin Tools

#9733 Can't install Admin Tools Pro on Joomla 1.5.22 in Legacy Mode

Posted in ‘Admin Tools for Joomla! 4 & 5’
This is a public ticket

Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.

Environment Information

Joomla! version
n/a
PHP version
n/a
Admin Tools version
n/a

Latest post by websta91 on Saturday, 15 January 2011 22:31 CST

websta91
Hi,

I've just migrated a Joomla 1.0 site to Joomla 1.5.22.

When I attempt to install Admin Tools Pro, I receive the following error:
Parse error: syntax error, unexpected T_OBJECT_OPERATOR in /home/xxxx/public_html/yyyyy/administrator/components/com_admintools/install.admintools.php on line 239

Looks like the following code might be causing the problem:
// Modules & plugins installation

jimport('joomla.installer.installer');
$db = & JFactory::getDBO();
$status = new JObject();
$status->modules = array();
$status->plugins = array();
if( version_compare( JVERSION, '1.6.0', 'ge' ) ) {
if(!isset($parent))
{
$parent = $this->parent;
}
$src = $parent->getParent()->getPath('source');
} else {
$src = $this->parent->getPath('source');
}

As mentioned, this site is running in Legacy Mode. I've tried installing with Legacy Mode turned off, and have tried following the Manual Installation steps.

I've tried downloading an older version of Admin Tools (1.1.1 instead of 1.1.2) and installing the current alpha version but that didn't fix the problem either.

Any ideas?

websta91
Believe I've solved my own problem - it doesn't look like PHP5 was enabled for my hosting account.

(Re)enabled PHP5 and the component installed successfully.

Support Information

Working hours: We are open Monday to Friday, 9am to 7pm Cyprus timezone (EET / EEST). Support is provided by the same developers writing the software, all of which live in Europe. You can still file tickets outside of our working hours, but we cannot respond to them until we're back at the office.

Support policy: We would like to kindly inform you that when using our support you have already agreed to the Support Policy which is part of our Terms of Service. Thank you for your understanding and for helping us help you!