I just started using this module and everything is fine until I uncheck any item, then I get something similar to the following: -
Warning: Table 'eb1_watchdog' was not locked with LOCK TABLES query: INSERT INTO eb1_watchdog (uid, type, message, severity, link, location, referer, hostname, timestamp) VALUES (1, 'php', 'Duplicate entry 'myaccount_alter_QnVzaW5lc3MgT3duZXIgR29hbHM=_pro' for key 1\nquery: INSERT INTO eb1_variable (name, value) VALUES ('myaccount_alter_QnVzaW5lc3MgT3duZXIgR29hbHM=_profile', 'i:1;') in /var/www/entrebah/includes/database.mysql.inc on line 172.', 2, '', 'http://localhost/entrebah/admin/user/myaccount-alter', 'http://localhost/entrebah/admin/user/myaccount-alter', '127.0.0.1', 1226524004) in /var/www/entrebah/includes/database.mysql.inc on line 172
Warning: Table 'eb1_watchdog' was not locked with LOCK TABLES query: INSERT INTO eb1_watchdog (uid, type, message, severity, link, location, referer, hostname, timestamp) VALUES (1, 'php', 'Duplicate entry 'myaccount_alter_QmlvZ3JhcGhpY2FsIEluZm9ybWF0aW9u' for key 1\nquery: INSERT INTO eb1_variable (name, value) VALUES ('myaccount_alter_QmlvZ3JhcGhpY2FsIEluZm9ybWF0aW9u_profile', 'i:1;') in /var/www/entrebah/includes/database.mysql.inc on line 172.', 2, '', 'http://localhost/entrebah/admin/user/myaccount-alter', 'http://localhost/entrebah/admin/user/myaccount-alter', '127.0.0.1', 1226524004) in /var/www/entrebah/includes/database.mysql.inc on line 172
Warning: Table 'eb1_watchdog' was not locked with LOCK TABLES query: INSERT INTO eb1_watchdog (uid, type, message, severity, link, location, referer, hostname, timestamp) VALUES (1, 'php', 'Duplicate entry 'myaccount_alter_U2VydmljZSBQcm92aWRlciBHb2Fscw==' for key 1\nquery: INSERT INTO eb1_variable (name, value) VALUES ('myaccount_alter_U2VydmljZSBQcm92aWRlciBHb2Fscw==_profile', 'i:1;') in /var/www/entrebah/includes/database.mysql.inc on line 172.', 2, '', 'http://localhost/entrebah/admin/user/myaccount-alter', 'http://localhost/entrebah/admin/user/myaccount-alter', '127.0.0.1', 1226524004) in /var/www/entrebah/includes/database.mysql.inc on line 172
Warning: Table 'eb1_watchdog' was not locked with LOCK TABLES query: INSERT INTO eb1_watchdog (uid, type, message, severity, link, location, referer, hostname, timestamp) VALUES (1, 'php', 'Duplicate entry 'myaccount_alter_Q29udGFjdCBJbmZv_contactinformat' for key 1\nquery: INSERT INTO eb1_variable (name, value) VALUES ('myaccount_alter_Q29udGFjdCBJbmZv_contactinformation', 'i:1;') in /var/www/entrebah/includes/database.mysql.inc on line 172.', 2, '', 'http://localhost/entrebah/admin/user/myaccount-alter', 'http://localhost/entrebah/admin/user/myaccount-alter', '127.0.0.1', 1226524004) in /var/www/entrebah/includes/database.mysql.inc on line 172
Warning: Table 'eb1_watchdog' was not locked with LOCK TABLES query: INSERT INTO eb1_watchdog (uid, type, message, severity, link, location, referer, hostname, timestamp) VALUES (1, 'php', 'Duplicate entry 'myaccount_alter_Q29tcGFueSBQcm9maWxl_companyprof' for key 1\nquery: INSERT INTO eb1_variable (name, value) VALUES ('myaccount_alter_Q29tcGFueSBQcm9maWxl_companyprofile', 'i:1;') in /var/www/entrebah/includes/database.mysql.inc on line 172.', 2, '', 'http://localhost/entrebah/admin/user/myaccount-alter', 'http://localhost/entrebah/admin/user/myaccount-alter', '127.0.0.1', 1226524004) in /var/www/entrebah/includes/database.mysql.inc on line 172
Warning: Table 'eb1_watchdog' was not locked with LOCK TABLES query: INSERT INTO eb1_watchdog (uid, type, message, severity, link, location, referer, hostname, timestamp) VALUES (1, 'php', 'Duplicate entry 'myaccount_alter_U3Vic2NyaXB0aW9uIFN0YXR1cw==_sub' for key 1\nquery: INSERT INTO eb1_variable (name, value) VALUES ('myaccount_alter_U3Vic2NyaXB0aW9uIFN0YXR1cw==_subsciptions', 'i:1;') in /var/www/entrebah/includes/database.mysql.inc on line 172.', 2, '', 'http://localhost/entrebah/admin/user/myaccount-alter', 'http://localhost/entrebah/admin/user/myaccount-alter', '127.0.0.1', 1226524004) in /var/www/entrebah/includes/database.mysql.inc on line 172
Warning: Table 'eb1_watchdog' was not locked with LOCK TABLES query: INSERT INTO eb1_watchdog (uid, type, message, severity, link, location, referer, hostname, timestamp) VALUES (1, 'php', 'Duplicate entry 'myaccount_alter_UHJpdmF0ZSBtZXNzYWdlcw==_private' for key 1\nquery: INSERT INTO eb1_variable (name, value) VALUES ('myaccount_alter_UHJpdmF0ZSBtZXNzYWdlcw==_privatemsg', 'i:0;') in /var/www/entrebah/includes/database.mysql.inc on line 172.', 2, '', 'http://localhost/entrebah/admin/user/myaccount-alter', 'http://localhost/entrebah/admin/user/myaccount-alter', '127.0.0.1', 1226524004) in /var/www/entrebah/includes/database.mysql.inc on line 172
It appears by using backtrace in Devel that the Variables are being set multiple times on each form submit, which is causing the mysql error. Any thoughts or ideas for work arounds?
Gary
Comments
Comment #1
jody lynnIt's hard for me to imagine how that could be occurring and we haven't heard that error from anyone else.
Can you try disabling other contrib modules to try to determine if one of your other modules is causing a conflict?
Comment #2
dsel commentedI'm getting the same thing. Will try to turn some things off and see if that helps.
Comment #3
ramriot commentedWork moved on and issue did not re-occur, closing now to clear decks.