Hello,
Ive been digging through forums and cant seem to find a solution.
I should probably start from the beginning.
I had an installation of moodle 2.7+ and we moved to a VPS. When we moved to the VPS all kinds of errors started happening. Emails would sometime get through to students, grades would sometimes stick, course material couldnt be added, etc.
So I decided to move the site to a new host and upgrade to 3.0. Everything went smoothly and with extensive testing by multiple people all previous issues seemed resolved. This happened over 4 months ago.
Within the past month we've seen three different problems.
500 errors when creating users, restoring courses, and deleting courses.
According to one of our admins restoring courses gradually got worse. First it was 1-2 tries, then 4-6, and now 12-18 tries to successfully restore a course.
I implemented a phprc file and creating users started working but after about a day we were back to square one with the 500 error. When creating a user does fail I see the following
"Premature end of script headers: editadvanced.php, referer: http://www.mreacourses.org/user/editadvanced.php?id=-1"
As for the other two I dont see errors in that log. I did set a log file in the phprc file and saw a bunch of "Error code: storedfilecannotread" After finding another thread I was able to fix those by creating the needed directories and files. Those error time stamps didn't really match up with the time I was having a problem so I dont know if they were related.
Any ideas? Here is my phprc file
$ cat .php/5.6/phprc
upload_max_filesize = 100M
post_max_size = 105M
max_execution_time = 1500
max_input_name = 500
memory_limit = 1000M
log_errors = 1
error_log = /php.log