Support

Admin Tools

#11987 How do I change the path for the AdminTools plugin

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 nicholas on Saturday, 14 April 2012 13:56 CDT

user43818
Mandatory information about my setup:

Have I read the related troubleshooter articles above before posting (which pages?)? Yes
Have I searched the tickets before posting? Yes
Have I read the documentation before posting (which pages?)? the "The "System - Admin Tools" plugin" page
Joomla! version: (2.5.4)
PHP version: (5.2.17)
MySQL version: (5.1.56)
Host: (Hostgator)
Admin Tools version: (2.2.5)

Description of my issue:
I have the following error when accessing the front or back end of my site: "Fatal error: Call to undefined method JDatabaseMySQLi::nq() in /vhosts/earthopensource.org/httpdocs/plugins/system/admintools/admintools/pro.php on line 2703". My host tells me that I need to: "change the path for the plugin to www/plugins/system/admintools/admintools/pro.php" How do I do this?

nicholas
Akeeba Staff
Manager
What you describe is impossible to happen if you have Joomla! 2.5.4. It can only happen if you try to run Admin Tools in Joomla! 1.7 or 1.6 which do lack this function from their database drivers. Are you using a third party database driver class or a component which is overriding Joomla!'s database class with its own (e.g. Falang)?

Nicholas K. Dionysopoulos

Lead Developer and Director

πŸ‡¬πŸ‡·Greek: native πŸ‡¬πŸ‡§English: excellent πŸ‡«πŸ‡·French: basic β€’ πŸ• My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

user43818
No I'm not using a third party database driver class. And as far as I know I have no component that is overriding Joomla!'s database class with its own. One odd thing is that the problem only arises with the WWW URL of the site - www.earthopensource.org and no on the earthopensource.org URL. I did move the site over from one host to another in the last week and did wonder if this may have caused the problem.

nicholas
Akeeba Staff
Manager
I can tell you that you most certainly do not have a Joomla! 2.5 site. Even if it says Joomla! 2.5, it's still using some files from Joomla! 1.7, the database driver being one of them. Your host's solution is absolutely irrelevant to the problem. This is not a path issue, it's a borked Joomla! installation. Let's try fixing it:
- Rename plugins/system/admintools/admintools.php to admintools.php.bak
- Download the Joomla! 2.5.4 installation package
- Extract and remove the installation directory
- Upload all files to your site
- Log in to your site's back-end, go to Extensions, Manage Extensions, Database and click on Fix
- Rename the admintools.php.bak file back to admintools.php

Nicholas K. Dionysopoulos

Lead Developer and Director

πŸ‡¬πŸ‡·Greek: native πŸ‡¬πŸ‡§English: excellent πŸ‡«πŸ‡·French: basic β€’ πŸ• My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

user43818
Thanks Nickolas, will try this

user43818
Did all you suggested and reloaded the site. Same problem as before I'm afraid. earthopensource.org works fine but www.earthopensource.org comes up with the AdminTools plugin error. I'll try uninstalling AdminTools and re-installing it.

nicholas
Akeeba Staff
Manager
Are you getting exactly the same error message or is it a different one this time?

Nicholas K. Dionysopoulos

Lead Developer and Director

πŸ‡¬πŸ‡·Greek: native πŸ‡¬πŸ‡§English: excellent πŸ‡«πŸ‡·French: basic β€’ πŸ• My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

user43818
Just did a test and found out that the www.earthopensource.org URL actually points to the old site on a separate host. Don't quite know why this is but this is what is causing the problem. Sorry to waste your time on this Nicholas.

nicholas
Akeeba Staff
Manager
No problem :)

Nicholas K. Dionysopoulos

Lead Developer and Director

πŸ‡¬πŸ‡·Greek: native πŸ‡¬πŸ‡§English: excellent πŸ‡«πŸ‡·French: basic β€’ πŸ• My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

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!