Last modified: 2012-04-12 13:54:16 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 T27818, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 25818 - unserialize() error when using Oracle
unserialize() error when using Oracle
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
Database (Other open bugs)
1.16.x
All All
: Normal normal (vote)
: ---
Assigned To: Jure Kajzer
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2010-11-07 08:35 UTC by David D'Acquisto
Modified: 2012-04-12 13:54 UTC (History)
3 users (show)

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


Attachments
blob temporary descriptors added +en/decodeBlob (1.57 KB, patch)
2010-11-09 08:29 UTC, Jure Kajzer
Details

Description David D'Acquisto 2010-11-07 08:35:42 UTC
I having a similar error like 11292 bug but with Oracle 10g Express Edition. The error is:

function.unserialize Error at offset 0 of 48 bytes in /var/www/mediawiki-1.16.0/includes/BagOStuff.php

I just installed a fresh mediawiki on Redhat Enterprise Linux using Apache 2.2.17 and PHP 5.3.3. How should I proceed with debugging. Has anybody a hint or idea?

Thanks for your comments.
Comment 1 David D'Acquisto 2010-11-07 10:39:40 UTC
Oops I missed to add the line number where the error occurs. It is line number 437.
Comment 2 Bawolff (Brian Wolff) 2010-11-07 21:55:40 UTC
Switching component to DB.
Comment 3 Jure Kajzer 2010-11-08 15:07:16 UTC
Could you attach exception details http://www.mediawiki.org/wiki/Debugging

... and if possible the procedure to recreate that situation.
Comment 4 Jure Kajzer 2010-11-09 08:29:52 UTC
Created attachment 7805 [details]
blob temporary descriptors added +en/decodeBlob

Could you please try applying this patch ...
Comment 5 David D'Acquisto 2010-11-09 22:00:39 UTC
I tried the patch but without success. If you want you can try to reproduce the error with the following procedure:

Install Oracle Enterprise Linux 5.5 (free)
Install Oracle Express Edition
Install Apache 2.2.17
Install PHP 5.3.3
Untar Mediawiki 1.16
Execute maintenance/ora/user.sql
Install Mediawiki with Parameters like ...

$wgDBtype           = "oracle";
$wgDBserver         = "localhost";
$wgDBname           = "//loclahost:1521/XE";
$wgDBuser           = "USERNAME";
$wgDBpassword       = "PASSWORD";

and then you should see it on every page after successful installation. As I am not anymore highly interested in this issue take your time in fixing it. I hope someone else will contribute to the solution.

Bye, David
Comment 6 David D'Acquisto 2010-11-10 21:31:29 UTC
Jure, I can confirm that applying patch and executing ...

SQL> truncate table objectcache;

Table truncated.

SQL>

the issue apprears to be solved. You can mark this bug as fixed. :-)
Comment 7 javigreen 2010-11-11 13:06:31 UTC
hello. I am trying to install mediawiki with a database server is in a external database Oracle 10g. Could you tell me the steps to install and configure mediawiki. Thank you very much
Comment 8 Roan Kattouw 2010-11-11 13:15:11 UTC
Bugzilla is not a support forum. Don't reopen tangentially related to ask for help.

If you need help installing MediaWiki, ask on IRC (#mediawiki on irc.freenode.net) or on the mediawiki-l mailing list.

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


Navigation
Links