by josipkp » Fri Jan 20, 2012 8:35 am
Hi,
Trying to use SWORD export on OJS 2.3.6, we caught the following message on the apache2 log:
PHP Fatal error: Call to a member function getDatePublished() on a non-object in /var/www/ojs/cache/t_compile/%%DC^DC6^DC6E5A90%%citation.tpl.php on line 37, referer: http://[...]/manager/importexport/plugin/SwordImportExportPlugin
The screen shows something similar for each article selected individually:
@article{,
author = {Júlio César Suzuki},
title = {Editorial},
journal = {Agrária (São Paulo. Online)},
year = {
If we export some of these articles (created as "quick submission") and try to import in another OJS installation (2.3.4)
comes the message:
DB Error: Column 'date_published' cannot be null
The published date is automatic to the current date if it is not changed for the issue.
On the database, using the SQL "select issue_id, journal_id, volume, number, year, date_published from issues;" it is possible to see date_published not null.
But, the date_published on published_articles table are all null!
What could be wrong? Who fill this data?
What need to be changed to Sword deposit and import/export works?
Thanks in advance,
Josi Perez