0
|
Hello mexlobo, The dataroot path may be incorrect or have the wrong permissions. I cannot tell for sure as I cannot locate an account for you on our servers. If I could, I would be able to check the exact path. On our servers, 777 permissions can sometimes create errors due to server security. If you are certain that dataroot path is correct, then I would try a 755 permission setting if you are still getting the errors. I hope this answers your question. If you have any more questions or information specific to the issue please leave a comment below so we can further assist you. Best Regards, Scott M |
0
|
okay, took me a long time to get something working, but I at least am able to use my Moodle3.0 install. First problem is that not enough information is giving to even begin identifying this issue: "Fatal error: $CFG->dataroot is not configured properly, directory does not exist or is not accessible! Exiting." is just telling you --- whoops, error found --- go and figure it out yourself --- idiotHUMAN... Playing around in the CPanel, figured out a way to get more feedback on this "general" type of error... In the CPanel --> Alter PHP Config --> select the domain/subdomain where you installed Moodle --> for "Display Errors" --- switch it "ON" --> click "Alter PHP directives" this actually changes a ".htaccess" file that's specifically found in your Moodle install website folder, and tells the php engine to output more error information. ... wait, still not even close to finishing ... try to open your Moodle webpage again... it will still include the earlier error, but now you should see another message starting off like: "Warning: realpath(): open_basedir restriction in effect. ...." That's a variable ("open_basedir"), that you find in "php.ini" , that needs to have the file path of your "moodledata" folder included. How to modify "php.ini" from ByetHost's CPanel??? Couldn't figure it out. And I'm sure it has something to do with ".htaccess" ---- but whoops, not in the mood to fiddle with ".htaccess". So the next useful thing to do, was to move the "moodledata" folder into one of the folders that "php.ini" is allowed to access via the "open_basedir" variable. --> move "moodledata" next to your "moodle30" folder ---> change "CFG->dataroot" to ABSOLUTELY point to your moodledata folder. e.g.: in my case : "$CFG->dataroot = '/home/vol15_5/byethost9.com/b9_20167838/education.byethost9.com/htdocs/moodledata';" Granted, this is not the prettiest solution ... but at least it will get you moving along. Hahaha, after all that, for some reason the CSS files are not loaded properly... whoops, can't win them all can ya? |
Email: | support@WebHostingHub.com | Ticket: | Submit a Support Ticket |
---|---|---|---|
Call: |
877-595-4HUB (4482) 757-416-6627 (Intl.) |
Chat: | Click To Chat Now |