https://bugzilla.wikimedia.org/show_bug.cgi?id=32822
[email protected] changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |[email protected] --- Comment #15 from [email protected] 2012-01-06 05:47:08 UTC --- Debian 6.0 PostgreSQL 8.4 PHP 5.3 I can confirm that uploading any attachments (not just images) is not possible with the svn branch mentioned in comment #13. Running the maintenance/update.php script creates the missing table: mediawiki | uploadstash | table | test_wiki_user But if I upload a file, delete it, and then try uploading it again this error appears: Warning: Invalid argument supplied for foreach() in /var/www/test-wiki/includes/db/Database.php on line 2253 Warning: pg_query() [function.pg-query]: Query failed: ERROR: syntax error at or near ")" LINE 1: ...Stash::stashFile Jon Doe */ FROM "uploadstash" WHERE ) ^ in /var/www/test-wiki/includes/db/DatabasePostgres.php on line 253 I'm not sure if I need to attach any more logs since there already is one here but here are links if required: With $wgShowExceptionDetails set to true: http://pastebin.com/raw.php?i=myPhBM31 Excerpt from Postgres' log: http://pastebin.com/raw.php?i=TYbncnBm Making these changes manually doesn't help https://svn.wikimedia.org/viewvc/mediawiki/branches/REL1_18/phase3/maintenance/postgres/archives/patch-uploadstash.sql?revision=105349&view=co -- Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email ------- 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
