Last modified: 2007-12-22 19:33:09 UTC
When you protect a Title (new functionnality) which is not created, we read the following error message depuis la fonction « Title::updateTitleProtection ». MySQL a renvoyé l’erreur « 1054 : Unknown column 'pt_user' in 'field list' (sql:3306) ». The problem is due to a bug in Title.php lines 1209 and 1298. The `protected_titles` TABLE in MySql database has no column intituled `tp_user` but has `pt_by` column I join a patch file correcting this mistake.
Created attachment 4440 [details] Correcting bug in MySql database This is the patch file which corrects the problem.
This problem is severe
The problem is due from the revision #28417 which modify `pt_by` to `pt_user` without changing the name of the column to the `protected_titles` TABLE. The revision must be reverted or the column 'pt_by' `protected_titles` TABLE to be modified in 'pt_user'. I thing that a simple reverted will be better.
Changed tables.sql in r28570 for MySQL. I expect Greg will fix pgsql shortly.