I installed eyedrop, activated both modules, got no errors. Went to admin and created a content type. Added the eyedrop field and this was the result on the next page.
* user warning: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'a:4:s:1:"x";i:0;s:1:"y";i:0;s:1:"w";i:0;s:1:"h";i:0' at line 1 query: ALTER TABLE content_type_edtest ADD COLUMN field_eyedrop_params varchar(255) NOT NULL default a:4:s:1:"x";i:0;s:1:"y";i:0;s:1:"w";i:0;s:1:"h";i:0; in /var/www/includes/database.mysql.inc on line 172.
* warning: Invalid argument supplied for foreach() in /var/www/sites/all/modules/eyedrop/eyedrop_field/eyedrop_field.module on line 60.
* warning: Invalid argument supplied for foreach() in /var/www/includes/form.inc on line 945.
I set the field to required, hit save, and got the following error
warning: Invalid argument supplied for foreach() in /var/www/sites/all/modules/eyedrop/eyedrop_field/eyedrop_field.module on line 60.
Tried to create a new instance of my test content type, and eyedrop was just a text field in the node.
Attached is an export. (the export caused the same error as above also.)
| Comment | File | Size | Author |
|---|---|---|---|
| eyedrop.content.txt | 1.66 KB | hyperlogos |
Comments
Comment #1
hyperlogos commentedGot the following error deleting the content type:
But it appeared to work:
Modules disabled okay.
Comment #2
simeHey, welcome!
Yes, I got this using computed_field and because cck handles the table creation I've assumed it's a cck problem. I manually correct the SQL and created the table.
I should log this with cck but haven't got round to it. cck is changing quite quickly (they're changed their whole table naming scheme) so part of me assumes this is just teething with cck.
Comment #3
simeLogged
http://drupal.org/node/119207
Comment #4
simeActually, I've decided to manually add the quotemarks to the default and assume that's needed.
http://drupal.org/cvs?commit=56685
Comment #5
simedrinkypoo. just looking at your other errors, I'm not sure. Setting up the field has a couple of dependencies and I'm writing some decent install docs at the moment, maybe you can have another look later.
http://drupal.org/node/119625
Comment #6
hyperlogos commentedI will try to remember to reinstall and retest this in a sandbox on Tuesday (Monday's a holiday, thank goodness.)
Comment #7
simeChanging version (1.0 is now released)
Comment #8
(not verified) commentedComment #9
mokargas commentedWhere is 5.x-1.0? I have the blank field issue on 5.x-1.x-dev