You are viewing the PKP Support Forum | PKP Home Wiki

Unsupported or missing publication type

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

Moderators: jmacgreg, michael, John

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.

Unsupported or missing publication type

Postby laports » Tue Feb 08, 2011 12:50 pm

I've been trying to use the citation assistant under OJS 2.3.3-3 for the past three days, but still can't make it work. It's surely an installation problem but I cannot find what I have missed.

When using the assistant, I always get "Unsupported or missing publication type". Manually entering it doens't solve the problem, but actually worsen it : I can no longer save my citation.
After a few minutes of playing with the interface, I do manage to get a result from WorldCat, but I still can't save the citation. I always get the error "citation contains unsaved data".
Trying to manually query the citation services yields a long popup containing code (see attachment)

My php error log contains the following :

In file: /var/devel/ojs-2.3.3-3/lib/pkp/classes/citation/parser/paracite/ParaciteRawCitationNlmCitationSchemaFilter.inc.php
At line: 249
Server info:
OS: Linux
PHP Version: 5.3.5
Apache Version: N/A
DB Driver: mysql
DB server version: 5.1.52
[08-Feb-2011 14:00:42] NOTICE: Undefined variable: publicationType (/var/devel/ojs-2.3.3-3/lib/pkp/classes/metadata/nlm/OpenUrlNlmCitationSchemaCrosswalkFilter.inc.php:89)

Missing dependency?
I'm using Apache 2.2.17, OJS installed using FastCGI under a non-root account and OS is Fedora 13 (

Any hint/clue would be appreciated. Thank you!
popUp.PNG (47.68 KiB) Viewed 1741 times
cannotSave.PNG (109.19 KiB) Viewed 1741 times
Unsupported.PNG (106.92 KiB) Viewed 1741 times
Posts: 1
Joined: Tue Feb 08, 2011 12:06 pm

Re: Unsupported or missing publication type

Postby jerico » Fri Feb 11, 2011 11:12 am

Hi laports,

I've tried out your citation with our citation demo install and I cannot reproduce your problem. The citation was split into fields by three different citation extraction services: FreeCite, ParaCite and RegEx and I could save the results without problems. You can see results split up by extraction service by clicking on "Expert internal citation services results".

Can you please make sure that you have all these services correctly set-up? Please also make sure that you closely follow the set-up instructions for each service. The instructions will pop-up as soon as you add one of these services. ParaCite, for example, requires you to install perl and several CPAN libraries on your machine.

BTW: The citation was not found in any of the citation databases (as opposed to the extraction services I mentioned above) even after I manually corrected the fields. I got some results from WorldCat and ISBNdb but both were false positives (=other books). This means that the citation you're trying to mark-up does probably not exist in any of these databases which is possible. You'll still be able to mark it up correctly based on the results of the extraction services, though. Please use the advanced interface that I mentioned above to assemble the correct fields from the different sources.

The warning you got in your error log should not result in a serious error. I've made sure that the warning will disappear in future releases.

Posts: 94
Joined: Sat May 16, 2009 2:45 pm

Re: Unsupported or missing publication type

Postby jerico » Fri Feb 11, 2011 11:16 am

Oh, and here's the results I got after marking the citation up (so that you can compare):

APA export:
Butler, S. W. (2005). Secrets from the Black Bag. London: The Royal College of General Practitioners. [Google Scholar]

NLM 3.0 export:

<ref id="B9">
<element-citation publication-type="book">
<person-group person-group-type="author">
<given-names>S W</given-names>
<source>Secrets from the Black Bag</source>
<publisher-name>The Royal College of General Practitioners</publisher-name>
Posts: 94
Joined: Sat May 16, 2009 2:45 pm

Return to OCS Technical Support

Who is online

Users browsing this forum: No registered users and 2 guests