OJS 3.2.0 localhost is currently unable to handle this request. HTTP ERROR 500

This page isn’t working

localhost is currently unable to handle this request.

HTTP ERROR 500
path:
http://localhost/ojs-3.2.0/index.php/index/install/install

Logs
[Thu Oct 08 12:00:12.801541 2020] [ssl:warn] [pid 1544:tid 576] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Thu Oct 08 12:00:12.836448 2020] [core:warn] [pid 1544:tid 576] AH00098: pid file C:/xampp/apache/logs/httpd.pid overwritten – Unclean shutdown of previous Apache run?
[Thu Oct 08 12:00:12.902271 2020] [ssl:warn] [pid 1544:tid 576] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Thu Oct 08 12:00:13.109593 2020] [mpm_winnt:notice] [pid 1544:tid 576] AH00455: Apache/2.4.41 (Win64) OpenSSL/1.0.2s PHP/7.1.33 configured – resuming normal operations
[Thu Oct 08 12:00:13.109593 2020] [mpm_winnt:notice] [pid 1544:tid 576] AH00456: Apache Lounge VC14 Server built: Aug 12 2019 10:48:01
[Thu Oct 08 12:00:13.109593 2020] [core:notice] [pid 1544:tid 576] AH00094: Command line: ‘c:\xampp\apache\bin\httpd.exe -d C:/xampp/apache’
[Thu Oct 08 12:00:13.111589 2020] [mpm_winnt:notice] [pid 1544:tid 576] AH00418: Parent: Created child process 4344
[Thu Oct 08 12:00:13.389677 2020] [ssl:warn] [pid 4344:tid 544] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Thu Oct 08 12:00:13.488587 2020] [ssl:warn] [pid 4344:tid 544] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Thu Oct 08 12:00:13.508526 2020] [mpm_winnt:notice] [pid 4344:tid 544] AH00354: Child: Starting 150 worker threads.
[Thu Oct 08 12:05:35.383698 2020] [php7:error] [pid 4344:tid 1932] [client ::1:50797] PHP Fatal error: Can’t inherit abstract function SchemaDAO::newDataObject() (previously declared abstract in PKPSubmissionDAO) in C:\xampp\htdocs\ojs-3.2.0\lib\pkp\classes\submission\PKPSubmissionDAO.inc.php on line 398, referer: http://localhost/ojs-3.2.0/index.php/index/install
[Thu Oct 08 12:07:31.206959 2020] [php7:error] [pid 4344:tid 1908] [client ::1:50829] PHP Fatal error: Can’t inherit abstract function SchemaDAO::newDataObject() (previously declared abstract in PKPSubmissionDAO) in C:\xampp\htdocs\ojs-3.2.0\lib\pkp\classes\submission\PKPSubmissionDAO.inc.php on line 398, referer: http://localhost/ojs-3.2.0/index.php/index/install
[Thu Oct 08 12:07:43.821485 2020] [php7:notice] [pid 4344:tid 1920] [client ::1:50830] ojs2: 404 Not Found

Hi @Sam_John,

I would recommend installing the latest version of OJS; it appears you’re working with version 3.2.0.

Regards,
Alec Smecher
Public Knowledge Project Team

Tried and still not working.

Hi @Sam_John,

Are you still getting a 500 error? What is in your error log?

Regards,
Alec Smecher
Public Knowledge Project Team

This is “inspect console” log.

jquery.min.js?v=3.2.1.1:2 [Deprecation] Synchronous XMLHttpRequest on the main thread is deprecated because of its detrimental effects to the end user’s experience. For more help, check https://xhr.spec.whatwg.org/.
send @ jquery.min.js?v=3.2.1.1:2
pkp.min.js?v=3.2.1.1:145 Uncaught TypeError: Cannot read property ‘handleJson’ of undefined
at b.a.pkp.classes.linkAction.AjaxRequest.handleResponse (pkp.min.js?v=3.2.1.1:145)
at Object.success (pkp.min.js?v=3.2.1.1:122)
at u (jquery.min.js?v=3.2.1.1:2)
at Object.fireWith [as resolveWith] (jquery.min.js?v=3.2.1.1:2)
at k (jquery.min.js?v=3.2.1.1:2)
at XMLHttpRequest. (jquery.min.js?v=3.2.1.1:2)
theme.min.js:1 [Intervention] Slow network is detected. See Intervention: WebFonts use adaptive timeouts to take fallback fonts - Chrome Platform Status for more details. Fallback font will be used while loading: https://…/lib/pkp/lib/vendor/tinymce/tinymce/skins/lightgray/fonts/tinymce.woff
4:1 [Intervention] Slow network is detected. See Intervention: WebFonts use adaptive timeouts to take fallback fonts - Chrome Platform Status for more details. Fallback font will be used while loading: https://fonts.gstatic.com/s/notosans/v11/o-0IIpQlx3QUlC5A4PNr5jRAW_0.woff2
5/index.php/njns/api/v1/submissions/2/publications/2:1 Failed to load resource: the server responded with a status of 405 ()
DevTools failed to load SourceMap: Could not load content for https://…/lib/pkp/lib/vendor/tinymce/tinymce/skins/lightgray/skin.min.css.map: HTTP error: status code 404, net::ERR_HTTP_RESPONSE_CODE_FAILURE

Hi @Sam_John,

The issue is probably related to this:

the server responded with a status of 405 ()

I don’t believe this is coming from OJS; it’s probably coming from your web server. If you have a tool like mod_security installed, it may be blocking the request from getting to OJS. There should be a security log on your server that provides more information.

Regards,
Alec Smecher
Public Knowledge Project Team

The 405 status is returned because your server does not support the PUT/DELETE methods. I recommend you check your server configuration to see if you can support PUT/DELETE.

From v3.3, we have implemented workarounds to this. But until it is released you will need to update your server configuration.