OJS OCS OMP OHS

You are viewing the PKP Support Forum | PKP Home Wiki



Error updating journal config

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
The Public Knowledge Project Support Forum is moving to http://forum.pkp.sfu.ca

This forum will be maintained permanently as an archived historical resource, but all new questions should be added to the new forum. Questions will no longer be monitored on this old forum after March 30, 2015.

Re: Error updating journal config

Postby asmecher » Mon Oct 28, 2013 12:15 pm

Hi Jannie,

Check for settings in the journal_settings table with a setting_name from the following set, but without a value in the 'locale' column:

authorGuidelines, submissionChecklist, copyrightNotice, metaDisciplineExamples, metaSubjectClassTitle, metaSubjectClassUrl, metaSubjectExamples, metaCoverageGeoExamples, metaCoverageChronExamples, metaCoverageResearchSampleExamples, metaTypeExamples, competingInterestGuidelines

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

Re: Error updating journal config

Postby makouvlei » Mon Oct 28, 2013 12:32 pm

Thanks Alec, all records with setting_name from your list have a value in the 'locale' column.

Regards
Jannie
makouvlei
 
Posts: 16
Joined: Wed Nov 17, 2010 2:56 am

Re: Error updating journal config

Postby asmecher » Wed Oct 30, 2013 1:00 pm

Hi Jannie,

Try the query at http://pkp.sfu.ca/support/forum/viewtopic.php?f=8&t=10899&p=42264#p42264.

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

Re: Error updating journal config

Postby partove » Mon Dec 30, 2013 3:39 am

ojs2 has produced an error\n Message: WARNING: Cannot use a scalar value as an array\n In file: /usr/ local/www/apache22/data/ojs23/classes/journal/JournalSettingsDAO.inc.php\n At line: 83\n Stacktrace: \n Server info:\n OS: FreeBSD\n PHP Version: 5.3.27\n Apache Version: Apache/2.2.25 (FreeBSD) PHP/5.3.27 with Suhosin-Patch mod_ssl/2.2.25 OpenSSL/0.9.8y DAV/2\n DB Driver: mysql\n DB server version: 5.5.33, referer: http://172.16.5.248/index.php?journal=site&page=index
partove
 
Posts: 4
Joined: Mon Dec 30, 2013 2:36 am

Re: Error updating journal config

Postby asmecher » Mon Dec 30, 2013 5:53 am

Hi partove,

As above in this thread, this suggests that you have entries in journal_settings with the same "setting_name" but for which there is a mixture of set and unset "locale" values. For any "setting_name", all rows should have a "locale" value of either null or a string value; a mixture of both is not permitted. The most likely cause is an incomplete upgrade.

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

Previous

Return to OJS Technical Support

Who is online

Users browsing this forum: Yahoo [Bot] and 2 guests