Opened 14 years ago

Closed 14 years ago

#412 closed defect (worksforme)

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 (2)

comment:1 Changed 14 years ago by dmorton

  • Resolution set to worksforme
  • Status changed from new to closed

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.

comment:2 Changed 14 years 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.