error updating

Are you responsible for making OJS work -- installing, upgrading, migrating or troubleshooting? Do you think you've found a bug? Post in this forum.

Moderators: jmacgreg, btbell, michael, bdgregg, barbarah, asmecher

Forum rules
The Public Knowledge Project Support Forum is moving to

This forum will be maintained permanently as an archived historical resource, but all new questions should be added to the new forum. Questions will no longer be monitored on this old forum after March 30, 2015.
Posts: 35
Joined: Mon Mar 13, 2006 7:35 am

Postby vazquezm » Thu Aug 03, 2006 8:51 am

Hi Alec,

I am using windows 2000. In the directory of OJS I have not any file called patch to can execute it.

I am confused, help me.

Posts: 10015
Joined: Wed Aug 10, 2005 12:56 pm

Postby asmecher » Thu Aug 03, 2006 9:23 am

Hi Vazquezm,

Ah -- Windows doesn't have the patch tool. An alternative is to replace the currently installed versions of classes/db/, classes/search/ArticleSearchIndex.php, and classes/search/ with the files from the following URLs (respectively):Regards,
Alec Smecher
Open Journal Systems Team

Posts: 35
Joined: Mon Mar 13, 2006 7:35 am

Postby vazquezm » Fri Aug 04, 2006 9:43 am

Hi Alec,
I have overwrote the files and run tools/rebuildSearchIndex.php
All right.
It seems that you solve my problems.

Thank you.

Posts: 945
Joined: Wed Oct 15, 2003 6:15 am
Location: Brasí­lia/DF - Brasil

Re: error updating

Postby ramon » Thu Feb 21, 2008 11:14 am

Hello Alec,

A journal has submitted the following problem:
After a successful submisson, the author receives the following error message, instead of the usual submission confirmation e-mail:
Warning: file(registry/stopwords.txt) [function.file]: failed to open stream: No such file or directory in /usr/local/apache2/htdocs/SEER/classes/search/ on line 141

Warning: array_filter() [function.array-filter]: The first argument should be an array in /usr/local/apache2/htdocs/SEER/classes/search/ on line 141

Warning: array_count_values() [function.array-count-values]: The argument should be an array in /usr/local/apache2/htdocs/SEER/classes/search/ on line 141
DB Error: ERRO: duplicar chave viola a restrição de unicidade "article_search_object_keywords_pkey"
Stack Trace:
File: /usr/local/apache2/htdocs/SEER/classes/search/ line 205
Function: articlesearchdao->update("INSERT INTO article_search_object_keywords (object_id, keyword_i...", Array(3))

File: /usr/local/apache2/htdocs/SEER/classes/search/ line 37
Function: articlesearchdao->insertobjectkeyword(False, "adevair", 0)

File: /usr/local/apache2/htdocs/SEER/classes/search/ line 53
Function: articlesearchindex::indexobjectkeywords(False, Array(5), 0)

File: /usr/local/apache2/htdocs/SEER/classes/search/ line 167
Function: articlesearchindex::updatetextindex("12", 1, Array(5))

File: /usr/local/apache2/htdocs/SEER/classes/author/form/submit/ line 87
Function: articlesearchindex::indexarticlemetadata(Object(article))

File: /usr/local/apache2/htdocs/SEER/pages/author/ line 136
Function: authorsubmitstep5form->execute()

File: /usr/local/apache2/htdocs/SEER/pages/author/ line 119
Function: submithandler::savesubmit(Array(1))

File: (unknown) line (unknown)
Function: authorhandler::savesubmit(Array(1))

File: /usr/local/apache2/htdocs/SEER/index.php line 46
Function: call_user_func(Array(2), Array(1))

File: /usr/local/apache2/htdocs/SEER/index.php line 57
Function: handlerequest()

I didn't get any server or software specifics, but I assume it's related to this issue.
I'm I correct?


Return to “OJS Technical Support”

Who is online

Users browsing this forum: No registered users and 1 guest