Fatal error: Class name must be a valid object or a string in pagelib.php on line 67

Re: Fatal error: Class name must be a valid object or a string in pagelib.php on line 67

Bởi Sandeep Gill -
Số lượng các câu trả lời: 0
Hình của Plugin developers

Hi Shailesh,

You are getting these errors because you are using moodle installation as a directory. The best bet would be to make the changes in the DNS and setup a name instaed of the ip address.

What you need to do is:

1. Create a domain name for your site and set that name as $CFG->wwwroot in the config.php file

2. Internally direct that domain name to your internal ip address

3. Externally direct that domain  to your external ip address

and on the webserver, set the directory root to http://ip-address/moodle and not http://ip-address.

Let me know how you go.

 

Thanks

Sandeep