Login

Username

Password





Register   Reset password

This is a read-only archive of the forum.

# Broodnat 3/27/2008 10:28 AM
Hi,

I have installed Cuyahoga as a unofficial intranet for the company I work. The people who used liked it so much they started to use it a lot. Now its more an official intranet and I have to support it.

I have a problem with the articles module. If there are enough articles to have 2 pages or more I can't go to the next page. I get the following error message:
500 An error occured:

Encountered "" at line 1, column 0. Was expecting one of: ... "+" ... "-" ... "(" ... ... ... ... ... "[" ... "{" ... ...

It seems there is no data for following page.

I used version 1.5.0 and have updated to version 1.5.2 but the problem persisted.

Has anyone experienced the same problem or better, know a solution for this problem?

Regards,
Broodnat
# martijnb 3/27/2008 6:12 PM
Very strange. This is a typical Lucene error message, but just browsing the articles doesn't involve searching. Could you rebuild the search index and see if that helps.

We have an issue in Jira with more or less the same error message, but that one is related to searching: http://tijnthuus.demon.nl:8080/jira/browse/CUY-147
# Broodnat 3/28/2008 2:56 PM (edited 3/28/2008 2:58 PM)
It is indeed the same error message. (I couldn't post the complete message on this forum because it was being filtered). But rebuilding the search index didn't help.
Any other ideas?

As extra info, I am using MS Sequel Server 2000 as database
# martijnb 3/28/2008 4:52 PM
Are you sure this is the standard Articles module? I really can't find anything in the article display code that could cause this error.

Could you otherwise try and reproduce this error in a debugging environment and see where things go wrong?
# Broodnat 3/31/2008 1:52 PM
I am sure it is in the articlemodule.

I have downloaded the source and opened it in Visal Studio. Debugging c# projects is not exactly something I'm good at, but if I run the project I can reproduce the error.

The main page of the website (/1/view.aspx) has the articlemodule in maincontent. It displays 10 articles, the header plus summary. There are more then 10 articles so at the end of the page is a link to the next page. The url to the next page is /34/section.aspx/page/2. This page generates the error.

The following method is responsible for the error:

In IndexQuery.cs
public SearchResultCollection Find(string queryText, Hashtable keywordFilter, int pageIndex, int pageSize)

			long startTicks = DateTime.Now.Ticks;

			Query query = MultiFieldQueryParser.Parse(queryText, new string[]{"title", "contents"}, new StandardAnalyzer());

As I said, I'm no debugging champion, but the string queryText is empty, is that correct?

I hope this will help you somewhat futher.
# Broodnat 4/16/2008 1:33 PM
Is there anyone who can reproduce this error?