Support

Admin Tools

#18008 PHP File Change Scanner error msg

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 Friday, 01 November 2013 04:30 CDT

gurdip
Have I read the related troubleshooter articles above before posting (which pages?)? Y
Have I searched the tickets before posting? Y
I saw a similar error and manually ran the sql file to create the table, etc. There are 2 sql files but one only showed: "# Empty file, required by Joomla! due to an undocumented "feature" of not executing the very first update SQL file...". No idea what this means.

Have I read the documentation before posting (which pages?)? Y
Joomla! version: 2.5.14
PHP version: 5.2.17
MySQL version: 5.0.96-community
Host: siwec.org (LAMP environment)
Admin Tools version: 2.4.4
Description of my issue:


I purchased Akeeba Tools Pro a while ago. Had to use version 2.4.4 since my php is 5.2.x.

I am getting these errors in PHP File Change Scanner:

Warning: Invalid argument supplied for foreach() in /home/siwec/public_html/libraries/joomla/database/database/mysql.php on line 383

Warning: Invalid argument supplied for foreach() in /home/siwec/public_html/libraries/joomla/database/database/mysql.php on line 375

Warning: Invalid argument supplied for foreach() in /home/siwec/public_html/libraries/joomla/database/database/mysql.php on line 375

Warning: Invalid argument supplied for foreach() in /home/siwec/public_html/libraries/joomla/database/database/mysql.php on line 375

Warning: array_merge() [function.array-merge]: Argument #1 is not an array in /home/siwec/public_html/administrator/components/com_admintools/models/scans.php on line 91

Warning: array_merge() [function.array-merge]: Argument #2 is not an array in /home/siwec/public_html/administrator/components/com_admintools/models/scans.php on line 91


Thanks
Gurdip

nicholas
Akeeba Staff
Manager
Admin Tools 2.4.4 is no longer supported. Moreover we have ceased all support for PHP 5.2 about a year ago. Per our support policy, which is part of the Terms of Service you explicitly indicated you have read and agreed with when subscribing, we cannot provide support (including bug fixes) for unsupported software.

PHP 5.2 has become end of life on January 11th, 2011. That's almost three years ago. It is full of security holes and must not be used on live sites. Please upgrade your site to PHP 5.3 (which is also end of life) or, better yet, to PHP 5.4.

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!

gurdip
Hi. All noted. Upgrade only happening in Jan 2014.

I tested on a second (compatible) server; details as follows (had an issue there too - not sure if I should start another thread for this since the error is in a different area here.):

Have I read the documentation before posting (which pages?)? Y
Joomla! version: 2.5.14
PHP version: 5.4.20
MySQL version: 5.1.70-cll
Host: propertymatters.sg (LAMP environment)
Admin Tools version: 2.5.8

Description of my issue:
Had the following error during installation. Otherwise Admin Tools looks fine so far (but not tested most of it - at least no errors seen elsewhere).


Admin Tools Installation Status

Extension Status
Admin Tools component Installed
Framework on Framework (FOF) revC1A6D5A-1378494129 [2013-09-06] Installed
Akeeba Strapper revC1A6D5A-1378494129 [2013-09-06] Installed
Plugin Group
Plg_admintools System Installed
Plg_oneclickaction System Installed
Plg_atoolsupdatecheck System Installed
Plg_atoolsjupdatecheck System Installed

Fatal error: Class 'FOFPlatform' not found in /home/property/public_html/tmp/install_52724e0e40fe7/script.admintools.php on line 274


Saw a similar ticket on this, but could not figure what I can can do. Help apprecaited.

Regards
Gurdip

nicholas
Akeeba Staff
Manager
Which components (and their version numbers) are you using on that second site? At this point I am not sure if you get this error message because you have a very old version of one of our components, an old version of a third party component using the FOF library or simply because Joomla! isn't copying some necessary files. Giving me the list of components and their versions will allow me to figure out which one of the three issues is going on and give you the correct answer.

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!

gurdip
Hi,

Thanks for the quick replies.

Full list of components on this site:

AcyMailing Enterprise 4.4.1 - Joomla!™ Newsletter System
Admin Tools version 2.5.8 (can't recall if I had the free version previously or not)
Akeeba Backup Core 3.8.2 (showed "Akeeba Backup has detected that its database tables are corrupt.") . Re-installed and error is gone.
Foxcontact (not sure; version retained on my pc shows 2.5.6)
iJoomla SEO version 2.0.20
JCE Editor 2.2.7.2
jDownloads 1.9.1.3 Stable
Quick Logout (no version shown)
Xmap (no version shown)

Regards
Gurdip

nicholas
Akeeba Staff
Manager
OK, I think I know how to help you.

Remove the folder libraries/fof from your site, using FTP.
Extract Admin Tools' installation ZIP file on your computer.
Take the "fof" directory that was extracted and upload it into your site's "libraries" directory. You should now have a libraries/fof directory.

This should be adequate. If this still doesn't work, please try uninstalling Admin Tools and reinstall it.

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!

gurdip
Hi,

I have done as you suggested - uploaded the fof directory.

Backend all looks fine; no errors anywhere. Can I assume all is well or is there a way to test out that uploading the fof directory has indeed fixed the issue?

Thanks for your help.

Gurdip

nicholas
Akeeba Staff
Manager
All right, that's what I expected. Joomla! hadn't copied some files when you were installing our two extensions. In order to prevent any nasty surprises please try reinstalling both Akeeba Backup and Admin Tools, each one twice, but without uninstalling them first. This will make absolutely sure that Joomla! has copied all of the necessary files for both components.

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!

gurdip
Ok will do that.

Thanks for all the great help you given. Awesome :)

Regards
Gurdip

nicholas
Akeeba Staff
Manager
You're welcome!

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!