Last modified: 2014-07-30 20:04:24 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T55709, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 53709 - update.php doesn't work on oracle: DatabaseOracle::doQuery: ORA-00911: invalid character
update.php doesn't work on oracle: DatabaseOracle::doQuery: ORA-00911: invali...
Status: NEW
Product: MediaWiki
Classification: Unclassified
Maintenance scripts (Other open bugs)
1.22.0
All All
: Normal major (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks: oracle
  Show dependency treegraph
 
Reported: 2013-09-03 13:15 UTC by Peter Bena
Modified: 2014-07-30 20:04 UTC (History)
0 users

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Peter Bena 2013-09-03 13:15:48 UTC
petr@eliska:/var/www/w$ php maintenance/update.php
MediaWiki 1.22alpha Updater

Going to run database updates for wiki
Depending on the size of your database this may take a while!
Abort with control-c in the next five seconds (skip this countdown with --quick) ... 0
Recreating functions ...done.
Inserting page 0 if missing ... ok
...user_former_groups table already exists.
...index i02 already set on user table.
Modifying up_property field of table user_properties ...A database query syntax error has occurred.
The last attempted database query was:
"ALTER TABLE `{$wgDBprefix}`user_properties MODIFY up_property varchar2(255)
"
from within function "DatabaseOracle::doQuery".
Database returned error "911: ORA-00911: invalid character"
Comment 1 Andre Klapper 2014-07-07 14:24:36 UTC
Now it would be awesome to know which exact "invalid character" was found. :(
Comment 2 Jesús Martínez Novo (Ciencia Al Poder) 2014-07-30 20:04:24 UTC
I guess the invalid character is the "{" of {$wgDBprefix}. That PHP variable should have been substituted on the query sent to the database instead of being leaked as such!

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links