Extension talk:SocialProfile/Archive 8

''Please post new topics here, with the newest posts being at the bottom of the page. Discussions are archived gradually, so please check the archives to make sure that your question hasn't been answered already!''

Problem when trying to install SocialProfile
Hi

I tried to install SocialProfile to my wiki but when I go to one user page (index.php/User:XXX) i get an error page 500 !

require_once("$IP/extensions/SocialProfile/SocialProfile.php"); $wgUserBoard = true; $wgUserProfileDisplay['board'] = true; $wgUserProfileDisplay['stats'] = true;
 * I have loaded the latest files in extensions/SocialProfile directory
 * I created an avatar and rewards directories in my image directory, with default avatars and reward images
 * I ran the update.php to create the tables in my database
 * I put in my LocalSettings.php the following:
 * 1) SocialProfile

but for all users I got this error ! Any idea why ?

thank ! —The preceding unsigned comment was added by Blackdalhia (talk • contribs). Please sign your posts with ~ !


 * Saying that you get the HTTP 500 error page basically tells me nothing. Do you have access to your webserver's logs and/or PHP's error log? Those logs might provide some useful information about what's going on and why a HTTP 500 page is being displayed.


 * Also, the gifts/awards directory should not be called rewards, but instead it should be called awards; this name is hardcoded in the special pages that are used to upload gift and award images, as well as in a few other places. --Jack Phoenix (Contact) 13:25, 7 August 2011 (UTC)

Blackdalhia 09:54, 9 August 2011 (UTC) Hi ! and thanks for your quick feebdack "GET /wikiop/mediawiki-1.16.2/index.php/User:Blackdalhia HTTP/1.1" 500 - "http://xxx.xxx.xxx.xxx/mediawiki-1.16.2/index.php?title=Special:UserLogin&action=submitlogin&type=login&returnto=User:Blackdalhia"
 * it is strange : my error log does not show any error messages. My access log shows this :


 * Can you try setting error_reporting( E_ALL ); and ini_set( 'display_errors', 1 ); in your wiki's LocalSettings.php, right after the PHP starting tag, , and seeing if that helps in showing any error messages on the user profile page? --Jack Phoenix (Contact) 16:50, 9 August 2011 (UTC)

Blackdalhia I did it and got the following message : Fatal error: Call to undefined method DatabaseMysql::unixTimestamp in /var/www/html/wikiop/mediawiki-1.16.2/extensions/SocialProfile/UserGifts/UserGiftsClass.php on line 322 seems that the function unixTimeStamp is not defined or the class DatabaseMysal not defined. I am missing one module somewhere right ?


 * You're trying to use the 1.17 (or trunk) version of the extension with MediaWiki 1.16. —Emufarmers(T 06:51, 13 August 2011 (UTC)


 * See Extension talk:SocialProfile/Archive 6 for more background information about that particular fatal. --Jack Phoenix (Contact) 12:28, 13 August 2011 (UTC)

Is it possible that this extension could show people's real name and email address? MarkDilley


 * If the user has filled in the "real name" field on their preferences, it will be shown on their social profile (see, for example, http://www.halopedian.com/User_profile:CommanderTony), but e-mail addresses are not published anywhere; they are and continue to be private information. --Jack Phoenix (Contact) 17:08, 11 August 2011 (UTC)