Page MenuHomePhabricator

unserialize() error when using Oracle
Closed, ResolvedPublic

Description

Author: engineering

Description:
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.


Version: 1.16.x
Severity: normal

Details

Reference
bz25818

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 11:13 PM
bzimport set Reference to bz25818.

engineering wrote:

Oops I missed to add the line number where the error occurs. It is line number 437.

freak wrote:

Could you attach exception details http://www.mediawiki.org/wiki/Debugging

... and if possible the procedure to recreate that situation.

freak wrote:

blob temporary descriptors added +en/decodeBlob

Could you please try applying this patch ...

Attached:

engineering wrote:

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

engineering wrote:

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. :-)

franciscoj.carrillo.ext wrote:

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

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-General on irc.freenode.net) or on the mediawiki-l mailing list.