ERROR MSG:
user warning: Column count doesn't match value count at row 1 query: INSERT INTO node_limit VALUES('1', '1', 'test2', '0') in /home/www/sites/all/modules/node_limit/node_limit.module on line 521.
using Dev version (infact i have tried both version but getting same problem)
any suggestion, thanks in advance
;)
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | node_limit.patch | 625 bytes | japicoder |
Comments
Comment #1
japicoder commentedI suppose this module haven't been deep tested because this error is trivial.
As the warning says 'column count does not match' and this is because the INSERT query, needs 5 values instead of the 4 now it receives.
I solved it modifying the node_limit.install file, because it has an extra column 'node_type' which is managed by the node_limit_type module.
I send the simple patch.
However, the module has still big problems, like this at line 106 on node_limit.module: print_r($node); die(); (wtf??)
Comment #2
duaelfr