DB table not created for 6.x-2 on postgreSQL. (This issue also noted for the dev version on MySQL).

    * warning: pg_query() [function.pg-query]: Query failed: ERROR: type modifier is not allowed for type "text" LINE 7: summary_pass text(65535), ^ in C:\Program Files\Apache Software Foundation\Apache2.2\htdocs\includes\database.pgsql.inc on line 139.
    * user warning: query: CREATE TABLE quiz_node_properties ( property_id serial CHECK (property_id >= 0), vid int_unsigned NOT NULL, nid int_unsigned NOT NULL, number_of_random_questions smallint_unsigned NOT NULL default 0, pass_rate smallint_unsigned NOT NULL, summary_pass text(65535), summary_default text(65535), shuffle smallint_unsigned NOT NULL, backwards_navigation smallint_unsigned NOT NULL, feedback_time smallint_unsigned NOT NULL, quiz_open int_unsigned NOT NULL default 0, quiz_close int_unsigned NOT NULL default 0, takes smallint_unsigned NOT NULL, time_limit int_unsigned NOT NULL default 0, quiz_always smallint NOT NULL default 0, tid int_unsigned NOT NULL default 0, PRIMARY KEY (property_id) ) in C:\Program Files\Apache Software Foundation\Apache2.2\htdocs\includes\database.inc on line 515.
    * warning: pg_query() [function.pg-query]: Query failed: ERROR: type modifier is not allowed for type "text" LINE 6: option_summary text(65535), ^ in C:\Program Files\Apache Software Foundation\Apache2.2\htdocs\includes\database.pgsql.inc on line 139.
    * user warning: query: CREATE TABLE quiz_node_result_options ( option_id serial CHECK (option_id >= 0), nid int_unsigned NOT NULL, vid int_unsigned NOT NULL, option_name varchar(255) NOT NULL, option_summary text(65535), option_start int_unsigned default 0, option_end int_unsigned default 0, PRIMARY KEY (option_id) ) in C:\Program Files\Apache Software Foundation\Apache2.2\htdocs\includes\database.inc on line 515.

Hope this helps,

V

Comments

mbutcher’s picture

Version: 6.x-2.1 » 6.x-3.0-alpha1
Status: Active » Fixed

This has been fixed in Quiz 3.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.