Ticket #412 (closed defect: worksforme)

Opened 22 months ago

DB_Error::fetchRow

Reported by: mail@… Owned by: dmorton
Priority: high Milestone: 1.1.0
Component: PHP scripts Version: 1.1.0 Devel
Severity: major Keywords: setting error
Cc:

Description

I've found a bug in maia 1.1 devel / svn trunk:

Fatal error: Call to undefined method DB_Error::fetchRow() in /var/www/antispam/settings.php on line 749

Settings URL: https://myserver/antispam/settings.php?addid=2

Change History

Changed 22 months ago by dmorton

  • status changed from new to closed
  • resolution set to worksforme

This is almost certainly due to the wrong schema, the schema files need to

be updated. run admin/upgrade.php, it may fix your database schema. Or at least look at the last script to see what changed. IIRC, discard_ham and spamtrap have been moved from maia_usrs to users, as they apply per address and not per user.

Changed 22 months ago by anonymous

Replying to dmorton:

> This is almost certainly due to the wrong schema, the schema files need to be Right!

The sql files in trunk are wrong - I've checked against maia-mysql.sql and maia-pgsql.sql.

admin/upgrade.php resolves the issue but the sql files are old.

Note: See TracTickets for help on using tickets.