Hi everyone,
So I recently had all my sites shut down by Hostmonster - some were out of date and apparently had some malware via Wordpress and Moodle.
I'm currently seeing a couple things that I'd either like to fix, or know how to upgrade (without losing all my courses, etc.)... please help!
First, in the error log on Hostmonster, I'm seeing a bunch of these from the last month or two
[20-Jan-2016 02:28:54 America/Denver] PHP Warning: Creating default object from empty value in /home6/mydirectory/public_html/mysite/moodle/theme/standardlogo/config.php on line 9 [20-Jan-2016 08:39:01 America/Denver] PHP Warning: Creating default object from empty value in /home6/mydirectory/public_html/mysite/moodle/theme/standardlogo/config.php on line 9
Next,
I see there are tons of these email messages to the account, 4 of them every 15 minutes, having something to do with the cron.php:
Return-path: <root@host305.hostmonster.com> Envelope-to: me@host305.hostmonster.com Delivery-date: Sat, 23 Jan 2016 02:15:03 -0700 Received: from me by host305.hostmonster.com with local (Exim 4.84) (envelope-from <root@host305.hostmonster.com>) id 1aMuHe-0001oR-NR for me@host305.hostmonster.com; Sat, 23 Jan 2016 02:15:02 -0700 From: root@host305.hostmonster.com (Cron Daemon) To: me@host305.hostmonster.com Subject: Cron <me@host305> cd '/home/mydirectory/public_html/mysite/moodle/admin/' ; /ramdisk/bin/php4 -q 'cron.php' > /dev/null ; Content-Type: text/plain; charset=UTF-8 Auto-Submitted: auto-generated X-Cron-Env: <LANG=en_US.UTF-8> X-Cron-Env: <MAILTO=me> X-Cron-Env: <SHELL=/bin/sh> X-Cron-Env: <HOME=/home6/me> X-Cron-Env: <PATH=/usr/bin:/bin> X-Cron-Env: <LOGNAME=cme> X-Cron-Env: <USER=me> Message-Id: <E1aMuHe-0001oR-NR@host305.hostmonster.com> Date: Sat, 23 Jan 2016 02:15:02 -0700 X-Identified-User: {3088:host305.hostmonster.com:me:mysite.com} {sentby:program running on server, non-smtp} /bin/sh: /ramdisk/bin/php4: No such file or directory
Notably, 1 of the 4 messages I'm getting like that is from a different instance of Moodle and a different directory which I deleted last week (and I also deleted the database...)
Anyway, I'm wondering how to deal with this, and/or how I can upgrade (BTW, I can't get to the web sites via the web right now, have to do everything via CPanel until it's all cleaned... to a newer version of Moodle, which, I was hoping, would take care of all this... would appreciate your assistance!
clark