https://bugzilla.wikimedia.org/show_bug.cgi?id=57747
Web browser: ---
Bug ID: 57747
Summary: Port to Postgres Database
Product: MediaWiki extensions
Version: REL1_21 branch
Hardware: Other
OS: Linux
Status: UNCONFIRMED
Severity: normal
Priority: Unprioritized
Component: BlogPage
Assignee: [email protected]
Reporter: [email protected]
Classification: Unclassified
Mobile Platform: ---
Es ist ein Datenbankfehler aufgetreten. Der Grund kann ein Programmierfehler
sein. Die letzte Datenbankabfrage lautete:
UPDATE "user_stats" SET stats_opinions_created = NULL WHERE stats_user_id =
'1'
aus der Funktion „BlogHooks::updateCreatedOpinionsCount“. Die Datenbank meldete
den Fehler „23502: FEHLER: NULL-Wert in Spalte »stats_opinions_created«
verletzt Not-Null-Constraint “.
I have chnaged BlockHooks.php line 171/172 to
array( 'stats_opinions_created' => $opinionsCreated ),
array( 'stats_opinions_created' => '1' ),
and it works.
How can I solve this?
Regards,
basti
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l