User talk:Jonem

Re:Extension:RatingBar Error
Hi,

The warning when the user is not logged in is caused by a little mistake in the extension code, for this you need to change your PHP configuration (set "display_errors" to Off), until we find a fix. If you can't change your PHP configuration, you can try to replace "mysql_fetch_array($query3)" with "@mysql_fetch_array($query3)". The warning when the user is logged in is probably caused by a problem with your session name, $site_name isn't handled properly by version 1.0-rc1 of the extension. You may want to check this out, or post a link to a page on your wiki with the rating bar so I can figure out your session name cookie. Patheticcockroach 11:44, 17 April 2009 (UTC)
 * In config.php, I think you should set:

$table_prefix						= 'nic2';		// Copy value from $wgDBprefix $site_name							= 'capiorse'; // Copy value from $wgSitename?? (not sure about this!)
 * These parameters are needed for the extension to be able to compute your session cookie name (which in your case is capiorse_nic2_session). No session cookie name = can't read the session = can't get the user name = the user can't vote ;) Patheticcockroach 14:10, 17 April 2009 (UTC)
 * Thanks a lot for catching the $site_name<=>$wgDBname match, I'll be able to fix the doc now :) The warnings you are reporting have been dealt with in the current dev version. Placing a @ before calling a function simply disables error reporting for the function, so no performance issue, it's just as if you configured PHP with display_errors=Off ;) It's already possible to see the votes made by a user with , but it's not limited to admin ATM (it's disabled by default, and can be enabled for everyone). We'll improve that later. For the moment, you can use something like phpMyAdmin to see the votes by IP or by user ID if you really need to (not really a comfortable solution, but is usable for occasional use) Patheticcockroach 15:08, 18 April 2009 (UTC)