From: Belanger, A. <art...@ya...> - 2008-11-24 16:34:11
|
Hello. We have installed RC1 on two different systems and are having difficulty getting the tagging and favorites to work. We are using DB authentication. I can login successfully. An error message then appears in the webserver error log: Notice: Undefined variable: resourceList in /export/home/vufind/RC-1.0/vufind-1.0RC1/web/services/MyResearch/Home.php on line 64 This refers to the following line: $interface->assign('resourceList', $resourceList); After doing a search (title search on sports), the following message appeared in the web log: PHP Notice: Undefined variable: sort in /usr/local/vufind/vufind-1.0RC1/web/sys/Solr.php on line 400, This refers to the line: return array('query' => $query, 'sort' => $sort); I then click "Add to favorites"next to one of the results. The "Lightbox" opens and the following message appears in the web log: PHP Notice: Trying to get property of non-object in /usr/local/vufind/vufind-1.0RC1/web/services/MyResearch/lib/User.php on line 49, referer: http://gsdl.med.yale.edu/vufind/Search/Home?lookfor=sports&type=title&submit=Find This refers to the third join statement in : function hasResource($resource) { $join = new User_resource(); $join->user_id = $this->id; $join->resource_id = $resource->id; /* this is line 49 */ if ($join->find()) { return true; } else { return false; } } I enter a couple of tags (sports medicine science) and a brief note, click save. I am returned to a search results list, not the search I performed but a "null search", returning all the records in the instance. A whole host of errors appear: [Mon Nov 24 11:24:33 2008] [error] [client 130.132.235.227] PHP Notice: Undefined index: lookfor in /usr/local/vufind/vufind-1.0RC1/web/services/Search/Home.php on line 187, referer: http://gsdl.med.yale.edu/vufind/Search/Home?lookfor=sports&type=title&submit=Find [Mon Nov 24 11:24:33 2008] [error] [client 130.132.235.227] PHP Notice: Undefined index: lookfor in /usr/local/vufind/vufind-1.0RC1/web/services/Search/Home.php on line 205, referer: http://gsdl.med.yale.edu/vufind/Search/Home?lookfor=sports&type=title&submit=Find [Mon Nov 24 11:24:33 2008] [error] [client 130.132.235.227] PHP Notice: Undefined index: type in /usr/local/vufind/vufind-1.0RC1/web/services/Search/Home.php on line 207, referer: http://gsdl.med.yale.edu/vufind/Search/Home?lookfor=sports&type=title&submit=Find [Mon Nov 24 11:24:33 2008] [error] [client 130.132.235.227] PHP Notice: Undefined index: type in /usr/local/vufind/vufind-1.0RC1/web/services/Search/Home.php on line 246, referer: http://gsdl.med.yale.edu/vufind/Search/Home?lookfor=sports&type=title&submit=Find [Mon Nov 24 11:24:33 2008] [error] [client 130.132.235.227] PHP Notice: Undefined index: lookfor in /usr/local/vufind/vufind-1.0RC1/web/services/Search/Home.php on line 466, referer: http://gsdl.med.yale.edu/vufind/Search/Home?lookfor=sports&type=title&submit=Find [Mon Nov 24 11:24:33 2008] [error] [client 130.132.235.227] PHP Notice: Undefined variable: sort in /usr/local/vufind/vufind-1.0RC1/web/sys/Solr.php on line 400, referer: http://gsdl.med.yale.edu/vufind/Search/Home?lookfor=sports&type=title&submit=Find [Mon Nov 24 11:24:33 2008] [error] [client 130.132.235.227] PHP Notice: Undefined index: lookfor in /usr/local/vufind/vufind-1.0RC1/web/services/Search/Home.php on line 586, referer: http://gsdl.med.yale.edu/vufind/Search/Home?lookfor=sports&type=title&submit=Find I click on "Your Account" and go to the correct page but no favorites are listed. There are no additional entries in any of the database tables. The following message is in the error log (same as message after successful logon): [Mon Nov 24 11:30:54 2008] [error] [client 130.132.235.227] PHP Notice: Undefined variable: resourceList in /usr/local/vufind/vufind-1.0RC1/web/services/MyResearch/Home.php on line 64, referer: http://gsdl.med.yale.edu/vufind/Search/Home?tags=sports+medicine+science¬es=Nice+combination+of+topics. Has anyone else seen this "breaking" of the tagging functions or have any idea ow what is going on? Thanks in advance for any help. -- Arthur Belanger Medical Library System Manager ITS Academic Media & Technology Yale University PO Box 208065 New Haven, CT 06520-8065 (203) 785-6928 (203) 737-2859, fax mailto:Arthur.Belanger@Yale.Edu http://www.yale.edu/its/about/amt http://info.med.yale.edu/library NOTE: Yale ITS will NEVER request passwords or other personal information via email. Messages requesting such information are fraudulent and should be deleted. |