You have this part repeated:

            } else {
                $resultPages = 10;

lines 126-128 > deleted them and it shall be ok (that error).



Filipe Manuel S. Bento  |  http://about.filipebento.pt/

A book that shall be really a reference to all of us (has a lot of VuFind related entries):
Library Automation and OPAC 2.0: Information Access and Services in the 2.0 Landscape
(read it for free: request your free 60-day e-book exam copy)

Computer Science Specialist | University of Aveiro, Portugal

Electronic & Telecommunication Engineering (5 yrs degree, UA) * MSc in Electronic Information Management (U.Sheffield, UK)

European Space Agency [ESA] Industrial Placement (IRS / ESRIN – European Space Research Institute, Frascati [Rome], Italy)

ICPD Doctorate Candidate (UA | U.Porto) * PhD Researcher (UA/CETAC.Media), grant by FCT - Portuguese Foundation for Science and Technology

President/Chair of USE.pt Steering Committee (Portuguese Ex Libris Users’ National Association, hosted by Portuguese Parliament's Library, Palácio de S. Bento, Lisbon, http://metis.fe.up.pt/use/ 

On Tue, Jul 31, 2012 at 3:09 PM, Ranju Upadhyay <Ranju.Upadhyay@nuim.ie> wrote:
ok I tried to apply the patch file i.e. took the lines out from the original file that had - in the patch file and added the lines in the original file that had + in the patch file.

After the line :

$interface->assign('recordSet', $searchObject->getResultRecordHTML());

in the NewItem.php , I left everything as it is .

But now I get the following error on the screen

Parse error: syntax error, unexpected T_ELSE, expecting T_FUNCTION in C:\vufind\vufind-1.3\web\services\Search\NewItem.php on line 216

Am I supposed to add/remove any more lines?

Attached is my changed NewItem.php file.


----- Original Message -----
From: Demian Katz <demian.katz@villanova.edu>
Date: Tuesday, July 31, 2012 1:24 pm
Subject: RE: [VuFind-General] New item search empty
To: Ranju Upadhyay <Ranju.Upadhyay@nuim.ie>, "vufind-general@lists.sourceforge.net" <vufind-general@lists.sourceforge.net>

> The new item search in VuFind relies on your ILS driver to tell it which items are new.  Many drivers don’t currently support this feature, and even those that do won’t help you with items that come from other sources.


> Fortunately, a patch has recently been provided which instead uses VuFind’s internal change-tracking fields to locate new items:


> http://vufind.org/jira/browse/VUFIND-624


> This will probably serve you better, though you’ll have to be sure you enable change tracking:


> http://vufind.org/wiki/tracking_record_changes


> (Note that this will probably require changes to both your MARC import settings and your Eprints XSLT followed by a reindex).


> - Demian


> From: Ranju Upadhyay [mailto:Ranju.Upadhyay@nuim.ie]
> Sent: Tuesday, July 31, 2012 6:29 AM
> To: vufind-general@lists.sourceforge.net
> Subject: [VuFind-General] New item search empty


> Hi List,
> I have some items in VuFind that I know are relatively new i.e. less than 30 days old, that I had imported from ePrints repo.But when I try to search for new items(using filter of past 30 days) it keeps saying 

> "No new item information is currently available"

> I also get a notice in the screen saying

> Notice: Undefined index: count in C:\vufind\vufind-1.3\web\services\Search\NewItem.php on line 120.

> Any ideas?


> Thanks

> Ranju Upadhyay



Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
VuFind-General mailing list