Last modified: 2009-11-24 18:36:18 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T23623, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 21623 - Users can't send gifts
Users can't send gifts
Status: RESOLVED WORKSFORME
Product: MediaWiki extensions
Classification: Unclassified
SocialProfile (Other open bugs)
unspecified
All All
: Normal enhancement (vote)
: ---
Assigned To: Jack Phoenix
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2009-11-24 04:55 UTC by Mario César
Modified: 2009-11-24 18:36 UTC (History)
0 users

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Mario César 2009-11-24 04:55:05 UTC
I was able to install SocialProfile successfully in a clean Mediawiki setup. After a While testingt I notice that just the user WikiSysop can send gifts:

Going to http://localhost/mediawiki/index.php?title=Especial:GiveGift&user=mariocesar returns "Woops, you took a wrong turn! The link you have entered is invalid."

There is a setup that I am Missing? I would really like some guidelines. Thanks
Comment 1 Jack Phoenix 2009-11-24 18:25:03 UTC
WORKSFORME both on my local test setup (MediaWiki 1.16alpha (r59382), PHP 5.3.0, MySQL 5.1.37) and on my production site (MediaWiki 1.14.1, PHP 5.2.11, MySQL 5.0.81). As I wrote on [[mw:Extension talk:SocialProfile#Just WikiSysop can send Gifts]], check the value of gift_access column (in gift table) for each gift; this value should be 0 if you want everyone to be able to give this gift. If the value of gift_access is 1, it means that only the gift creator can give it out. Sometimes gift_access can incorrectly be set to 1. To fix this, run a query like this against your database: UPDATE `gift` SET `gift_access` = '0' WHERE `gift_id` =1 LIMIT 1;
Comment 2 Mario César 2009-11-24 18:36:18 UTC
Thank you, that was the problem.

I Update the database as you say and everything is fine. Would be nice a comment about this on the Docs :)

pd: Sorry for duplicate the Issue on the board and here.




Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links