Quantcast
Channel: PKP Community Forum - Latest topics
Viewing all 27289 articles
Browse latest View live

After Upgrade to OJS 3.1.2.2: HTTP Error 500 when opening a Journal, Logs attached

$
0
0

@ngrippa wrote:

Dear OJS Team and Community,
I hope you can help me with this issue.
After Upgrading OJS from Version 2.4 to 3.1.1.4 and then to Version 3.1.2.2 I have a major issue when trying to reach my journals.
They are all correctly displayed on the starting page. However, if i click one and try to get to the corresponding journal overview i get an Internal Server Error.
I looked this up in my error.log and it appears as attached. I can not figure out to resolve this issue on my own.

Best regards,
Nemo Grippa

[Tue Dec 03 14:45:23.996008 2019] [php7:error] [pid 749] [client 127.0.0.1:56670] PHP Fatal error:  Uncaught Error: Function name must be a string in /var/www/ojs-3.1.2.2-mysql/pages/issue/IssueHandler.inc.php:348\nStack trace:\n#0 /var/www/ojs-3.1.2.2-mysql/pages/issue/IssueHandler.inc.php(104): IssueHandler::_setupIssueTemplate(Object(Request), Object(Issue), false)\n#1 /var/www/ojs-3.1.2.2-mysql/lib/pkp/classes/core/PKPRouter.inc.php(390): IssueHandler->view(Array, Object(Request))\n#2 /var/www/ojs-3.1.2.2-mysql/lib/pkp/classes/core/PKPPageRouter.inc.php(231): PKPRouter->_authorizeInitializeAndCallRequest(Array, Object(Request), Array, false)\n#3 /var/www/ojs-3.1.2.2-mysql/lib/pkp/classes/core/Dispatcher.inc.php(134): PKPPageRouter->route(Object(Request))\n#4 /var/www/ojs-3.1.2.2-mysql/lib/pkp/classes/core/PKPApplication.inc.php(252): Dispatcher->dispatch(Object(Request))\n#5 /var/www/ojs-3.1.2.2-mysql/index.php(68): PKPApplication->execute()\n#6 {main}\n  thrown in /var/www/ojs-3.1.2.2-mysql/pages/issue/IssueHandler.inc.php on line 348, referer: http://localhost/

Posts: 1

Participants: 1

Read full topic


Checking if DOI assignment is on or off in 3.1.2.2

$
0
0

@philipmach wrote:

I just upgraded to 3.1.2.2 and am struggling to make sense of this feature. If I check the DOI status (Metadata>Indentifiers), the check box indicating “Assign the DOI to this article” is checked. If I uncheck it and save, it turns on again.

How can I tell definitively if a DOI is assigned?

I want them on most components of an issue, just not the cover page and frontmatter.

Posts: 1

Participants: 1

Read full topic

Upgrade from OJS 3.0 to 3.1

$
0
0

@stb wrote:

After solving the Genres Problem i got this:
Call to a member function getContextId() on null in C:\htdocs\ojs-3.1.2-2\lib\pkp\classes\submission\reviewAssignment\ReviewAssignment.inc.php:526
Stack trace:
#0 C:\htdocs\ojs-3.1.2-2\lib\pkp\classes\submission\reviewAssignment\ReviewAssignment.inc.php(502): ReviewAssignment->isRead()
#1 C:\htdocs\ojs-3.1.2-2\lib\pkp\classes\submission\reviewRound\ReviewRound.inc.php(213): ReviewAssignment->getStatus()
#2 C:\htdocs\ojs-3.1.2-2\lib\pkp\classes\submission\reviewRound\ReviewRoundDAO.inc.php(260): ReviewRound->determineStatus()
#3 C:\htdocs\ojs-3.1.2-2\lib\pkp\classes\submission\reviewAssignment\ReviewAssignmentDAO.inc.php(462): ReviewRoundDAO->updateStatus(Object(ReviewRound))
#4 C:\htdocs\ojs-3.1.2-2\lib\pkp\classes\submission\reviewAssignment\ReviewAssignmentDAO.inc.php(538): ReviewAssignmentDAO->updateReviewRoundStatus(Object(ReviewAssignment))
#5 C:\htdocs\ojs-3.1.2-2\classes\install\Upgrade.inc.php(2023): ReviewAssignmentDAO->deleteById(‘83’)
#6 C:\htdocs\ojs-3.1.2-2\lib\pkp\classes\install in C:\htdocs\ojs-3.1.2-2\lib\pkp\classes\submission\reviewAssignment\ReviewAssignment.inc.php on line 526

What can i do now? Thanks in advance Stephan

Posts: 1

Participants: 1

Read full topic

Upgrade to OJS 3.1.2.3 - Statistics >> Editorial - Generate PHP Fatal error?

$
0
0

@Ptran wrote:

Hi,
I just upgraded to OJS version 3.1.2-3 and I got this PHP error when clicked on “Statistics > Editorial” .

[Tue Dec 03 14:49:16.112618 2019] [php7:error] [pid 12788] [client 10.25.8.2:50678] PHP Fatal error: Uncaught TypeError: Argument 1 passed to PKP\Statistics\SubmissionStatistics::__construct() must be an instance of PKP\Statistics\object, instance of stdClass given, called in /var/www/ojs/lib/pkp/classes/services/EditorialStatisticsService.inc.php on line 75 and defined in /var/www/ojs/lib/pkp/classes/statistics/SubmissionStatistics.inc.php:27\nStack trace:\n#0 /var/www/ojs/lib/pkp/classes/services/EditorialStatisticsService.inc.php(75): PKP\Statistics\SubmissionStatistics->__construct(Object(stdClass))\n#1 /var/www/ojs/lib/pkp/pages/stats/PKPStatsHandler.inc.php(225): PKP\Services\EditorialStatisticsService->getSubmissionStatistics(1)\n#2 /var/www/ojs/lib/pkp/classes/core/PKPRouter.inc.php(390): PKPStatsHandler->editorialReport(Array, Object(Request))\n#5
/var/www/ojs/lib/pkp/classes/core/PKPPageRouter.inc.php(231): PKPRouter->_authorizeInitializeAndCallRequest(Array, Object(Request), Array, fa in /var/www/ojs/lib/pkp/classes/statistics/SubmissionStatistics.inc.php on line 27, referer: http://xxx.xxx.xxx.ca/index.php/jms/management/tools

Please help.
thanks

Posts: 3

Participants: 2

Read full topic

Cache Problem: Errors in first display of frontend and backend before erasing browsercache

$
0
0

@r.hirsinger wrote:

Application Version
OJS 3.1.2.1

Description of issue
After Upgrade any Version of the OJS 3 System to a next version, the frontend and backend of the system are displayed totally broken (this happens only in a browser that has the pre updated version of the OJS cached). After clearing the browsercache, everything is fine.

Example

My Question
How can this be prevented? When our editors and users see this, their first impression of the system is “Hey it’s broken” altought everything is okay.

I would be grateful for your help.

Posts: 1

Participants: 1

Read full topic

CrossRef Export/Registration Plugin, hardcode a full title of the journal

$
0
0

@BJBMS wrote:

Hi @ctgraham ,

I use OJS 3.1.2.1.
I need a small tweak of CrossRef Export/Registration Plugin.
I replaced full journal title with abbreviation in OJS. Now the Plugin pulls abbreviated “full title” instead of the full title registered with crossref, and therefore crossref sends me an error.

How to tweak the Plugin code to hardcode the full journal title, or can I do it in a more easy and elegant way?

Many thanks for your help.
Faruk

Posts: 1

Participants: 1

Read full topic

Server error accessing non-open-access issues in 3.1.2-3

$
0
0

@Vasyl_Ostrovskyi wrote:

Problem: 500 http error accessing issues, for which Access is set to Subscription.
What I did:

  1. Clean install of OJS 3.1.2-3, create journal and set basic configurations.
  2. imported sql tables ‘genre_settings’, ‘genres’, ‘section_settings’, ‘sections’ from my production site.
  3. Imported sample issues via native XML plugin from my production site
  4. set ‘The journal will require subscriptions to access some or all of its contents.’ option
  5. for some issues, set access to ‘Subscription’ and choose some open access date.

Result:
Browsing Archive, trying to enter protected issue get 500 http error,
for Open Access issues the things are OK.

On my production site with 3.1.2-1 the same issues are shown as expected (with locked pdfs)

Server log message on error:
[Wed Dec 04 13:42:58.628075 2019] [php7:error] [pid 6045] [client ::1:38894] PHP Fatal error: Uncaught Error: Function name must be a string in /var/www/html/vo/ojs/pages/issue/IssueHandler.inc.php:348\nStack trace:\n#0 /var/www/html/vo/ojs/pages/issue/IssueHandler.inc.php(104): IssueHandler::_setupIssueTemplate(Object(Request), Object(Issue), false)\n#1 /var/www/html/vo/ojs/lib/pkp/classes/core/PKPRouter.inc.php(390): IssueHandler->view(Array, Object(Request))\n#2 /var/www/html/vo/ojs/lib/pkp/classes/core/PKPPageRouter.inc.php(231): PKPRouter->_authorizeInitializeAndCallRequest(Array, Object(Request), Array, false)\n#3 /var/www/html/vo/ojs/lib/pkp/classes/core/Dispatcher.inc.php(134): PKPPageRouter->route(Object(Request))\n#4 /var/www/html/vo/ojs/lib/pkp/classes/core/PKPApplication.inc.php(252): Dispatcher->dispatch(Object(Request))\n#5 /var/www/html/vo/ojs/index.php(68): PKPApplication->execute()\n#6 {main}\n thrown in /var/www/html/vo/ojs/pages/issue/IssueHandler.inc.php on line 348, referer: http://localhost./index.php/umzh/issue/archive

Posts: 1

Participants: 1

Read full topic

OJS 2 to 3 upgrade: no languages configured

$
0
0

@philipmach wrote:

My journal just upgraded from 2.4.x to 3.1.2.2 and when you try to submit a new article, the first item in the form is “Submission Language” – but no options are configured.

Two questions:

  • Do we have to ask this question since the journal only accepts articles in English?
  • Where do we fix this (either set the language to English so it can be selected, or turn off the question entirely?

The dropdown menu here is empty…
image

And here, there are no languages to choose from:

Posts: 1

Participants: 1

Read full topic


Article titles, abstracts and keywords in two languages

$
0
0

@smfalqui wrote:

For indexing and journal evaluation reasons, we need the titles, abstracts and keywords of our articles to appear in two languages. Can this be done so they can be seen before downloading the articles?
Thanks in advance.

Posts: 1

Participants: 1

Read full topic

Title, abstract and keywords in two languages

$
0
0

@smfalqui wrote:

For indexing and journal evaluation reasons, we need the titles, abstracts and keywords of our articles to appear in two languages. Can this be done so they can be seen before downloading the articles?

Posts: 1

Participants: 1

Read full topic

Import large number of reviewers

$
0
0

@qassim_nasir wrote:

Dear All,

  • Application Version - e.g., OJS 3.1.2.1
  • I would like to import large number of reviewers from a local data base, what is the best way?

Appreciate your kind assistance.
Qassim

Posts: 1

Participants: 1

Read full topic

Prevent new custom pages from duplicating URL paths of existing system pages

$
0
0

@tmrozewski wrote:

Hello, I just found out that one of my editors that had created a custom page in OJS 3 with the slug /submissions, which broke the workflow by redirecting clicks on the Submissions button in the back end to the new custom page on the front end. This was a difficult problem to diagnose though easy to fix.

It would be really great if OJS prevented this from happening in the first place by preventing users from assigning URL paths for new pages that duplicate the existing paths for system functions.

Posts: 1

Participants: 1

Read full topic

Schedule for publication unable to save OJS 3.1.2-3

$
0
0

@manimughal wrote:

Dear @asmecher

We have upgraded our journals to OJS 3.1.2-3, article Schedule for publication is unable to save, it was loading for ever and never saved.
Kindest regards,
MANI MUGHAL

Posts: 2

Participants: 2

Read full topic

How can I get only DOI number (not URL) from an article

$
0
0

@geniusdesign wrote:

I’m using Plum plugin and I need to get only DOI number to build the URL in article_details.tpl:

<a href="https://plu.mx/plum/a/?doi={$doiUrl|regex_replace:'/http.*org\//':''}" data-popup="top" data-size="large" class="plumx-plum-print-popup plum-liberty-theme" data-site="plum"></a>

The param “{$doiUrl|regex_replace:’/http.*org//’:’’}” isn’t working, so I’m trying to rewrite in a different way but without success. The code from template is that:

{* DOI only for large screens *}
{foreach from=$pubIdPlugins item=pubIdPlugin}
{if $pubIdPlugin->getPubIdType() != 'doi'}
{php}continue;{/php}
{/if}
{assign var=pubId value=$article->getStoredPubId($pubIdPlugin->getPubIdType())}
{if $pubId}
{assign var="doiUrl" value=$pubIdPlugin->getResolvingURL($currentJournal->getId(),     $pubId)|escape}
<a href="{$doiUrl}" class="article-doi">{$doiPrefix}/{doiSuffix}</a>
{/if}
{/foreach}

I nedd to get only DOI number. How can I do this?

Posts: 2

Participants: 2

Read full topic

Plugins installation problems in OJS 3.1.2.1

$
0
0

@doridek wrote:

Hi,
I have a problem with installing plugins in OJS 3.1.2.1. Every time I want to install a plugin (I have tried QuickSubmit plugin and Translator plugin) there is a warning “Are you sure you wish to install this plugin?” and after pressing OK nothing happens.

I was looking in other posts in this forum a solution so I have downloaded files with Quicksubmit plugin from GitHub (https://github.com/pkp/quickSubmit) and put it in the import/export direcotry.
After that I can see the Quicksubmit plugin in Installed plugins and in Tools–>Import/export but after trying to run it the HTTP Error 500 appears.

What can I do?

I have to put on the server over 400 articles till the end of the year. The Quicksubmit plugin would be perfect for this. I have also problems with translation Polish signs so I need the Translator plugin.

Please help…

Posts: 1

Participants: 1

Read full topic


Change submission section

$
0
0

@Huzain_Azis wrote:

hello, I get a problem, in my OJS we try to make some sections…

there is an author submitting a paper in the wrong section, and the paper already in the publication steps.
is it possible for the paper to be transferred to another section?

Posts: 1

Participants: 1

Read full topic

Google Cloud Platform

References style lensGalley

$
0
0

@jpcv222 wrote:

Greetings PKP community.

I need to modify the style of the XML file references in lensGalley plugin of my OJS installation (3.1.1.4). References should be in APA or Vancouver style.

How can I modify the add-on to make it possible?
Any ideas please?

Posts: 1

Participants: 1

Read full topic

Change arabic Font Type

[OJS2.4.8 to 3.1.2-3] XAMPP, How to Upgrade with upgrade.php

$
0
0

@twa wrote:

@asmecher

I’m running XAMPP for MacOS X v7.3.11 and try to make a local OJS test upgrade from 2.4.8 to 3.1.2-3 before upgrading the main OJS system online.

But I got stuck: Trying to upgrade via install page results in timeout (blank page). Reloading leads to DB Error: Table 'db35967.articles' doesn't exist.

But how can I upgrade with the cli tool? I tried to do this via terminal with php /tools/upgrade.php upgrade, but nothing happens (yes, php is in PATH).

Can someone give me a clue?

Thanks, Tobias

Posts: 1

Participants: 1

Read full topic

Viewing all 27289 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>