Error message when accessing moodle

Status
Not open for further replies.

webadmin

New Member
Messages
72
Reaction score
0
Points
0
Hi,
I got this error message when I tried to access Moodle (after, I added that package) Could you tell me how to fix this?

Warning: posix_times() has been disabled for security reasons in /home/resource/public_html/online/lib/setuplib.php on line 30



 

engineman

New Member
Messages
19
Reaction score
0
Points
0
a lot of the php functions have been disabled due to security concerns and abuse. The posix_time() stuff in moodle is mainly for measuring performance of the site and so it isn't really necessary. I just commented the lines out in my moodle PHP file that called posix_times and everything seems to work ok.

BTW, you'll probably also see a bunch of errors in your server logs about moodle not being able to increase it's memory size. I had to comment those lines out too.
 
Status
Not open for further replies.
Top