Can't open Journal settings and appearence tab after OJS 3.0.2 upgrade


#1

Hello,
I tried upgrading OJS 2.4.5 to 3.0.2 and now unable to open the journal settings due to following error:
Uncaught SyntaxError: Unexpected end of JSON input
at JSON.parse ()
at Function.n.parseJSON (jquery.min.js:4)
at proxyConstructor.$.pkp.controllers.TabHandler.dataFilter (TabHandler.js:250)
at Object.dataFilter (Handler.js:268)
at Qc (jquery.min.js:4)
at x (jquery.min.js:4)
at XMLHttpRequest.b (jquery.min.js:4)

I tried changing charset to utf-8 and off(Dosen’t work in any condition)
How do i solve this error?

[client ::1:51773] Malformed UTF-8 characters, possibly incorrectly encoded, referer: http://localhost/computerresearch.org/index.php/computer/management/settings/website


#2

Hi @Akshar_Pandey,

To avoid confusing things further, keep your character set configuration options the same as they were in your old installation. Check your PHP error log for details.

Regards,
Alec Smecher
Public Knowledge Project Team


#3

hello @asmecher
Thanks for the support.

I solved the problem by putting charset on utf8,database-charset on utf8 and normalization -on which was different from my previous config settings(Strange!).

Thanks again.


#4

HI @Akshar_Pandey , I have the same problem. I have two servers:
The first server with ojs 2.4.8 and I migrated to 3.0.2 and migrated again to 3.1.1
I moved database and ojs to other server where the mysql configuration is with UTF8
The original database is latin1.
Can you help me wtih this problem ?

Regards.


#5

I resolved with this link:

Regards.
xavi