Error when generating codes
julient - June 19, 2009 - 22:54
| Project: | Registration Code |
| Version: | 6.x-1.1 |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed |
Jump to:
Description
I tried generating a code and I got the following error every time:
user warning: Unknown column 'is_onetime' in 'field list' query: INSERT INTO regcode (created,begins,expires,category,code,is_active,is_onetime) VALUES (NOW(), NULL, NULL, "Test", "123456", 1, 0) in /Users/julien/Sites/dev.clubesf.com/httpdocs/sites/all/modules/regcode/regcode.api.php on line 120.
Is there something to edit in the code to fix it?

#1
Just change is_onetime to maxuses on line 120 of regcode.api
Alternatively just update your version of regcode to the latest stable!
#2
That solved the error, thanks.
#3