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.
CommentFileSizeAuthor
multistep.module.patch1.2 KBjpulles

Comments

pedrorocha’s picture

Status: Needs review » Reviewed & tested by the community

It's ok with this. I made the same changes to a recent project and it's fully functional.

vkareh’s picture

Status: Reviewed & tested by the community » Closed (duplicate)

Marking as duplicate of #684188: Minor issues with PostgreSQL. This issue was fixed there. Thanks!