List Info

Thread: Error when searching "Not an ARRAY reference"




Error when searching "Not an ARRAY reference"
user name
2007-03-22 09:06:20
Hello,
  I am getting the following error when I do a search(
plucene)

Not an ARRAY reference at ./ezmlm-www.pl line 375


The only reference to this error I can find is someone else
had the issue in august of 2006 and they found a
"fix"  posted below.  Essentially removing the
array reference.  This also works for me and I can search
and I get results BUT I have the same effect as Brain below
results look like this, what are the ()?

* Re: [ZossPens] More ebay bs listing... (Robert Thomson )
Wed Mar 21 11:58:34 2007 
* () 
* Re: [ZossPens] More ebay bs listing... ("isaacsonfrontiernet.net" )
Wed Mar 21 12:25:27 2007 
* () 
* Re: [ZossPens] More ebay bs listing... ("isaacsonfrontiernet.net" )
Wed Mar 21 12:35:18 2007 
* () 
Any help would be greatly appreciated in clearing up what is
going on here or providing a more appropriate fix if there
is one.

Thanks
   Derek



Well, the following patch to ezmlm-www.pl seems to solve the
"not an
array reference" errors posted earlier:

============================================================
=======
RCS file: RCS/ezmlm-www.pl,v
retrieving revision 1.1
diff -r1.1 ezmlm-www.pl
375c375
< my $t = $d->[0]->get('date')->string;
---
> my $t = $d->get('date')->string;
378,380c378,380
< id =>
$d->[0]->get('id')->string,
< subject =>
$d->[0]->get('subject')->string,
< author =>
$d->[0]->get('author')->string,
---
> id => $d->get('id')->string,
> subject =>
> $d->get('subject')->string,
> author =>
> $d->get('author')->string,

However, the search results look something like this:

* Re: [3mug-discuss] Assessment Question (Sandra)
Tue Feb 28 12:48:13 2006
* ()
* Re: [3mug-discuss] Forum Info ("Dixie" )
Wed Feb 22 11:39:37 2006
* ()

Any idea what is supposed to be the content of the ()
symbols?

--Brian


--------------------------------
Derek Storvik

 

Network & Systems Engineer
812-323-TECH  (812-323-8324)
DStorvikconsultech.net
 
ConsulTech Technologies, Inc.
Quality  Value  Reliability
www.consultech.net
--------------------------------


------------------------------------------------------------
-------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the
chance to share your
opinions on IT & business topics through brief
surveys-and earn cash
http://www.techsay.com/default.
php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Ezmlm-www-discuss mailing list
Ezmlm-www-discusslists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ezmlm
-www-discuss

[1]

about | contact  Other archives ( Real Estate discussion Medical topics )