OJS OCS OMP OHS

You are viewing the PKP Support Forum | PKP Home Wiki



problem import file

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

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. Please note that this FAQ is OJS-centric, but most issues are applicable to both platforms.

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 OCS Conference Support and Discussion subforum; if you have a development question, try the OCS Development subforum.

problem import file

Postby Dragone » Tue Oct 28, 2008 8:05 am

Hi to all,
I have tried to import a paper in OCS 2.1.0.1, using the import plugin.

I have tried via web but I have the following error:
Fatal error: Call to a member function getSchedConfId() on a non-object in /var/conferences/plugins/importexport/native/NativeImportExportPlugin.inc.php on line 115

I have tried also via shell with php /var/conferences/tools/importExport.php NativeImportExportPlugin ...
but I have this error
Fatal error: Call to a member function getSchedConfId() on a non-object in /var/conferences/plugins/importexport/native/NativeImportDom.inc.php on line 248

I have validated my xml file and is ok.

If can help, here is my xml file (it is only a test file)
<papers>
<paper language="it" public_id="">
<title locale="it"><![CDATA[Test carico da xml]]></title>
<abstract locale="it"><![CDATA[abstract]]></abstract>
<author>
<firstname>Daniela</firstname>
<lastname>Dragone</lastname>
<affiliation>aaa</affiliation>
<email>aaaaaa</email>
</author>
<date_published>2008-10-28</date_published>
<open_access/>
<galley locale="it">
<label>txt</label>
<file><href mime_type="text" src="FileDiTest.txt" /></file>
</galley>
</paper>
</papers>

Thanks in advance for your help
Daniela
Dragone
 
Posts: 45
Joined: Fri Apr 01, 2005 2:21 am
Location: Italy

Re: problem import file

Postby jmacgreg » Tue Oct 28, 2008 11:27 am

Hi Daniela,

The native importexport plugin has undergone some changes over the past year; I'm not entirely sure but I suspect this problem may have been resolved. If you can't upgrade your entire system at the moment, can you try to upgrade the plugin itself? You can grab the files from the most recent version of OCS here: http://pkp.sfu.ca/ocs_download. And you can see the changes implemented in NativeImportExportPlugin.inc.php, for reference, here: http://pkp.sfu.ca/cvs/cvsweb.cgi/ocs2/p ... in.inc.php.

Cheers,
James
jmacgreg
 
Posts: 4190
Joined: Tue Feb 14, 2006 10:50 am


Return to OCS Technical Support

Who is online

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