Hi there,
I am currently facing a weird problem in ojs 3.1.2.0 (actually 2 problems)
Whenever I click on Add discussion, I get Ajax related error (invalid json format etc)
I am unable to upload files in discussion or review area… it gets stuck on second stage (review) and it stays there…
Weirdly and strangely I have got nothing in my error logs, I am using PHP 7.3 on IIS and running our journal portal for 5 years…
These errors have stopped our working as our Editors and reviewers are unable to perform their tasks and the work is piling up… Kindly help me in this regard on ASAP basis. I shall be really grateful…
In that case, I’d suggest using your browser’s developer tools to investigate the response that’s coming back from the server that corresponds with the pop-up error.
Regards,
Alec Smecher
Public Knowledge Project Team
I do not know much about investigating the response through browser, can you please elaborate more on this?
Moreover, I turned on display_errors and show stack trace settings on in config.inc.php and I am getting these warnings and notices on the page
in PHP error log file there are only warnings:
[16-Apr-2020 12:51:54 Asia/Yekaterinburg] PHP Deprecated: Directive ‘track_errors’ is deprecated in Unknown on line 0
[16-Apr-2020 12:53:43 Asia/Yekaterinburg] PHP Deprecated: Directive ‘track_errors’ is deprecated in Unknown on line 0
[16-Apr-2020 12:59:52 Asia/Yekaterinburg] PHP Deprecated: Directive ‘track_errors’ is deprecated in Unknown on line 0
[16-Apr-2020 13:24:09 Asia/Yekaterinburg] PHP Deprecated: Directive ‘track_errors’ is deprecated in Unknown on line 0
[16-Apr-2020 13:33:10 Asia/Yekaterinburg] PHP Deprecated: Directive ‘track_errors’ is deprecated in Unknown on line 0
[16-Apr-2020 13:33:19 Asia/Yekaterinburg] PHP Deprecated: Directive ‘track_errors’ is deprecated in Unknown on line 0
[16-Apr-2020 13:39:09 Asia/Yekaterinburg] PHP Deprecated: Directive ‘track_errors’ is deprecated in Unknown on line 0
[16-Apr-2020 13:40:17 Asia/Yekaterinburg] PHP Deprecated: Directive ‘track_errors’ is deprecated in Unknown on line 0
[16-Apr-2020 13:40:17 Asia/Yekaterinburg] PHP Deprecated: Directive ‘track_errors’ is deprecated in Unknown on line 0
[16-Apr-2020 13:40:17 Asia/Yekaterinburg] PHP Deprecated: Directive ‘track_errors’ is deprecated in Unknown on line 0
[16-Apr-2020 13:40:17 Asia/Yekaterinburg] PHP Deprecated: Directive ‘track_errors’ is deprecated in Unknown on line 0
[16-Apr-2020 13:45:46 Asia/Yekaterinburg] PHP Deprecated: Directive ‘track_errors’ is deprecated in Unknown on line 0
[16-Apr-2020 13:45:56 Asia/Yekaterinburg] PHP Deprecated: Directive ‘track_errors’ is deprecated in Unknown on line 0
[16-Apr-2020 13:46:04 Asia/Yekaterinburg] PHP Deprecated: Directive ‘track_errors’ is deprecated in Unknown on line 0
Also remember to check that you do not have any addblocker software enabled that might have rules which are blocking OJS scripts from being executed. I have seen this happening before.
I am using No AdBlockers. I have tried different browsers but the same result…
on clicking inspect element, under console there is just a warning message
Synchronous XMLHttpRequest on the main thread is deprecated because of its detrimental effects to the end user’s experience. For more help http://xhr.spec.whatwg.org/ jquery.js:9488