I'm working with drupal-6.4-DE.
On creation of the first quicktab, the object ist stored by qtid=0.

This Error appears:

    * warning: pg_query() [function.pg-query]: Query failed: FEHLER: currval von Sequenz »quicktabs_qtid_seq« ist in dieser Sitzung noch nicht definiert in /www/.../drupal-6.4-DE/includes/database.pgsql.inc on line 138.
    * user warning: query: SELECT CURRVAL('quicktabs_qtid_seq') in /www/.../drupal-6.4-DE/includes/database.pgsql.inc on line 231.

I can just create one quicktab. the second it stores even on qtid=0, like the first.

I think, db_last_insert_id on line 576 is the problem in quicktabs.module (see function quicktabs_createblock).

http://api.drupal.org/api/function/db_last_insert_id/7 :
db_last_insert_id: @todo Remove this function when all queries have been ported to db_insert().

There is a similar problem: http://drupal.org/node/183125

I have no solution yet, but a stone age hack: change the qtid after each creation from 0 to next value by hand.

Comments

pasqualle’s picture

Version: 6.x-1.0-beta1 » 6.x-2.x-dev
Status: Active » Postponed (maintainer needs more info)

can you please test the 6.x-2.x version?

pasqualle’s picture

Status: Postponed (maintainer needs more info) » Closed (fixed)

The issue is without response and this should not be a problem in the latest release. Closing..

Feel free to reopen the issue if the problem still exists.