Closed (fixed)
Project:
Recommender API
Version:
6.x-2.0-beta4
Component:
Miscellaneous
Priority:
Critical
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
25 Jan 2010 at 00:15 UTC
Updated:
16 Jun 2010 at 15:00 UTC
I am using recommender_api with fivestar_rec and history_rec. None of the block of the two modules show. Also recommender permissions are not visible to admin (did not check for regular user).
Ran recommender with or without drush, uninstalled/re-installed, cleared caches, have 50+ users and 200+ nodes..
Using only admin at the moment. Is there anything that might prevent admin to see the blocks?
Comments
Comment #1
danithaca commentedthe admin also need to vote/browse nodes so that the algorithm learns the admin's personal preference. otherwise the algorithm doesn't know what to recommend.
user_id==1 by default has all the permissions.
Comment #2
tom_gustav commentedI'm having the same problem: using recommender_api with fivestar_rec, but none of the blocks is displayed.
What could be the problem?
Comment #3
thekayra commentedSorry for the late feedback.
I already have a lot of votes by different people about different nodes registered on my website. Unfortunately, I don't see any of these blocks if I enable them from blocks page. For example, I still don't get to see the any of the Recommender Blocks when I login with a regular user who contributed and voted a lot.
As this mdule has been around for sometime, there must be something preventing the blocks to appear in my setup but can't say what?
When I check my database, I see the following:
Comment #4
tom_gustav commentedOn some pages some (not all) of the blocks do show up (when creating content of a certain type), but on most pages they are not displayed. Block 2 (user to user) does never show up. I really don't get it. I suppose not all users of the modules are having this very same problem. Could anyone help me please? Thank you!
Comment #5
danithaca commentedwell, this module provides "personalized" view. so not everyone sees the same results. for those users who haven't had enough input, there won't be personalized recommendations for them.
which helper module do you use? if it's fivestar_rec and if you can provide the {votingapi_vote} table, then i can debug.
Comment #6
tom_gustav commentedHi,
thank you for your comment. I'm using fivestar_rec (in combination with recommender and fivestar module and vote api). Below you'll find an SQL-dump of my {votingapi_vote} table (everything seems all right to me).
Maybe I misrepresented the problem: for the same user, on some pages (on the "edit" page of the node type on which is voted, but not, for instance, on the profile page or the front page) some of the blocks are displayed ("similiar users"-block, for instance, but the "suggestions from similar users"-block is never displayed, for any user, for any page). Maybe there is an incompatibility between the drupal version I'm using (6.15) and the fivestar_rec module?
SQL-dump of {votingapi_vote} table
CREATE TABLE `votingapi_vote` (
`vote_id` int(10) unsigned NOT NULL auto_increment,
`content_type` varchar(64) NOT NULL default 'node',
`content_id` int(10) unsigned NOT NULL default '0',
`value` float NOT NULL default '0',
`value_type` varchar(64) NOT NULL default 'percent',
`tag` varchar(64) NOT NULL default 'vote',
`uid` int(10) unsigned NOT NULL default '0',
`timestamp` int(10) unsigned NOT NULL default '0',
`vote_source` varchar(255) default NULL,
PRIMARY KEY (`vote_id`),
KEY `content_uid` (`content_type`,`content_id`,`uid`),
KEY `content_uid_2` (`content_type`,`uid`),
KEY `content_source` (`content_type`,`content_id`,`vote_source`),
KEY `content_value_tag` (`content_type`,`content_id`,`value_type`,`tag`)
) ENGINE=MyISAM AUTO_INCREMENT=98 DEFAULT CHARSET=utf8 AUTO_INCREMENT=98 ;
--
-- Gegevens worden uitgevoerd voor tabel `votingapi_vote`
--
INSERT INTO `votingapi_vote` (`vote_id`, `content_type`, `content_id`, `value`, `value_type`, `tag`, `uid`, `timestamp`, `vote_source`) VALUES (3, 'node', 262, 80, 'percent', 'vote', 7, 1260459839, '87.66.54.251'),
(6, 'node', 388, 80, 'percent', 'vote', 7, 1260459962, '87.66.54.251'),
(9, 'node', 228, 90, 'percent', 'vote', 7, 1260460083, '87.66.54.251'),
(12, 'node', 252, 70, 'percent', 'vote', 7, 1260460290, '87.66.54.251'),
(15, 'node', 261, 90, 'percent', 'vote', 7, 1260460406, '87.66.54.251'),
(17, 'node', 474, 70, 'percent', 'vote', 16, 1265275691, '81.243.176.117'),
(18, 'node', 338, 80, 'percent', 'vote', 16, 1265275708, '81.243.176.117'),
(19, 'node', 225, 80, 'percent', 'vote', 16, 1265275723, '81.243.176.117'),
(20, 'node', 474, 70, 'percent', 'vote', 18, 1265286882, '81.243.176.117'),
(21, 'node', 524, 10, 'percent', 'vote', 18, 1265287012, '81.243.176.117'),
(22, 'node', 588, 60, 'percent', 'vote', 18, 1265287644, '81.243.176.117'),
(23, 'node', 314, 70, 'percent', 'vote', 18, 1265287671, '81.243.176.117'),
(24, 'node', 588, 50, 'percent', 'vote', 16, 1265287685, '81.243.176.117'),
(25, 'node', 439, 60, 'percent', 'vote', 18, 1265287728, '81.243.176.117'),
(26, 'node', 416, 50, 'percent', 'vote', 16, 1265287730, '81.243.176.117'),
(27, 'node', 335, 20, 'percent', 'vote', 18, 1265288015, '81.243.176.117'),
(28, 'node', 439, 50, 'percent', 'vote', 1, 1265288035, '81.243.176.117'),
(29, 'node', 225, 80, 'percent', 'vote', 18, 1265288071, '81.243.176.117'),
(30, 'node', 347, 80, 'percent', 'vote', 18, 1265288538, '81.243.176.117'),
(31, 'node', 217, 80, 'percent', 'vote', 18, 1265288584, '81.243.176.117'),
(32, 'node', 314, 70, 'percent', 'vote', 1, 1265288609, '81.243.176.117'),
(33, 'node', 476, 40, 'percent', 'vote', 1, 1265288765, '81.243.176.117'),
(34, 'node', 476, 60, 'percent', 'vote', 18, 1265288825, '81.243.176.117'),
(35, 'node', 536, 50, 'percent', 'vote', 1, 1265288848, '81.243.176.117'),
(36, 'node', 540, 60, 'percent', 'vote', 1, 1265288863, '81.243.176.117'),
(37, 'node', 406, 70, 'percent', 'vote', 18, 1265288911, '81.243.176.117'),
(39, 'node', 546, 80, 'percent', 'vote', 1, 1265288969, '81.243.176.117'),
(40, 'node', 546, 80, 'percent', 'vote', 18, 1265289338, '81.243.176.117'),
(41, 'node', 368, 70, 'percent', 'vote', 18, 1265289427, '81.243.176.117'),
(42, 'node', 453, 80, 'percent', 'vote', 18, 1265289592, '81.243.176.117'),
(43, 'node', 453, 80, 'percent', 'vote', 1, 1265289615, '81.243.176.117'),
(45, 'node', 416, 60, 'percent', 'vote', 1, 1265577652, '87.64.49.144'),
(46, 'node', 355, 50, 'percent', 'vote', 1, 1265590275, '87.64.49.144'),
(47, 'node', 556, 60, 'percent', 'vote', 1, 1265618700, '87.64.49.144'),
(48, 'node', 402, 70, 'percent', 'vote', 1, 1265620028, '87.64.49.144'),
(49, 'node', 560, 60, 'percent', 'vote', 1, 1265620059, '87.64.49.144'),
(50, 'node', 371, 80, 'percent', 'vote', 1, 1265620399, '87.64.49.144'),
(51, 'node', 305, 80, 'percent', 'vote', 1, 1265620650, '87.64.49.144'),
(52, 'node', 301, 70, 'percent', 'vote', 1, 1265620910, '87.64.49.144'),
(54, 'node', 450, 50, 'percent', 'vote', 1, 1265625411, '87.64.49.144'),
(55, 'node', 443, 50, 'percent', 'vote', 1, 1265626819, '87.64.49.144'),
(56, 'node', 218, 80, 'percent', 'vote', 1, 1265626838, '87.64.49.144'),
(57, 'node', 346, 60, 'percent', 'vote', 1, 1265630981, '87.64.49.144'),
(58, 'node', 217, 60, 'percent', 'vote', 17, 1265919608, '78.22.203.14'),
(59, 'node', 225, 70, 'percent', 'vote', 17, 1265919626, '78.22.203.14'),
(60, 'node', 228, 70, 'percent', 'vote', 17, 1265919640, '78.22.203.14'),
(61, 'node', 241, 60, 'percent', 'vote', 17, 1265919675, '78.22.203.14'),
(62, 'node', 255, 60, 'percent', 'vote', 17, 1265919697, '78.22.203.14'),
(63, 'node', 268, 40, 'percent', 'vote', 17, 1265919720, '78.22.203.14'),
(64, 'node', 272, 40, 'percent', 'vote', 17, 1265919730, '78.22.203.14'),
(65, 'node', 281, 70, 'percent', 'vote', 17, 1265919750, '78.22.203.14'),
(66, 'node', 298, 60, 'percent', 'vote', 17, 1265919773, '78.22.203.14'),
(67, 'node', 302, 80, 'percent', 'vote', 17, 1265919782, '78.22.203.14'),
(68, 'node', 303, 70, 'percent', 'vote', 17, 1265919789, '78.22.203.14'),
(69, 'node', 312, 20, 'percent', 'vote', 17, 1265919805, '78.22.203.14'),
(70, 'node', 335, 50, 'percent', 'vote', 17, 1265919833, '78.22.203.14'),
(71, 'node', 338, 70, 'percent', 'vote', 17, 1265919855, '78.22.203.14'),
(72, 'node', 347, 60, 'percent', 'vote', 17, 1265919868, '78.22.203.14'),
(73, 'node', 350, 70, 'percent', 'vote', 17, 1265919876, '78.22.203.14'),
(74, 'node', 393, 60, 'percent', 'vote', 17, 1265919930, '78.22.203.14'),
(75, 'node', 407, 50, 'percent', 'vote', 17, 1265919955, '78.22.203.14'),
(76, 'node', 412, 50, 'percent', 'vote', 17, 1265919971, '78.22.203.14'),
(77, 'node', 413, 50, 'percent', 'vote', 17, 1265919980, '78.22.203.14'),
(78, 'node', 416, 60, 'percent', 'vote', 17, 1265919996, '78.22.203.14'),
(79, 'node', 476, 70, 'percent', 'vote', 17, 1265920068, '78.22.203.14'),
(80, 'node', 487, 60, 'percent', 'vote', 17, 1265920089, '78.22.203.14'),
(81, 'node', 490, 40, 'percent', 'vote', 17, 1265920097, '78.22.203.14'),
(82, 'node', 506, 10, 'percent', 'vote', 17, 1265920124, '78.22.203.14'),
(83, 'node', 519, 70, 'percent', 'vote', 17, 1265920144, '78.22.203.14'),
(84, 'node', 524, 10, 'percent', 'vote', 17, 1265920153, '78.22.203.14'),
(85, 'node', 545, 40, 'percent', 'vote', 17, 1265920182, '78.22.203.14'),
(86, 'node', 546, 80, 'percent', 'vote', 17, 1265920189, '78.22.203.14'),
(87, 'node', 556, 70, 'percent', 'vote', 17, 1265920206, '78.22.203.14'),
(88, 'node', 560, 50, 'percent', 'vote', 17, 1265920217, '78.22.203.14'),
(89, 'node', 566, 20, 'percent', 'vote', 17, 1265920232, '78.22.203.14'),
(90, 'node', 570, 20, 'percent', 'vote', 17, 1265920246, '78.22.203.14'),
(91, 'node', 588, 30, 'percent', 'vote', 17, 1265920270, '78.22.203.14'),
(92, 'node', 536, 80, 'percent', 'vote', 19, 1265965597, '91.182.160.240'),
(93, 'node', 412, 80, 'percent', 'vote', 23, 1265992401, '91.182.160.240'),
(94, 'node', 573, 50, 'percent', 'vote', 1, 1266148908, '91.176.10.103'),
(96, 'node', 315, 50, 'percent', 'vote', 1, 1266149824, '91.176.10.103');
Thanks in advance
Comment #7
tom_gustav commentedIt's working now. I deleted '_fivestar_rec_enforce_same_type' in 'recommender_top_prediction' in the fivestar_rec.module.
This 'enforce_same_type' was the reason the recommender blocks only showed up on on specific nodes (the nodes that were being rated), and not on other, more general, nodes.
Comment #8
danithaca commentedThanks for the feedback. Actually '_fivestar_rec_enforce_same_type' can be set in the admin page. It controls recommender to only show nodes from the same content type.