Last modified: 2014-10-16 13:53:29 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 T66602, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 64602 - unserialize() error in LocalisationCache.php on MySQL
unserialize() error in LocalisationCache.php on MySQL
Status: RESOLVED WORKSFORME
Product: MediaWiki
Classification: Unclassified
Internationalization (Other open bugs)
1.23rc
All All
: Unprioritized normal (vote)
: ---
Assigned To: Nobody - You can work on this!
: testme
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-04-29 13:12 UTC by Jamie Thingelstad
Modified: 2014-10-16 13:53 UTC (History)
11 users (show)

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


Attachments

Description Jamie Thingelstad 2014-04-29 13:12:07 UTC
Seeing the following PHP notice after upgrading to 1.23.0rc0.

PHP Notice:  unserialize(): Error at offset 0 of 8 bytes in .../w/includes/cache/LocalisationCache.php on line 1298

Always at that line number. The bytes changes:

Error at offset 0 of 27 bytes
Error at offset 0 of 11 bytes
Comment 1 Jamie Thingelstad 2014-06-02 21:10:50 UTC
This bug continues to happen during runJobs.php dozens of times throughout the day using 1.23.0-rc.1.
Comment 2 Niklas Laxström 2014-06-02 21:41:51 UTC
Please try rebuilding your cache with php maintenance/rebuildLocalisationCache.php --force

It is probably corrupted somehow.
Comment 3 Jamie Thingelstad 2014-06-02 21:52:19 UTC
So I alternatively have just tried "rm -rf *" in my cache directory which destroys all existing ones and they automatically get recreated. That does not help. The files get rebuilt and I continue to get errors in runJobs.

Should that also fix it if it is corrupted?
Comment 4 Aaron Schulz 2014-06-04 16:03:52 UTC
What database is used? Postgres?
Comment 5 Jamie Thingelstad 2014-06-04 20:40:37 UTC
MySQL. 

https://wikiapiary.com/wiki/Special:Version
Comment 6 Andre Klapper 2014-08-04 13:23:35 UTC
Jamie: I assume this is still a problem in 1.23.2?
Comment 7 Niklas Laxström 2014-10-16 13:53:29 UTC
Tentatively closing for lack of updates or other reports of the same issue. Please do reopen if this is still happening with latest version of MediaWiki.

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


Navigation
Links