Various admin/setting changes not sticking

Various admin/setting changes not sticking

by T Snake -
Number of replies: 5
Using Moodle 1.1 development (2003073000)
When I configure Variables and set the country or zip/unzip locations the following page flashes and then jumps to administration:

Could not update lang to en

Could not update langdir to LTR

Could not update langmenu to 1

Could not update langlist to

Could not update locale to en

Could not update country to US

Could not update smtphosts to

Could not update smtpuser to

Could not update smtppass to

Could not update gdversion to 1

Could not update htmleditor to 1

Could not update maxeditingtime to 1800

Could not update longtimenosee to 1000

Could not update loglifetime to 0

Could not update sessiontimeout to 7200

Could not update zip to

Could not update unzip to

Could not update slasharguments to 1

Could not update proxyhost to

Could not update proxyport to

Could not update debug to 7

Could not update framename to _top

Could not update secureforms to 0

Changes saved

( Continue )

When making a change to Site Settings, such as short name (doesn't matter), the following page states:
Serious Error! Could not update the site record! (id = 1)

I can continue and the settings are not saved.

"Add New User": Could not update the user record (3)

This general pattern happens on all admin pages, pretty much. Not much works as expected... though what does work leads me to believe my server settings are ok...

Apache 2.0.40
PHP Version 4.2.2
MySql 3.23.56

thanks,
t-s
Average of ratings: -
In reply to T Snake

Re: Various admin/setting changes not sticking

by T Snake -
Oh, and it won't accept my admin password either.
I even went in to manually change it in the db... still nothing.
thanks more,
t-s
In reply to T Snake

Re: Various admin/setting changes not sticking

by Martin Dougiamas -
Picture of Core developers Picture of Documentation writers Picture of Moodle HQ Picture of Particularly helpful Moodlers Picture of Plugin developers Picture of Testers
Sounds like major database problems ... does the database user you specified have write privileges?

Try dropping all the tables and starting over.
In reply to Martin Dougiamas

Re: Various admin/setting changes not sticking

by T Snake -
No go. Dropped all.
Recreated db:
CREATE DATABASE moodle;

then, as instructed:

GRANT SELECT,INSERT,DELETE,CREATE,DROP,INDEX,ALTER ON moodle.* TO moodle@localhost;

Now still getting
"Could not update the user record (2)" when trying to change admin password/info;
"Could not add your post due to an unknown error" when trying to add a discussion topic, and thus, I'm sure the rest are behaving in the same manner.

Anything else I could be missing?
thanks,
t-s
In reply to T Snake

Re: Various admin/setting changes not sticking

by Martin Dougiamas -
Picture of Core developers Picture of Documentation writers Picture of Moodle HQ Picture of Particularly helpful Moodlers Picture of Plugin developers Picture of Testers
Wierd. What happens if you try installing 1.0.9 from scratch?
In reply to Martin Dougiamas

Re: Various admin/setting changes not sticking

by T Snake -
I don't know.. I installed 1.1, so perhaps I should download a previous version and see. Hadn't thought of trying to go backward...
I'll post an update...
t-s



quick huh?
Update is this... same problems...
Even when clicking on the "Registration" button on the Admin page I get "Could not set admin's secret string!"
I can't say if it weird or not.. as I've only seem my installation woes ;)
t-s