by Shane Thompson.
Thank you Ken, I've done all that you've suggested but in the end I had to backup and reinstall another version of Moodle. Everything is ok now. Thanks for the assistance.