indent ...

indent ...

by Herbert Keijers -
Number of replies: 3

My indent "arrow" is not working anymore when I "Turn editing on" :

I get : Could not update the indent level on that course module

When I turn debug mode on :

Warning: Undefined property: indent in /usr/www/html/moodle/course/lib.php on line 923
Warning: Undefined property: indent in /usr/www/html/moodle/course/lib.php on line 953

Warning: Undefined property: indent in /usr/www/html/moodle/course/mod.php on line 222
Could not update the indent level on that course module

It happens with all my courses.
I do not suspect any code problem in Moodle because on a parrallel moodle environement it is working OK. ( Both run Moodle 1.2 Beta + (2004030702) ).
I think something could be wrong with one of the moodle's table(s).

Can anyone point me in the right direction ? My specs are click

Average of ratings: -
In reply to Herbert Keijers

Re: indent ...

by Herbert Keijers -
help ...  sad
I even backed up my moodle (mysql database and moodledata dir) to a test freebsd system but the indent problem remains.
I can't find where the indent level is kept in a table of the database.
Almost shure a table is corrupt !
I'm on the latest moodle.
This is what I see in the debug mode ...


Attachment brokenmoodle.png
In reply to Herbert Keijers

Re: indent ...

by Gustav W Delius -

Does your mdl_course_modules table have a field called 'indent'? If not then something must have gone wrong during a past update.

In reply to Gustav W Delius

Re: indent ...

by Herbert Keijers -
Somehow the mdl_course_modules table lost indeed the indent field !
Just created a field 'indent' off type 'int(5)' in the table and all errors are gone big grin
Life can be simple ...
Thanks Gustav !