Hi, I have a problem in installing Moodle 1.9.5+ pack ( standard Moodle paackages) on Linux machine. I am getting an error for Data Directory path. I tried to create a new folder moodledata under /opt/lampp but stil this error appears.
Can anyone tell me how to solve this problem. The website is
http://samsa.tvu.ac.uk/moodle
Thanks for reply Jon. Now I am getting another error after I select language from first page. Below is the error:
Notice: Undefined index: dirroot in /opt/lampp/htdocs/moodle/install.php on line 136
Notice: Undefined index: dirroot in /opt/lampp/htdocs/moodle/install.php on line 137
Notice: Undefined index: dataroot in /opt/lampp/htdocs/moodle/install.php on line 138
Notice: Undefined index: admindirname in /opt/lampp/htdocs/moodle/install.php on line 139
Notice: Undefined index: wwwrootform in /opt/lampp/htdocs/moodle/install.php on line 143
Warning: require_once(/lib/adminlib.php) [function.require-once]: failed to open stream: No such file or directory in /opt/lampp/htdocs/moodle/install.php on line 148
Fatal error: require_once() [function.require]: Failed opening required '/lib/adminlib.php' (include_path='.:/opt/lampp/lib/php') in /opt/lampp/htdocs/moodle/install.php on line 148
I read many forums and checked for lib/adminlib.php, looks fine. but still dont know y i am getting this error. Yesterday when i tried this error did not appear. but now when i tried to install moodle today this new error is appearing. Can you please tell how i can solve this...
Notice: Undefined index: dirroot in /opt/lampp/htdocs/moodle/install.php on line 136
Notice: Undefined index: dirroot in /opt/lampp/htdocs/moodle/install.php on line 137
Notice: Undefined index: dataroot in /opt/lampp/htdocs/moodle/install.php on line 138
Notice: Undefined index: admindirname in /opt/lampp/htdocs/moodle/install.php on line 139
Notice: Undefined index: wwwrootform in /opt/lampp/htdocs/moodle/install.php on line 143
Warning: require_once(/lib/adminlib.php) [function.require-once]: failed to open stream: No such file or directory in /opt/lampp/htdocs/moodle/install.php on line 148
Fatal error: require_once() [function.require]: Failed opening required '/lib/adminlib.php' (include_path='.:/opt/lampp/lib/php') in /opt/lampp/htdocs/moodle/install.php on line 148
I read many forums and checked for lib/adminlib.php, looks fine. but still dont know y i am getting this error. Yesterday when i tried this error did not appear. but now when i tried to install moodle today this new error is appearing. Can you please tell how i can solve this...
Its strange... After awhile the above posted error diappeared and I successfully accessed second page of Moodle and successfully connected to database. But now I m getting error in server checks. can anyone please tell me how to solve this problem. And i m not sure if can carry installation with this warning?????
Name | Information | Report | Status |
---|---|---|---|
php_extension | xmlrpc | ![]() Installing the optional xmlrpc extension is useful for Moodle Networking functionality. |
Check |
unicode | ![]() |
OK | |
database | mysql | ![]() |
OK |
php | ![]() |
OK |