In function "aggregator_save_category" in aggregator.module when you insert aggregator category you are trying to get the last insert id from nonexisting database table:

db_query("INSERT INTO {aggregator_category} (title, description, block) VALUES ('%s', '%s', 5)", $edit['title'], $edit['description']);
$link_path .= db_last_insert_id('aggregator', 'cid');
$op = 'insert';

As you see the table is : "aggregator_category" so you need to call db_last_insert_id('aggregator_category', 'cid');

Comments

dpearcefl’s picture

Title: Proble with inserting category when using postgre » Problem with inserting category when using postgresql

Is this still an issue using current Drupal 6?

vflirt’s picture

Looks fixed. It is easy to check in the aggregator.module file in the release you donwloaded.

dpearcefl’s picture

Status: Active » Fixed

Status: Fixed » Closed (fixed)

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