Hi John,
Thank you, yes folders are set to 755 and files to 644. I have also double checked my php files and they seem fine. There has to be an error somewhere, so I will follow your advice about error messages and do some forum browsing to see if there is an answer somewhere.
It's what to do with the error messages when I get them. I did get this one when I had turned messages on:
Fatal error: __clone method called on non-object in ..../abernant/moodle/lib/moodlelib.php on line 1817
and a different one just now:
Fatal error: Out of memory (allocated 30932992) (tried to allocate 35 bytes) in .../abernant/moodle/admin/mnet/MethodTable.php on line 77
I am hosted on a 1&1 Linux server. I followed the instructions "How to enable and check PHP error logs" located here: http://docs.moodle.org/en/Installation_FAQ#How_to_enable_and_check_PHP_error_logs and contacted tech support because I couldn't find the file even with the info provided. This is their sooo helpful reply:
About your query, please be inform the path that you are trying to access /usr/lib/php5/php.ini is on server side which need root access, since you are under a shared hosting account it is not possible only works on server account which has root access, if your webspace does not include a php.ini file in your root directory, you need to create one yourself with the directives you want to change.
I have done that (I think) to get the error messages above, but then removed the ini_set instructions because the error messages give the entire location of my directory away, which I thought would be dangerous:
<?php /// Moodle Configuration File
unset($CFG);
$CFG->dbtype = 'mysql';
$CFG->dbhost = 'db1632.oneandone.co.uk';
$CFG->dbname = 'db259986645';
$CFG->dbuser = '******';
$CFG->dbpass = '******';
$CFG->dbpersist = false;
$CFG->prefix = 'mdl_';
$CFG->wwwroot = 'http://www.abernantprimary.co.uk/moodle';
$CFG->dirroot = '/homepages/2/d68832301/htdocs/abernant/moodle';
$CFG->dataroot = '/homepages/2/d68832301/htdocs/abernantmoodledata';
$CFG->admin = 'admin';
$CFG->directorypermissions = 00777; // try 02777 on a server in Safe Mode
require_once("$CFG->dirroot/lib/setup.php");
ini_set ('display_errors', 'on');
ini_set ('log_errors', 'on');
ini_set ('display_startup_errors', 'on');
ini_set ('error_reporting', E_ALL);
$CFG->debug = DEBUG_ALL;
?>
So not sure now how to proceed.
(Edited by Helen Foster to remove the db username and password - original submission Saturday, 4 October 2008, 05:51 PM)