if(!ob_start("ob_gzhandler")) ob_start();
Where in the index.php are you placing this? I'm getting the same error.I've solved this issue. I believe this may have been something to do with the gzip compression difference when jumping from zenoforo to the wiki.
Since the cookie in the header from xenforo is sent under a gzip compression
On sending it to the subfolder wiki, it's not recognise
I solved this by adding the following line in the index.php of the wiki:
Code:if(!ob_start("ob_gzhandler")) ob_start();
This function will turn output buffering on. While output buffering is active no output is sent from the script (other than headers)
If you get "Error 330 (net::ERR_CONTENT_DECODING_FAILED): Unknown error.", then its worth trying the above
right near the top:
# Initialise common code
$preIP = dirname( __FILE__ );
require_once( "$preIP/includes/WebStart.php" );
if(!ob_start("ob_gzhandler")) ob_start();
# Initialize MediaWiki base class
$mediaWiki = new MediaWiki();
I was going to say... We use Vector on our site, and have no issues.
Glad to hear it solved itself, though![]()
Adding if(!ob_start("ob_gzhandler")) ob_start(); to load.php after the webstart fixes the CSS issue. An official fix would be great though.It stopped working all of the sudden moments after I posted that... Absolutely no style information is getting passed to the page when using Vector. Monobook works fine but... It's Monobook. I really have no idea what the issue could be... Tried multiple fresh installations with different options here and there and it just wasn't happening; unfortunately had to remove itWould really liked to have used this.
SchmitzIT, would you be willing to post your LocalSettings.php and index.php so I can compare?
Would running 1.1 beta 2 have anything to do with it? I can't imagine the cookie/login functions would have changed in any meaningful way, and it works using Monobook. I just don't know.
Adding if(!ob_start("ob_gzhandler")) ob_start(); to load.php after the webstart fixes the CSS issue. An official fix would be great though.
I too am using the latest MediaWiki and XenForo 1.1.0 beta 2.
Edit: My wiki's logo seems to disappear though when you login... hmmm. So I guess that isn't a complete fix.
Thanks for the tip. I'll have to fool around with it when it's more of a priority haha. We've been working on getting the rest of the forums and other sites integrated first.I'll definitely give this a shot tomorrow morning, thanks for the hint
With your logo, it might show up if you remove the path variable from LocalSettings.php line for the logo and type it in manually.
Off topic, just noticed your sig. Actually setting AuthDB up on my server tomorrow morning, LOL.Thanks for the tip. I'll have to fool around with it when it's more of a priority haha. We've been working on getting the rest of the forums and other sites integrated first.
SchmitzIT, would you be willing to post your LocalSettings.php and index.php so I can compare?
Are you using MediaWiki 1.17.0?I tried pasting everything in here, but it's too much. I added it as an attachment, albeit I edited out passwords, and have a bunch of things abbreviated (whereever you see ..., it will indicatge there were multiple similar lines. Example: Namespaces and keywords).
There's a LOT in there you will not need. We use lots of extensions, incouding Semantic Wiki, and that requires a lot of extra tweaking and tuning.
We made no changes in index.php.
We use essential cookies to make this site work, and optional cookies to enhance your experience.