I’m using OJS 3.4.0-8(latest).
Whenever I try to save a setting in admin Dashboard this appears “An unexpected error has occurred. Please reload the page and try again.” and setting cannot be saved. Also in some sections of the Dashboard e.g. Settings-Websites-Plugins a loading circle is appearing as if loading forever.
What can I do to solve these issues and be able to use and see all settings correctly?
Thank you.
Hi @Stavros_Manolis,
It might be a good idea to check your PHP error logs. This ought to provide more clues about what is occuring here.
-Roger
PKP Team
I cd into /var/log/apache2/ deleted everything and reproduced the errors. This is what I got:
[Tue Jan 21 23:27:45.365831 2025] [mpm_prefork:notice] [pid 2790614:tid 2790614] AH00163: Apache/2.4.62 (Debian) OpenSSL/3.0.15 configured – resuming normal operations
[Tue Jan 21 23:27:45.365874 2025] [core:notice] [pid 2790614:tid 2790614] AH00094: Command line: ‘/usr/sbin/apache2’
I also set /var/log/php_errors.log in php.ini and created the file with owner www-data:www-data but nothing gets logged there either
In fact I cannot do pretty much anything in OJS, I can’t view submissions either, the ever loading circle appears.
When I press Activity Logs and Notes also this appears “Failed Ajax request or invalid JSON returned.” but then it shows the message ok I suppose. It seems that the whole installation is broken although I updated to the latest version today.
Hello again, I accessed the site with the local server ip and everything works correctly and the first php logs appeared. I think it has something got to do with my domain name and how cloudflare manages it. Any suggestions? The domain is a paid one and I manage it with cloudflare. Im using zero trust tunnel feature of cloudflare for accessing
This is the solution:
Indeed it was a cloudflare problem however nothing pinpointed to that, just discovered it accidentally. Thank you.
This topic was automatically closed after 12 days. New replies are no longer allowed.