Nisanth
Nisanth

Reputation: 333

How to install moodle properly into xampp

Hai i am trying to install moodle into my system using xampp server.

But i am having the error like below:

Warning: Creating default object from empty value in D:\xampp\htdocs\moodel\server\moodle\config.php on line 5

But the installation in successfully completed. why this problem occured.

Upvotes: 0

Views: 645

Answers (1)

Russell England
Russell England

Reputation: 10221

Do you have this at the top of config.php?

<?php

unset($CFG);
global $CFG;
$CFG = new stdClass();

Upvotes: 1

Related Questions