Moderators: jmacgreg, michael, John, vgabler
$db->query($query) or die("Failed to update tbljournal table");$db->query($query) or die($db->error());if (isset($submit) && ($usertype == "editor" || $usertype == "admin" || ($usertype == "author" && empty($bPublished)))) {
// Update submission metadata
$query = "UPDATE tblarticles SET chMetaTitle = '" . (empty($chMetaTitle) ? _tr('UNTITLED_SUBMISSION') : $chMetaTitle) . "',
chMetaAbstract = '$chMetaAbstract',
chMetaSponsor_Author = '$chMetaSponsor_Author',
chMetaDiscipline = '$chMetaDiscipline',
chMetaSubjectClass = '$chMetaSubjectClass',
chMetaSubject = '$chMetaSubject',
chMetaCoverageGeo = '$chMetaCoverageGeo',
chMetaCoverageChron = '$chMetaCoverageChron',
chMetaCoverageSample = '$chMetaCoverageSample',
chMetaType_Author = '$chMetaType_Author',
chMetaType_Editor = '$chMetaType_Editor',
chMetaLanguage = '$chMetaLanguage',
chMetaSponsor_Editor = '$chMetaSponsor_Editor',
chMetaFormat = '$chMetaFormat',
chMetaRights = '$chMetaRights'
WHERE nArticleID = '$id'";
$db->query($query) or die("Failed to update tblarticles table");
Slashes inserted in the copyright statement can be troublesome as well. When submitting articles in step2 these slashes do generate table updating errors as the copyright statement is transfered into tblarticles. Or do I miss something...?
By the way, is there any complete french translation of locale available ? I have loosely translated the user interface and some parts of admin which I would be pleased to share with whoever is interested: see http://www.hisal.org
and last : submitted articles, but not yet approved or inserted in a volume, are listed in the Author's Index page ???? Should that be ?
As long as magic_quotes_gpc is enabled (or left at the default setting) in your php.ini it shouldn't be a problem. If you have this setting disabled you will encounter many such problems.
That should not occur. Did you happen to publish some articles individually in "publish by year" mode before switching to using issues? That could result in some inconsistencies like this.
magic_quotes_gpc is enabled through .htaccess file in top OJS directory, but that particular problem is unanswered
Index: admin/author/step2.php
===================================================================
RCS file: /cvs/ojs/admin/author/step2.php,v
retrieving revision 1.54
diff -u -r1.54 step2.php
--- admin/author/step2.php 13 May 2004 08:40:47 -0000 1.54
+++ admin/author/step2.php 10 Jun 2004 08:04:26 -0000
@@ -69,9 +69,9 @@
// Insert the editor-filled metadata for this submission
$chMetaSource = addslashes($journaltitle);
- $query = "update tblarticles set chMetaSponsor_Editor = '$chSponsor_Editor',
- chMetaSource = '$chMetaSource',
- chMetaRights = '$chCopyrightNotice'
+ $query = "update tblarticles set chMetaSponsor_Editor = '".addslashes($chSponsor_Editor)."',
+ chMetaSource = '".addslashes($chMetaSource)."',
+ chMetaRights = '".addslashes($chCopyrightNotice)."'
where nArticleID = '$id'";
$db->query($query) or die("Failed to update tblarticles table");The journal has been configured in a "publish by year" mode from the beginning. But do you mean that if someone changed this setting temporarly and then went back to initial state, it might lead to such problems ? See : http://www.hisal.org/search.php?op=index
Return to OJS Editorial Support and Discussion
Users browsing this forum: No registered users and 1 guest