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
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.

problem import file

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

Hi to all,
I have tried to import a paper in OCS, 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)
<paper language="it" public_id="">
<title locale="it"><![CDATA[Test carico da xml]]></title>
<abstract locale="it"><![CDATA[abstract]]></abstract>
<galley locale="it">
<file><href mime_type="text" src="FileDiTest.txt" /></file>

Thanks in advance for your help
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.

Posts: 4191
Joined: Tue Feb 14, 2006 10:50 am

Return to OCS Technical Support

Who is online

Users browsing this forum: No registered users and 1 guest