You are viewing the PKP Support Forum | PKP Home Wiki

Article editorial process page broken for all roles

Are you responsible for making OJS work -- installing, upgrading, migrating or troubleshooting? Do you think you've found a bug? Post in this forum.

Moderators: jmacgreg, btbell, michael, bdgregg, barbarah, asmecher

Forum rules
What to do if you have a technical problem with OJS:

1. Search the forum. You can do this from the Advanced Search Page or from our Google Custom Search, which will search the entire PKP site. If you are encountering an error, we especially recommend searching the forum for said error.

2. Check the FAQ to see if your question or error has already been resolved.

3. Post a question, but please, only after trying the above two solutions. If it's a workflow or usability question you should probably post to the OJS Editorial Support and Discussion subforum; if you have a development question, try the OJS Development subforum.

Article editorial process page broken for all roles

Postby ramon » Mon Dec 03, 2012 11:20 am

Hello all,

We are providing support to an institution.
Their OJS install is throwing the following error:
Code: Select all
ojs2 has produced an error Message: WARNING: Cannot use a scalar value as an array In file: ojs/classes/journal/JournalSettingsDAO.inc.php At line: 80

This is also reported as their settings:
Code: Select all
Stacktrace: Server info: OS: Linux PHP Version: 5.2.14 Apache Version: Apache/2.2.10 (Linux/SUSE) DB Driver: postgres DB server version: PostgreSQL 8.3.11 on x86_64-unknown-linux-gnu, compiled by GCC gcc (SUSE Linux) 4.3.2 [gcc-4_3-branch revision 141291]

The current problem is that the article's editorial process page gets broken when trying to bring the info, just before the article's title. The author info is displayed, and the label for the article title's row, but the title and all the other article info does not. The rightsidebar and its modules do show up.

We tried searching for this, but couldn't find anything related.
This is a, can't tell if there was any custom code (apparently not). Not sure if it's fully patched either.

Any ideas?

Ramón Martins Sodoma da Fonseca
Analista em C&T
Coordenação de Tecnologias de Informação
Instituto Brasileiro de Informação em Ciência e Tecnologia - IBICT
Ministério da Ciência e Tecnologia - MCT
Posts: 945
Joined: Wed Oct 15, 2003 6:15 am
Location: Brasí­lia/DF - Brasil

Re: Article editorial process page broken for all roles

Postby asmecher » Mon Dec 03, 2012 11:26 am

Hi Ramón,

Check to see if there are entries in journal_settings which are not localized (i.e. locale IS NULL) when they should be. I suspect you'll find an entry for the journal title with a null locale entry. This usually happens because of a failed upgrade that was not properly fixed.

Alec Smecher
Public Knowledge Project Team
Posts: 9920
Joined: Wed Aug 10, 2005 12:56 pm

Re: Article editorial process page broken for all roles

Postby mcwilson » Mon Jan 07, 2013 7:17 pm


We have fixed our problem without fully understanding it: see http://pkp.sfu.ca/support/forum/viewtopic.php?f=8&t=9477&p=36855#p36855.
Thanks for your help.
Posts: 9
Joined: Wed Dec 19, 2012 3:52 pm

Return to OJS Technical Support

Who is online

Users browsing this forum: No registered users and 5 guests