The multistep forms fail when using a postgresql database. The reason is the double quotes around %s parameters; as far as I know single quotes are required. The attached patch fixes this problem.
# warning: pg_query() [function.pg-query]: Query failed: ERROR: column "unsubmitted" does not exist LINE 1: ...INTO multistep (nid, step, status) VALUES (90, 1, "unsubmitt... ^ in D:\Project\Natuurloket\svn\trunk\htdocs\includes\database.pgsql.inc on line 139.
# user warning: query: INSERT INTO multistep (nid, step, status) VALUES (90, 1, "unsubmitted") in D:\Project\Natuurloket\svn\trunk\htdocs\sites\all\modules\multistep\multistep.module on line 745.
| Comment | File | Size | Author |
|---|---|---|---|
| multistep.module.patch | 1.2 KB | jpulles |
Comments
Comment #1
pedrorocha commentedIt's ok with this. I made the same changes to a recent project and it's fully functional.
Comment #2
vkareh commentedMarking as duplicate of #684188: Minor issues with PostgreSQL. This issue was fixed there. Thanks!