Closed (fixed)
Project:
MediaWiki API
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
21 Jun 2012 at 08:51 UTC
Updated:
27 Jul 2014 at 13:53 UTC
Jump to comment: Most recent
Comments
Comment #1
asrobWhich version do you use? Have you tried to enable only the mediawiki filter?
Anyway there was an issue like this, #1380708: Unserialize error thrown for longer mediawiki text, reopen it, if it still exists.
Comment #2
Bogus commentedOk, I found the fault, that was my.
I have forgot install a mediawiki, but I have thinking that I not must install a mediawiki
sorry, for that.
And the bug can you now close ;D
Comment #4
endiku commentedWhat does the original poster mean by "install a mediawiki"?
I am receiving the exact same error but I've input the MediaWiki API URL http://mediawiki.org/w/api.php into the created Text Filter after enabling MediaWiki API.
The setup is fairly simple. Am I missing something?
Comment #5
asrobendiku, so does it still exist?
Yeah, it's fairly simple, I don't think you missed anything.
Comment #6
endiku commentedYes. I am still receiving Error at offset 0 of 242 bytes in _mediawiki_api_process() (line 108 of mediawiki_api.module).
I enable the module. Create a Text format specifically for MediaWiki API, select MediaWiki API as the only enabled filter and set http://mediawiki.org/w/api.php as the MediaWiki API url in the filter settings.
Then I make a very basic page with that filter and the error occurs. Even if there isn't any wiki syntax to convert the error still occurs.
Comment #7
Sarenc commentedThe URL has moved but cURL doesn't support the redirect. use http://www.mediawiki.org/w/api.php
Comment #8
dalphi commentedI'm having this exact same problem. I'm using the latest version, along with the correct URL: http://mediawiki.org/w/api.php
Any text input into content using this text format produces a blank page, along with the error message at the top of the page.
My network requires a proxy. Could this be related to a proxy issue?
Comment #9
dalphi commentedNevermind. I missed the part about not redirecting correctly.
Comment #9.0
dalphi commentededit
Comment #10
asb commentedSame issue still appears in 7.x-1.0-beta3:
Notice: unserialize(): Error at offset 0 of 242 bytes in _mediawiki_api_process() (line 108 of /var/www/drupal/sites/all/modules/mediawiki_api/mediawiki_api.module).How do I set up MediaWiki locally? I it possible to simply unpack the ZIP file to some folder, or is a full installation (including web access and database) required?