OJS OCS OMP OHS

You are viewing the PKP Support Forum | PKP Home Wiki


Citation Extraction Services/Database Connectors

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, michael, jheckman, barbarah, btbell, bdgregg, 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.

Citation Extraction Services/Database Connectors

Postby jbsarma » Wed Jun 06, 2012 2:32 pm

In the step 3.7 when I click 'add ietm' the pop up window does allow me to chose a service but I do not get any OK button to click. All I have is the 'Cancel' button. I am not finding a way to add the service. I attached the screenshot - please help.
OJS 2.3.6 and OJS 2.3.7 (both installations)
OS platform Linux
PHP version 5.2.17
Database driver mysql
Database server version 5.0.91
Attachments
Step 3.7.PNG
Step 3.7.PNG (75.27 KiB) Viewed 822 times
jbsarma
 
Posts: 5
Joined: Wed Jun 06, 2012 2:22 pm

Re: Citation Extraction Services/Database Connectors

Postby asmecher » Wed Jun 06, 2012 4:18 pm

Hi jbsarma,

There may be some missing database settings. Back up your installation, then try the following:Please report here whether or not it works.

Regards,
Alec Smecher
Public Knowledge Project Team
asmecher
 
Posts: 5762
Joined: Wed Aug 10, 2005 12:56 pm

Re: Citation Extraction Services/Database Connectors

Postby jbsarma » Sat Jun 09, 2012 2:30 pm

(uiserver):u62375083:~/necef/journal > patch -p1 < citationAssistantData.xml
patching file dbscripts/xml/install.xml
Reversed (or previously applied) patch detected! Assume -R? [n] y
Hunk #1 succeeded at 35 (offset -6 lines).
The next patch would create the file registry/citationAssistantData.xml,
which already exists! Assume -R? [n] y
patching file registry/citationAssistantData.xml
Hunk #1 FAILED at 1.
File registry/citationAssistantData.xml is not empty after patch, as expected
1 out of 1 hunk FAILED -- saving rejects to file registry/citationAssistantData.xml.rej

I tried to apply the patch but not successful. Please see above - may be I got the process wrong. Please advice.
jbsarma
 
Posts: 5
Joined: Wed Jun 06, 2012 2:22 pm

Re: Citation Extraction Services/Database Connectors

Postby jbsarma » Sat Jun 09, 2012 2:34 pm

Anyway I ran the command as it appeared that the patch is alreday there. What I get is the following:
(uiserver):u62375083:~/necef/journal > php tools/dbXMLtoSQL.php -data execute registry/citationAssistantData.xml
X-Powered-By: PHP/4.4.9
Content-type: text/html

Not sure what I have done but the original issue/problem still persists.
jbsarma
 
Posts: 5
Joined: Wed Jun 06, 2012 2:22 pm

Re: Citation Extraction Services/Database Connectors

Postby asmecher » Mon Jun 11, 2012 2:04 pm

Hi jbsarma,

Do you see data in the "filters" table in your database?

Regards,
Alec Smecher
Public Knowledge Project Team
asmecher
 
Posts: 5762
Joined: Wed Aug 10, 2005 12:56 pm

Re: Citation Extraction Services/Database Connectors

Postby jbsarma » Tue Jun 12, 2012 3:14 pm

Yes. there seems to be entry in the table. Please see the screen shot attached. Also, I had to 'disable_path_info = On' for the installation to work. Not sure if this setting in the config.php got something to do with the problem.
Attachments
Filter table.PNG
Filter table.PNG (100.87 KiB) Viewed 773 times
jbsarma
 
Posts: 5
Joined: Wed Jun 06, 2012 2:22 pm

Re: Citation Extraction Services/Database Connectors

Postby asmecher » Tue Jun 12, 2012 4:22 pm

Hi jbsarma,

Ah, if those database entries are present, then I've been barking up the wrong tree.

It's entirely likely that the citation assistant is not fully compatible with disable_path_info=On. If you are able to tweak your PHP installation so that this setting is not necessary, I would suggest doing that -- your URLs will also look a lot better. There are a number of threads about that setting in the forum. If you are able to do so, see if you can confirm whether that fixes the citation assistant.

Regards,
Alec Smecher
Public Knowledge Project Team
asmecher
 
Posts: 5762
Joined: Wed Aug 10, 2005 12:56 pm

Re: Citation Extraction Services/Database Connectors

Postby asmecher » Fri Jul 27, 2012 9:00 am

Hi wissam,

Try the command described at http://pkp.sfu.ca/bugzilla/show_bug.cgi?id=6817#c3.

Regards,
Alec Smecher
Public Knowledge Project Team
asmecher
 
Posts: 5762
Joined: Wed Aug 10, 2005 12:56 pm


Return to OJS Technical Support

Who is online

Users browsing this forum: No registered users and 3 guests