Installation problem

Installation problem

by Peter M. -
Number of replies: 1

I get the following trying to install the book module in Moodle 1.6

Any advice?

mysql): INSERT INTO mdl_log_display VALUES ('book', 'update', 'book', 'name')  


1136: Column count doesn't match value count at row 1
         
      
   


// P

                        
Average of ratings: -
In reply to Peter M.

Re: Installation problem

by Peter M. -

I manage to find a solution for the problem. I made changes in  /book/db/mysql.sql  (marked with red color):

INSERT INTO prefix_log_display VALUES ('','book', 'update', 'book', 'name');

INSERT INTO prefix_log_display VALUES ('','book', 'view', 'book', 'name');

INSERT INTO prefix_log_display VALUES ('','book', 'view all', 'book', 'name');

INSERT INTO prefix_log_display VALUES ('','book', 'print', 'book', 'name');

As far as I can tell there was a problem with too few columns and was solved by adding blank data for the first column.

// Peter

Average of ratings: Useful (1)