Simple Machines Blogs > Developers' Blog
SMF MediaWiki integration released
Anthony`:
--- Quote from: SebaS on January 08, 2012, 08:25:46 PM ---don't work :(
Deprecated: Call-time pass-by-reference has been deprecated in C:\Program Files (x86)\EasyPHP-5.3.8.1\www\wiki\extensions\Auth_SMF.php on line 265
i can't login in mediawiki. (the user don't exist)
--- End quote ---
Since the function requests a reference as the argument, it shouldnt even be necessary to have the $user object passed by reference right from the function call.
--- Code: (Replace) ---$wgAuth->isGroupAllowed($user_settings['member_name'], &$user);
--- End code ---
--- Code: (With) ---$wgAuth->isGroupAllowed($user_settings['member_name'], $user);
--- End code ---
This is for PHP 5.3.0+ users by the way.
SebaS:
--- Quote from: Project Evolution on January 08, 2012, 08:46:36 PM ---
--- Quote from: SebaS on January 08, 2012, 08:25:46 PM ---don't work :(
Deprecated: Call-time pass-by-reference has been deprecated in C:\Program Files (x86)\EasyPHP-5.3.8.1\www\wiki\extensions\Auth_SMF.php on line 265
i can't login in mediawiki. (the user don't exist)
--- End quote ---
Since the function requests a reference as the argument, it shouldnt even be necessary to have the $user object passed by reference right from the function call.
--- Code: (Replace) ---$wgAuth->isGroupAllowed($user_settings['member_name'], &$user);
--- End code ---
--- Code: (With) ---$wgAuth->isGroupAllowed($user_settings['member_name'], $user);
--- End code ---
This is for PHP 5.3.0+ users by the way.
--- End quote ---
the same error.
Anthony`:
--- Quote from: SebaS on January 09, 2012, 07:45:50 PM ---
--- Quote from: Project Evolution on January 08, 2012, 08:46:36 PM ---
--- Quote from: SebaS on January 08, 2012, 08:25:46 PM ---don't work :(
Deprecated: Call-time pass-by-reference has been deprecated in C:\Program Files (x86)\EasyPHP-5.3.8.1\www\wiki\extensions\Auth_SMF.php on line 265
i can't login in mediawiki. (the user don't exist)
--- End quote ---
Since the function requests a reference as the argument, it shouldnt even be necessary to have the $user object passed by reference right from the function call.
--- Code: (Replace) ---$wgAuth->isGroupAllowed($user_settings['member_name'], &$user);
--- End code ---
--- Code: (With) ---$wgAuth->isGroupAllowed($user_settings['member_name'], $user);
--- End code ---
This is for PHP 5.3.0+ users by the way.
--- End quote ---
the same error.
--- End quote ---
Are you sure you saved the file and applied the change correctly? Is it giving the same line in the error? You are using PHP 5.3.0 or higher correct?
SebaS:
--- Quote from: Project Evolution on January 09, 2012, 07:48:44 PM ---
--- Quote from: SebaS on January 09, 2012, 07:45:50 PM ---
--- Quote from: Project Evolution on January 08, 2012, 08:46:36 PM ---
--- Quote from: SebaS on January 08, 2012, 08:25:46 PM ---don't work :(
Deprecated: Call-time pass-by-reference has been deprecated in C:\Program Files (x86)\EasyPHP-5.3.8.1\www\wiki\extensions\Auth_SMF.php on line 265
i can't login in mediawiki. (the user don't exist)
--- End quote ---
Since the function requests a reference as the argument, it shouldnt even be necessary to have the $user object passed by reference right from the function call.
--- Code: (Replace) ---$wgAuth->isGroupAllowed($user_settings['member_name'], &$user);
--- End code ---
--- Code: (With) ---$wgAuth->isGroupAllowed($user_settings['member_name'], $user);
--- End code ---
This is for PHP 5.3.0+ users by the way.
--- End quote ---
the same error.
--- End quote ---
Are you sure you saved the file and applied the change correctly? Is it giving the same line in the error? You are using PHP 5.3.0 or higher correct?
--- End quote ---
yes, the same line.
PHP 5.3.8
Apache 2.2.21
MySQL 5.5.16
Anthony`:
Sorry, I have no idea what the problem is then.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version