When installing from scratcj, and trying to add configuration:

user warning: Column count doesn't match value count at row 1 query: INSERT INTO customfilter_set (sid, name, cache, description, shorttips, longtips) VALUES(7, 'giz', '0', '', ''); in C:\wamp\www\drupal\includes\database.mysql.inc on line 172.

When using update path:



    * warning: array_merge() [function.array-merge]: Argument #2 is not an array in C:\wamp\www\panels10\update.php on line 309.
    * warning: Invalid argument supplied for foreach() in C:\wamp\www\panels10\update.php on line 542.

+

The following queries were executed
customfilter module
Update #1

    * No queries
CommentFileSizeAuthor
#5 customfilter_module.txt37.51 KBarhip
#3 customfilter.txt1.84 KBarhip
#2 Snap1_19.png27.54 KBamitaibu

Comments

arhip’s picture

Sorry, I wrote a wrong code. But update process should be ok. The module should have been updated and can be used now. You can try to edit some filtersets, there should be a new checkbox 'cache' checked now.

amitaibu’s picture

StatusFileSize
new27.54 KB

I've grabbed latest install, but still doesn't work install from scratch. BTW, when I look at tables I see no index defined, maybe it is the problem?

arhip’s picture

StatusFileSize
new1.84 KB

No, that's not the problem. The actual problem, there should be a field named 'cache' there. Try this attached customfilter.txt (I still dont know how to create a patch), and rename it into customfilter.install, then try to update. If it doesn't work, try to install again from scratch.

amitaibu’s picture

Installed from scratch, and since then I'm able to import configurations but not add manually a filter set.

Message is still:

user warning: Column count doesn't match value count at row 1 query: INSERT INTO customfilter_set (sid, name, cache, description, shorttips, longtips) VALUES(19, 'Filter set #', '1', '', ''); in C:\wamp\www\drupal\includes\database.mysql.inc on line 172.
arhip’s picture

StatusFileSize
new37.51 KB

Try this one. Rename it first into customfilter.module

arhip’s picture

Hi. Try to download the latest build of development snapshot. I've tried myself both installing from scratch and update, adding new filterset, and it worked as supposed to.

amitaibu’s picture

Status: Active » Fixed

seems to be fixed. Thanks.

Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.