Database issue

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 http://forum.pkp.sfu.ca

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.
khufu
Posts: 23
Joined: Tue Mar 20, 2012 8:19 am

Re: Database issue

Postby khufu » Mon Jun 11, 2012 11:53 pm

Jason,
Should I comment out all of them?

Code: Select all

// Index the inserted article.
import('classes.search.ArticleSearchIndex');
ArticleSearchIndex::indexArticleMetadata($article);
ArticleSearchIndex::indexArticleFiles($article);

or just the first one?

Code: Select all

import('classes.search.ArticleSearchIndex');

Thanks
cheers

JasonNugent
Site Admin
Posts: 910
Joined: Tue Jan 10, 2006 6:20 am

Re: Database issue

Postby JasonNugent » Tue Jun 12, 2012 3:33 am

All three.

khufu
Posts: 23
Joined: Tue Mar 20, 2012 8:19 am

Re: Database issue

Postby khufu » Tue Jun 12, 2012 7:21 am

Jason,
I have just started again from a new DB but, even if I commented out the tree lines you suggested, when I import an article, the 3 tables article_search (object_keywords, keyword_list and objects) are populated !!!
They grow up as usual.

Did I miss something ?

cheers


Return to “OJS Technical Support”

Who is online

Users browsing this forum: No registered users and 2 guests