Software Hosting and Development Services available at PKP Publishing Services
As the developers of Open Journal Systems, Open Conference Systems, Open Harvester Systems, and Open Monograph Press, the PKP team are experts in helping journal managers and conference organizers make the most of their online publishing projects. PKP Publishing Services offers support for:
As a customer of PKP Publishing Services, you will not only receive direct, personalized support from the PKP Development Team, but will be contributing to the ongoing development of the PKP applications. All funds raised by PKP Publishing Services go directly toward enhancing our free, open source software. For more information, please contact us.
Are you an Editor, Author, or Journal Manager in need of help? Want to talk to us about workflow issues? This is your forum.
Moderators: jmacgreg, michael, John, vgabler
Forum rules
This forum is meant for general questions about the usability of OJS from an everyday user's perspective: journal managers, authors, and editors are welcome to post questions here, as are librarians and other support staff. We welcome general questions about the role of OJS and how the workflow works, as well as specific function- or user-related questions.
What to do if you have general, workflow or usability questions about OJS:1.
Read the documentation. We've written documentation to cover from OJS basics to system administration and code development, and we encourage you to read it.
2.
take a look at the tutorials. We will continue to add tutorials covering OJS basics as time goes on.
3.
Post a question. Questions are always welcome here, but if it's a technical question you should probably post to the
OJS Technical Support subforum; if you have a development question, try the
OJS Development subforum.
by helenw » Tue Feb 01, 2005 8:01 pm
Hello,
Have just starting testing/using the OJS software for the first time and have struck a problem accessing some PDF files. When clicking on a PDF link, I get the error message "Invalid permissions".
I'm finding this strange as it's only happening with some PDF files. I have gone into the set up and compared the settings for accessible PDF's and non-accessible PDF's, and can't see any differences.
Hopefully someone has an explanation...
Regards,
Helen
-
helenw
-
- Posts: 18
- Joined: Thu Dec 09, 2004 9:31 pm
- Location: Swinburne University of Technology, Melbourne, Australia
by kevin » Tue Feb 01, 2005 9:36 pm
Is this through the admin (admin/include/getdoc.php) or reader (include/getdoc.php) part of the system?
Kevin
-
kevin
-
- Posts: 338
- Joined: Tue Oct 14, 2003 8:23 pm
-
by Guest » Tue Feb 01, 2005 9:39 pm
Through the reader...
-
Guest
-
by kevin » Mon Feb 21, 2005 9:38 am
The problem appears to occur when an article is added to an already published issue that is not the current live issue.
Try this patch:
- Code: Select all
Index: admin/editor/publishing.php
===================================================================
RCS file: /cvs/ojs/admin/editor/publishing.php,v
retrieving revision 1.269
diff -u -r1.269 publishing.php
--- admin/editor/publishing.php 12 Dec 2004 21:06:06 -0000 1.269
+++ admin/editor/publishing.php 21 Feb 2005 16:37:17 -0000
@@ -89,9 +89,9 @@
// bPublished is not used if we 'Publish By Issue'. However, if the user switches between
// the two scheduling modes while some articles are live, we still want these to be live in the
// 'Publish by Article' mode. So we have to set it as well
- $livequery = $db->query("select bLive from tblissues where nIssueID = $fkIssueID[$i]");
+ $livequery = $db->query("select bPublished from tblissues where nIssueID = $fkIssueID[$i]");
$row = $db->assoc_array($livequery);
- if ($row["bLive"] == 1) {
+ if ($row["bPublished"] == 1) {
$query = "update tblarticles set fkIssueID = '$fkIssueID[$i]', nOrder = '$order', bPublished = 1, dtDateAssignedIssue = '$today', dtDatePublished = '$today'" . (isset($new_fkSectionID[$i]) ? ", fkSectionId = '$new_fkSectionID[$i]'" : "") . " where nArticleID = '$nArticleID[$i]'";
} else {
$query = "update tblarticles set fkIssueID = '$fkIssueID[$i]', nOrder = '$order'" . (isset($new_fkSectionID[$i]) ? ", bPublished = 1, dtDateAssignedIssue = '$today', dtDatePublished = '$today', fkSectionId = '$new_fkSectionID[$i]'" : "") . " where nArticleID = '$nArticleID[$i]'";
Note that for any already published articles exhibiting this problem you will need to manually set the bPublished field in the tblarticles table. An SQL statement such as "UPDATE tblarticles set bPublished = 1 WHERE fkIssueID > 0" should be sufficient to catch these.
Kevin
-
kevin
-
- Posts: 338
- Joined: Tue Oct 14, 2003 8:23 pm
-
by Martin Fietkiewicz » Tue Feb 22, 2005 3:55 pm
i'm still unfamiliar with how to apply patches. how do i go about doing so? is there a manual i could read? man pages?
-
Martin Fietkiewicz
-
by kevin » Tue Feb 22, 2005 4:00 pm
There is a "patch" command on most *nix that can be used to apply patches in unified or other formats.
For a change like this you might as well just apply it manually though. "-" at the beginning of a line means remove that line, "+" means add that line.
Kevin
-
kevin
-
- Posts: 338
- Joined: Tue Oct 14, 2003 8:23 pm
-
Return to OJS Editorial Support and Discussion
Who is online
Users browsing this forum: No registered users and 1 guest