OJS OCS OMP OHS

You are viewing the PKP Support Forum | PKP Home Wiki



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
What to do if you have a technical problem with OJS:

1. Search the forum. You can do this from the Advanced Search Page or from our Google Custom Search, which will search the entire PKP site. If you are encountering an error, we especially recommend searching the forum for said error.

2. Check the FAQ to see if your question or error has already been resolved.

3. Post a question, but please, only after trying the above two solutions. If it's a workflow or usability question you should probably post to the OJS Editorial Support and Discussion subforum; if you have a development question, try the OJS Development subforum.

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

Re: Database issue

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

All three.
JasonNugent
Site Admin
 
Posts: 895
Joined: Tue Jan 10, 2006 6:20 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
khufu
 
Posts: 23
Joined: Tue Mar 20, 2012 8:19 am

Previous

Return to OJS Technical Support

Who is online

Users browsing this forum: Bing [Bot] and 6 guests