https://bugzilla.wikimedia.org/show_bug.cgi?id=64970

            Bug ID: 64970
           Summary: errors using Oracle DB with oci8
           Product: MediaWiki
           Version: 1.22.5
          Hardware: PC
                OS: Linux
            Status: UNCONFIRMED
          Severity: blocker
          Priority: Unprioritized
         Component: Database
          Assignee: [email protected]
          Reporter: [email protected]
       Web browser: ---
   Mobile Platform: ---

Created attachment 15308
  --> https://bugzilla.wikimedia.org/attachment.cgi?id=15308&action=edit
setup info and error related info

Several errors in DatabaseOracle.php related BLOB Oracle data type
errors during setup:
Warning - strpos() expects parameter 1 to be string on removeIdentifierQuotes
and isQuotedIdentifier

I fixed these errors checking data type for parameter before call to strpos()

Also:
Error: 1400 ORA-01400: cannot insert NULL into
("WIKI"."WIKI_INTERWIKI"."IW_API")

I fixed this error redefining WIKI_INTERWIKI so columns IW_API, IW_LOCAL and
IW_TRANS now accepting null values

After both changes I made, the configuration ran OK without warnings

Basic operation is OK (content added without problems)

Problems begins when attempt to delete an image stored. Update operation fails
with this message

Warning: OCI-Lob::writetemporary() expects parameter 1 to be string, object
given in /usr/local/apache2/htdocs/wiki/includes/db/DatabaseOracle.php on line
1327

Until now, cannot solve this problem.

Attached detailed info

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to