Ojs 3.1 upgrade issue

This is browser console. What errors do you see in the PHP log just after the error?

You’re right. The permission of the files should be 644. I experimented with the permission. I reinstalled the OJS with the default settings. The permission of the files is 644. The permission of the folders is 755.
Apache

[05/Feb/2018:22:51:59 +0200] “GET /index.php/surface/submissions HTTP/1.1” 200 23142 " index.php/surface/admin/index" “Mozilla/5.0 (Windows NT 6.3; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/63.0.3239.132 Safari/537.36”
[05/Feb/2018:22:52:00 +0200] “GET /index.php/surface/$$$call$$$/page/page/user-nav-backend?=1517863921234 HTTP/1.1" 200 3555 " index.php/surface/submissions" “Mozilla/5.0 (Windows NT 6.3; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/63.0.3239.132 Safari/537.36”
[05/Feb/2018:22:52:00 +0200] “GET /index.php/surface/api/v1/submissions?status=1&assignedTo=-1&searchPhrase=&count=20&offset=0&=1517863921235 HTTP/1.1” 200 25 " index.php/surface/submissions" “Mozilla/5.0 (Windows NT 6.3; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/63.0.3239.132 Safari/537.36”
[05/Feb/2018:22:52:00 +0200] “GET /index.php/surface/api/v1/submissions?status%5B%5D=4&status%5B%5D=3&searchPhrase=&count=20&offset=0&=1517863921237 HTTP/1.1” 200 25 " index.php/surface/submissions" “Mozilla/5.0 (Windows NT 6.3; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/63.0.3239.132 Safari/537.36”
[05/Feb/2018:22:52:00 +0200] “GET /index.php/surface/api/v1/submissions?status=1&searchPhrase=&count=20&offset=0&=1517863921236 HTTP/1.1” 200 850 " index.php/surface/submissions" “Mozilla/5.0 (Windows NT 6.3; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/63.0.3239.132 Safari/537.36”
[05/Feb/2018:22:52:00 +0200] "GET /index.php/surface/$$$call$$$/page/page/tasks?
=1517863921238 HTTP/1.1” 200 1289 " index.php/surface/submissions" “Mozilla/5.0 (Windows NT 6.3; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/63.0.3239.132 Safari/537.36”
[05/Feb/2018:22:52:01 +0200] “GET /index.php/surface/$$$call$$$/grid/notifications/task-notifications-grid/fetch-grid?_=1517863921239 HTTP/1.1” 200 7998 " index.php/surface/submissions" “Mozilla/5.0 (Windows NT 6.3; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/63.0.3239.132 Safari/537.36”
[05/Feb/2018:22:52:10 +0200] “DELETE /index.php/surface/api/v1/_submissions/1 HTTP/1.1” 403 241 " index.php/surface/submissions" "Mozilla/5.0 (Windows NT 6.3; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/63.0.3239.132 Safari/537.36"
[05/Feb/2018:22:57:06 +0200] “GET / HTTP/1.1” 302 - “-” “Mozilla/5.0 (Windows NT 6.3; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/63.0.3239.132 Safari/537.36”
[05/Feb/2018:22:57:06 +0200] “GET /index.php/surface HTTP/1.1” 200 7323 “-” “Mozilla/5.0 (Windows NT 6.3; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/63.0.3239.132 Safari/537.36”

But I do not see logs about errors

This rather looks liek access log, not php error log. Please post php error log or ask your sysadmin to provide it for you.

You are right, this is the access log. But the error log is empty.

Probably it is not enabled not empty. Please ask your sysadmin to enable it and to send error messages to file instead to screen.

Errors are written to the file. I tried to access a non-existent directory Sanches. Then there was an entry in the error log:
[Tue Feb 06 07:42:43 2018] [error] [client …] File does not exist: …/http/sanches

When I tried to access the file through a css file. Then there was an entry in the error log:
[Sun Feb 04 19:03:50 2018] [error] [client …] File does not exist: /http/public/journals/1/header_new.jpg, referer: /public/journals/1/styleSheet.css

But the error about the inability to delete a submission is not displayed in the error log

Try to do ordinary work that you want to do including deleting submission so we can see what happens then.

When I try to delete a submission I get this error. I’m looking a solution for “An unexpected error has occurred. Please reload the page and try again.”

Anyone found a solution about this problem?

Server Information:
|OS platform|Linux|
|PHP version|5.6.32|
|Apache version|Apache/2.4.6 (CentOS) OpenSSL/1.0.2k-fips mod_fcgid/2.3.9 PHP/5.4.16 mod_python/3.5.0- Python/2.7.5|
|Database driver|mysqli|
|Database server version|5.5.56-MariaDB|

Hi @snmzclk,

What specific issue? This is quite a long thread with a number of issues discussed.

Regards,
Alec Smecher
Public Knowledge Project Team

Hi @asmecher ,

I upgraded from OJS 2.4.8.0 to OJS 3.1.1.0. Everything worked except the problem of deleting the submission. For this reason I did an empty installation. I got the same error. I got the same mistake with the single language option.

I looked and applay all suggestions, I found on the web.

Hi @snmzclk,

Can you check your PHP error log for details?

Regards,
Alec Smecher
Public Knowledge Project Team

Hi guys,

I´m having the same problem. Did anyone find the solution?

The ##api.submissions.unknownError## occur when the restful_urls is changed in config.inc.php to On. If restful_urls = Off no error occur.

Thanks,
Geucimar

Hi @Gecuimar,

I see you’ve already posted this on another thread. Please don’t double-post; it clutters the forum.

Regards,
Alec Smecher
Public Knowledge Project Team