I have the following Problem in Moodle 1.8:
Tried to install myFiles from downloadpage and get from 8 sections in
the admin-page in the last 3 sections errors.
Then I found: http://moodle.org/mod/forum/discuss.php?d=74805
After downloading I got in in the forst 5 Sections of admin-page
mySQL-Errors (alredy exist - bofore there was success!) an the last 3
sections i got success - before there was errors).
But myFiles could not be installed
What's to do? Any hints?
Thank you
Peter
http://moodle.org/mod/forum/discuss.php?d=31943 (http://moodle.org/file.php/5/moddata/forum/352/317132/file_manager.zip)
and that should do it
Re: Odp: Problem with installation of myFiles in 1.8
Re: Odp: Problem with installation of myFiles in 1.8
(mysql): INSERT INTO mdl_log_display (module, action, mtable, field) VALUES ('fmanager', 'add', 'fmanager', 'name')
1062: Duplicate entry 'fmanager-add' for key 2
....
1062: Duplicate entry 'fmanager-update' for key 2
....
1062: Duplicate entry 'fmanager-view' for key 2
I'm not so firm with mySQL - what have I to do?
Can anyone help?
Greetings
Peter
To delete the records for fmanager in the mdl_log_display table use phpMyAdmin and try:
DELETE FROM mdl_log_display
WHERE module = 'fmanager';
Odp: Re: Odp: Problem with installation of myFiles in 1.8
Re: Odp: Re: Odp: Problem with installation of myFiles in 1.8
thank you very much for your help. I've deletet now the entries with
DELETE FROM mdl_log_display WHERE module = 'fmanager';
Now the filemanager is installed in Moodle
but ...
if I try to create folders (adding an block and klicking the folder-symbol)
an errormessage appears:
Fatal error: Class 'block_list' not found in /usr/share/moodle/lang/en_utf8/block_file_manager.php on line 5
I have installed en_utf8 and de_utf8.
Sorry, but it seems I need help step by step.
Peter
Re: Odp: Re: Odp: Problem with installation of myFiles in 1.8
I found this post:
http://moodle.org/mod/forum/discuss.php?d=31943
and installed the block_file_manager.php from Ralf Hilgenstock
in my german lang-directory, deleted all the fmanager-entries like
you described and called the admin-page.
myFiles are working now with 1.8
Thank you all for the help
Peter
Re: Odp: Re: Odp: Problem with installation of myFiles in 1.8
I cannot get this to work. The tables in the database are sucessfully set up and then I get the error messages below. This suggests the structure of the mdl_log_display table doesn't match the block install php code.
(mysql): INSERT INTO mdl_log_display VALUES ('fmanager', 'add', 'fmanager', 'name')
1136: Column count doesn't match value count at row 1
(mysql): INSERT INTO mdl_log_display VALUES ('fmanager', 'update', 'fmanager', 'name')
1136: Column count doesn't match value count at row 1
(mysql): INSERT INTO mdl_log_display VALUES ('fmanager', 'view', 'fmanager', 'name')
1136: Column count doesn't match value count at row 1
Re: Odp: Re: Odp: Problem with installation of myFiles in 1.8
You must correct the sql statement in db/mysql.sql
The last 4 lines should look like these
INSERT INTO prefix_log_display (module, action, mtable, field) VALUES ('book', 'update', 'book', 'name');
INSERT INTO prefix_log_display (module, action, mtable, field) VALUES ('book', 'view', 'book', 'name');
INSERT INTO prefix_log_display (module, action, mtable, field) VALUES ('book', 'view all', 'book', 'name');
INSERT INTO prefix_log_display (module, action, mtable, field) VALUES ('book', 'print', 'book', 'name');
Don't forget to remove the prefix_fmanger* tables from the db before installing the block again
Re: Odp: Re: Odp: Problem with installation of myFiles in 1.8
Hello
I did have the same problem. After some changes in the mysql.sql finally the admin job finished.
I could select the block, but I can't add any new links or whatsoever.
I just get a screen where I can't fill in anything
???????????????????????