Hello
I've trying everything I know to solve this problem;
I've installed Appserv on my local Pc and extracted the moodle file to its www folder, and done the necessary adjustments (I think), my problem shows when I want to run moodle installation; it shows an error "Strict Standards: Creating default object from empty value in C:\AppServ\www\moodle\config.php on line 5"
and my config file has the following data on line 5:
"
$CFG->dbtype = 'mysql'; //Database Type
"
Any ideas?
Did you read this document before installing? It is this line:
"by the way this version use PHP 4.x"
and there is no mention of the version of MySQL it uses so it is this that causes me some angst. Moodle requires a minimum of PHP v4.3 and MySQL 4.1.16. So I would recommend you update both MySQL and PHP before installing Moodle.
"by the way this version use PHP 4.x"
and there is no mention of the version of MySQL it uses so it is this that causes me some angst. Moodle requires a minimum of PHP v4.3 and MySQL 4.1.16. So I would recommend you update both MySQL and PHP before installing Moodle.
thnx colin; Up to this point the problem is solved; u see I realized the appserv 2.6 was installed; I changed it with appserv 2.5 and it went on...
aahhh and AppServ 2.6 has PHP v6.0 does it not?Yes, I am sure it does.
yes it does, I still find it weird, it should compose the 2.5
I think I solved this.
It has to do with PHP being configured to show warnings for strict standards, if I'm not mistaken.
I `got rid of` the message by doing the following in my /ets/moodle/config.php (line 5/7) :
if (isset($CFG)) {
unset($CFG);
}
$CFG = (object) Array();
before this it only said :
unset($CFG);
It has to do with PHP being configured to show warnings for strict standards, if I'm not mistaken.
I `got rid of` the message by doing the following in my /ets/moodle/config.php (line 5/7) :
if (isset($CFG)) {
unset($CFG);
}
$CFG = (object) Array();
before this it only said :
unset($CFG);
Rather than using a typecast Array, you would be better to simply use an object of the type stdClass:
$CFG = new stdClass;
Deeper in Moodle you'll see something like 'new object();' which is basically the same thing, the object 'object' is simply an extended stdClass object, however that's not possible at that point in the config file.
$CFG = new stdClass;
Deeper in Moodle you'll see something like 'new object();' which is basically the same thing, the object 'object' is simply an extended stdClass object, however that's not possible at that point in the config file.