Customizing SMF > Portals, Bridges, and Integrations

SMF-Mediawiki Integration Error

(1/1)

Sethv2:
Yep, another one of these threads. Unfortunately, everyone else's problems seem to occur after they get the integration to work in the first place. I am using MediaWiki 1.19 (Fresh install) and SMF 2.0.2. I'm just trying to get the integration to work before I start messing with user groups, so the only thing I have changed from the githubs localsetting.php file is the directory location ($wgSMFPath = "../forum"; changed to $wgSMFPath = "../main";). That line at least I know is set correctly because otherwise I get a "Check to make sure $wgSMFPath is correctly set in LocalSettings.php!" message. Now having set the localsettings.php to just activate the "/Auth_SMF.php" file, I get the following error messages:


--- Code: ---Warning: Cannot modify header information - headers already sent by (output started at /home/content/i/l/k/ilkhaniv/html/roster/extensions/Auth_SMF.php:1) in /home/content/i/l/k/ilkhaniv/html/roster/includes/WebResponse.php on line 38

Warning: Cannot modify header information - headers already sent by (output started at /home/content/i/l/k/ilkhaniv/html/roster/extensions/Auth_SMF.php:1) in /home/content/i/l/k/ilkhaniv/html/roster/includes/WebResponse.php on line 38

Warning: Cannot modify header information - headers already sent by (output started at /home/content/i/l/k/ilkhaniv/html/roster/extensions/Auth_SMF.php:1) in /home/content/i/l/k/ilkhaniv/html/roster/includes/WebResponse.php on line 38

Warning: Cannot modify header information - headers already sent by (output started at /home/content/i/l/k/ilkhaniv/html/roster/extensions/Auth_SMF.php:1) in /home/content/i/l/k/ilkhaniv/html/roster/includes/WebResponse.php on line 38

Warning: Cannot modify header information - headers already sent by (output started at /home/content/i/l/k/ilkhaniv/html/roster/extensions/Auth_SMF.php:1) in /home/content/i/l/k/ilkhaniv/html/roster/includes/WebResponse.php on line 38

Warning: Cannot modify header information - headers already sent by (output started at /home/content/i/l/k/ilkhaniv/html/roster/extensions/Auth_SMF.php:1) in /home/content/i/l/k/ilkhaniv/html/roster/includes/WebResponse.php on line 38

Warning: Cannot modify header information - headers already sent by (output started at /home/content/i/l/k/ilkhaniv/html/roster/extensions/Auth_SMF.php:1) in /home/content/i/l/k/ilkhaniv/html/roster/includes/WebResponse.php on line 38


--- End code ---

Going over the other threads, I can say that the Auth_SMF.php is in the /extensions folder, both are installed in the same database, and MediaWiki did work before I installed this extension. Also, when I googled what the header error might have meant, it said there might be a white space problem on line 1, so I put both "<?php" and "/*" on the same lines, but got an error at every other line after that. Any help?

Sethv2:
I tried using a fresh installation of MediaWiki 1.18 with SMF 2.0.2 and I am still getting the same error.

Sethv2:
I also tried commenting out the line "$wgAuth = new Auth_SMF();" from the LocalSettings.php file and deleting all content from Auth_SMF.php and I still get the same message. When I leave the "$wgAuth = new Auth_SMF();" line active in the LocalSetttings, I do get a different error, so I know it's actually looking for that file.

Sethv2:
Ok, I tried this on a completely fresh installation of SMF and MediaWiki in a separate folder and I am still getting the same error.

Navigation

[0] Message Index

Go to full version