Setting a custom session.save_path seems to be working nicely! I just left a session alone for an hour and it didn't time out.
Hopefully Pablo's experience is a thing of the past.
Martin Dougiamas
Posts made by Martin Dougiamas
Try this chmod script (it runs as nobody and changes the permissions of all the files in dataroot).
For future files, see the
$CFG->directorypermissions = 0777;
setting in config.php (config-dist.php)
For future files, see the
$CFG->directorypermissions = 0777;
setting in config.php (config-dist.php)
Something is very wrong there ... 32M is a LOT of data. What version of Moodle, and what language pack are you using? My first guess would be that there is an error of some kind in that language pack, causing a loop or something.
Take a look at: http://moodle.org/user/index.php?id=5
Notice it's listing 197 or 198 records? It's supposed to be retrieving the first 200 (using SQL LIMIT), and in fact it WAS until a couple of days ago. The odd thing is that if I use the exact same SQL in phpmyadmin it works fine and retrieves the expected 200 user records.
SELECT u.* FROM user u, user_students s WHERE s.course = '5' AND s.userid = u.id AND u.deleted = '0' ORDER BY u.lastaccess DESC LIMIT 200
I'm going to check myself into a loony bin.
Ideas welcome! (for the SQL problem, not for good insane asylums)
Notice it's listing 197 or 198 records? It's supposed to be retrieving the first 200 (using SQL LIMIT), and in fact it WAS until a couple of days ago. The odd thing is that if I use the exact same SQL in phpmyadmin it works fine and retrieves the expected 200 user records.
SELECT u.* FROM user u, user_students s WHERE s.course = '5' AND s.userid = u.id AND u.deleted = '0' ORDER BY u.lastaccess DESC LIMIT 200
I'm going to check myself into a loony bin.
Ideas welcome! (for the SQL problem, not for good insane asylums)