Martin Dougiamas
Posts made by Martin Dougiamas
There is no 1.0.9, Loren, just the development version.
save_session() was one of the functions that has been removed, so if it's still in course/view.php then that must be an old version of course/view.php
Also, what were the MySQL errors? - that might be significant.
save_session() was one of the functions that has been removed, so if it's still in course/view.php then that must be an old version of course/view.php
Also, what were the MySQL errors? - that might be significant.
Javascript yes, but PHP, no. It's too much of a security hole - anyone who got into a teacher account could potentially do a lot of damage to Moodle and the server it's running on.
There was some talk a while back about a new resource type called "PHP code" which WOULD parse the documents for PHP. I think this could be a good idea as long as it was an option controlled by the admin.
There was some talk a while back about a new resource type called "PHP code" which WOULD parse the documents for PHP. I think this could be a good idea as long as it was an option controlled by the admin.
Something sounds sick with that mail system ...
Anyhow, to get the password sorted out, use an existing account that you know the password to (or create a new account). Edit the database and copy the password field from that account to replace the admin's password field.
The passwords are deliberately not decodable.
Anyhow, to get the password sorted out, use an existing account that you know the password to (or create a new account). Edit the database and copy the password field from that account to replace the admin's password field.
The passwords are deliberately not decodable.
Don't turn "debug" on in the configure screen - it really is for developers only.