I am getting error when updating database for upgrading module to beta2 version
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 'NOT NULL' at line 1 query: ALTER TABLE int_meta_fields ALTER combine SET NOT NULL in /home/***/update.php on line 77.
any fix for it?
Thanks
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | Page.png | 25.86 KB | Arshad Vayani |
Comments
Comment #1
Arshad Vayani commentedokay i just uninstalled it and installed again now i am getting a old problem which i get everytime!
when i create a field and save it and than after some times i create another field and try to add it i get error in a popup and than when i refresh page i get this error
and than i refresh one more time that error disappears and i can add new field!
Comment #2
fractile81 commentedThat's odd. Looking at the code on that line, those errors would indicate that your form wasn't cached properly when you started working on that page. I'll have to dig into what might cause this, but any additional information might help. What kind of field were you adding (CCK? Taxonomy? Node?)? Any other settings when you clicked add? Can you reproduce this without any other tags defined, or is it only after you've added at least one?
As for the database error, I'll go back and verify I have the syntax right.
Thanks!
Comment #3
Arshad Vayani commentedI got that error when i tried to added taxonomy term in page content type under meta tags menu.
I think it is some sort of theme problem the table is breaking layout see the below screenshot.
i will try to reproduce that error
Comment #4
dropchew commentedHi,
I got this error when adding a new cck field.
warning: array_keys() [function.array-keys]: The first argument should be an array in /home/jucaacom/public_html/sites/all/modules/int_meta/int_meta_cck.module on line 39.
warning: Invalid argument supplied for foreach() in /home/jucaacom/public_html/sites/all/modules/int_meta/int_meta_cck.module on line 39.
Also I notice after I unistall a cck field module, it still choosable from the field drop down list from the content type metatag admin page. Seems like adding/deleting cck fields after installation of the meta_tags_cck module remains at the same state when meta_tags_cck is installed.
Comment #5
fractile81 commentedIs the error you got with BETA5? What kinds of field types are you defining with CCK? What version of PHP?
And how comfortable might you be with editing PHP code for debugging purposes?
Comment #6
buzzybron commentedhey i have gotten this error with adding a multi reference node field -> http://drupal.org/project/multireference
After adding one of the multireference field type i get that error.
warning: array_keys() [function.array-keys]: The first argument should be an array in /modules/int_meta/int_meta_cck.module on line 39.
warning: Invalid argument supplied for foreach() in /int_meta/int_meta_cck.module on line 39.
Do let me know how i can help. I did some hack on the multireference module to utilize checkboxes instead of select inputs. Anyway the hack is not the cause of the warning, i have already check. I am very comfortable with editing the php code. Using PHP 5 and int_meta beta 7.
Please advice.
Comment #7
avpadernoThis is a report for the Drupal 6 version of the module. If you have problems with the Drupal 5 version, you need to open a different report.
Comment #8
avpadernoIs the issue valid also for beta7?
Comment #9
avpadernoI am closing this issue, which is for a not supported Drupal version.