Hi
I try to manage the submission of my journal but it looks like something trouble and difficult to access the article. Then this information “##api.submissions.unknownError##” displayed on my screen. Could you help me please?
i checked many topic due to this problem so i send more information for detals:
when i got this error in my console browser show this errors too:
TypeError: b is undefined[Learn More] pkp.min.js:315:449
a.pkp.controllers.modal.ModalHandler.prototype.modalOpen http://ojs3./js/pkp.min.js:315:449
e.a.methods.ajaxErrorCallback http://ojs3./js/build.js:6:36855
bound self-hosted
e.a.methods.get/<.error http://ojs3./js/build.js:1:46188
n.Callbacks/j http://ojs3./lib/pkp/lib/components/jquery/jquery.min.js:2:27131
n.Callbacks/k.fireWith http://ojs3./lib/pkp/lib/components/jquery/jquery.min.js:2:27949
x http://ojs3./lib/pkp/lib/components/jquery/jquery.min.js:4:22267
.send/b
my Php server version : 5.6.32-1+0~20171027135529.7+stretch~1.gbpd60169
and my config charset is like this:
[i18n]
; Default locale
locale = fa_IR
; Client output/input character set
client_charset = utf-8
; Database connection character set
; Must be set to “Off” if not supported by the database server
; If enabled, must be the same character set as “client_charset”
; (although the actual name may differ slightly depending on the server)
connection_charset = utf8
; Database storage character set
; Must be set to “Off” if not supported by the database server
database_charset = utf8
; Enable character normalization to utf-8 (recommended)
; If disabled, strings will be passed through in their native encoding
; Note that client_charset and database collation must be set
; to “utf-8” for this to work, as characters are stored in utf-8
charset_normalization = On
I should say that when i changed client_charset = utf-8 to client_charset = utf8 all persian translations not working and OJS return just key of message not translate message
What exact version of OJS are you using?
Is this an error that appears consistently, or only sometimes?
Have you recently upgraded, and if so, is that when the problem started?
Regards,
Alec Smecher
Public Knowledge Project Team
i should add some more information:
My ojs version is 3.1.1.0
and i know that there is one update for this version but i couldn’t upgrade for now
in fact , its appears only some times
and there is very strange note on my problem,that problem just occurred when i work with Firefox , chrome never shows this error
Today we faced with the same problem after upgrade of our production OJS 3.1.0.1 to 3.1.1.1.
We are using the following config: Linux, PHP 7.0.29, Apache 2.2.22, mysql 5.5.60. The upgrade itself went absolutely without problems. Generally everything is working properly, except Submission section.
Well, the main question is why does this problem come up right now? We use OJS for a year and a half, changed three versions, changing nothing in the settings of the journals. But only now and only in submissions section the problem get out… I tried the latest 3.1.1.2 several hours ago, absolutely clean, even without public, etc. data - just our config.inc.php and cli command for upgrade. Upgrade - done, api errors - exactly the same…
We have several journals within our OJS. Thus we use redirects to “isolate” journals in their own domains. Here are the corresponding sections in config.inc.php and .htaccess:
## biocomm has its own domain
RewriteCond %{SERVER_NAME} ^(www\.)?biocomm.spbu.ru
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ /index.php/s3/$1 [QSA,L]
I repeat that after upgrading, the api error appears in all the journals and only in the submissions section. The same settings in version 3.1.0.1 do not cause any errors, everything in submissions works properly.
OK, here is our result. First of all, I added a line for one journal (biocomm) in the current installation and checked that it does not affect anything:
## biocomm has its own domain
RewriteCond %{SERVER_NAME} ^(www\.)?biocomm.spbu.ru
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_URI} !api/v1/
RewriteRule ^(.*)$ /index.php/s3/$1 [QSA,L]
Next, I upgraded to 3.1.1.2 and made sure that there was no api error for biocomm journal, whereas for everyone else there was. Then I added this line for all other journals - now they are working properly in terms of submissions section.
The question remains - is this a workaround or is it going to be like this all the time?