Support

Admin Tools

#24684 error with cron job in siteground

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 Shriek on Wednesday, 16 March 2016 15:21 CDT

Shriek
 Hi I am trying to get the cron job to work for the php scanner,using /usr/local/bin/php /home/shriek18/public_html/ecrl.co.nz/cli/admintools-filescanner.php
but it keeps throwing this error in the email:
Fatal error: Class 'JInputCLI' not found in /home/shriek18/public_html/ecrl.co.nz/cli/admintools-filescanner.php on line 158
What am I doing wrong?
Thanks
Andrew

tampe125
Akeeba Staff
Hello Andrew,

that's pretty strange, since it's just a core file.
Are you 100% sure you are in Joomla 3.4.8?
Can you please double check if the following file exists:
libraries/joomla/input/cli.php

Davide Tampellini

Developer and Support Staff

🇮🇹Italian: native 🇬🇧English: good • 🕐 My time zone is Europe / Rome (UTC +1)
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

Shriek
Thanks Davide. That file didn't exist. Put it in and its away. Don't know why it wouldn't be there, although I did have a bit of hacking going on and maybe I deleted it. Can't remember that though.
Thanks for your help.
Andrew

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!