Advertisement:

Author Topic: SMF-Mediawiki Integration Error  (Read 1827 times)

Offline Sethv2

  • Semi-Newbie
  • *
  • Posts: 13
SMF-Mediawiki Integration Error
« on: May 12, 2012, 03:14:08 PM »
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: [Select]
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


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?

Offline Sethv2

  • Semi-Newbie
  • *
  • Posts: 13
Re: SMF-Mediawiki Integration Error
« Reply #1 on: May 13, 2012, 12:57:42 PM »
I tried using a fresh installation of MediaWiki 1.18 with SMF 2.0.2 and I am still getting the same error.

Offline Sethv2

  • Semi-Newbie
  • *
  • Posts: 13
Re: SMF-Mediawiki Integration Error
« Reply #2 on: May 13, 2012, 07:01:22 PM »
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.

Offline Sethv2

  • Semi-Newbie
  • *
  • Posts: 13
Re: SMF-Mediawiki Integration Error
« Reply #3 on: May 14, 2012, 11:29:50 PM »
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.