By editing the metadata of the Publication Formats, only this is mentioned:
omp: 404 Not Found, referer: https://…/index.php/ugp/workflow/index/46/5
When opening an active submission this is also in the error log:
[Fri Nov 13 15:36:22.096315 2020] [php7:notice] [pid 20521] [client …] PHP Notice: tempnam(): file created in the system’s temporary directory in /disk/www/…/classes/codelist/ONIXCodelistItemDAO.inc.php on line 84, referer: https://…/index.php/ugp/submissions
[Fri Nov 13 15:36:22.163230 2020] [php7:notice] [pid 20521] [client …] PHP Notice: tempnam(): file created in the system’s temporary directory in /disk/www/…/classes/codelist/ONIXCodelistItemDAO.inc.php on line 84, referer: https://…/index.php/ugp/submissions
[Fri Nov 13 15:36:22.176652 2020] [php7:notice] [pid 20521] [client …] PHP Notice: tempnam(): file created in the system’s temporary directory in /disk/www/…/classes/codelist/ONIXCodelistItemDAO.inc.php on line 84, referer: https://…/index.php/ugp/submissions
[Fri Nov 13 15:36:23.995533 2020] [php7:notice] [pid 2704] [client …] PHP Notice: tempnam(): file created in the system’s temporary directory in /disk/www/…/classes/codelist/ONIXCodelistItemDAO.inc.php on line 84, referer: https://…/index.php/ugp/workflow/index/46/5
I suspect your file permissions are not correct in your files_dir. It looks like OMP is unable to create temporary files in a directory called temp/ in the files_dir specified in config.inc.php.
Regards,
Alec Smecher
Public Knowledge Project Team
The /temp directory is set wide open. All other error messages have disappeared except for this one: omp: 404 Not Found, referer: https://…/index.php/ugp/workflow/index/46/5
We still can’t edit the metadata of a submission. Adding works, deleting and modifying doesn’t.
That message states the referral URL, but not the URL that’s experiencing the 404. I’d suggest checking your Apache access log to see what URL the 404 errors are appearing on.
Regards,
Alec Smecher
Public Knowledge Project Team
This looks like a back-end operation to edit an identification code assigned to a submission. The request should be handled by controllers/grid/catalogEntry/IdentificationCodeGridHandler.inc.php. Beyond that, there’s not much more I can tell you – those IDs will be unique to your press.
Regards,
Alec Smecher
Public Knowledge Project Team
After a lot of analyses we still can’t come up with a solution. Our last test was a clean OMP 3.2.0-3 installation (straight from the download) and created an empty database with it. Even then we have the same problem.
Do you want to test if it is possible to edit an ISBN number in your situation?
In all cases the deletion will not work either. After the “ok” the screen remains.
Thanks, I implemented the patch and it works. For “Publication Dates” I made a similar change. It didn’t work either. The form was modified but the ‘…GridHandler’ and ‘…GridRow’ were not.
Thanks for the heads-up, I’ve ported a similar fix to publication dates (and markets was similarly affected) and added another patch for those to the above entry.
Regards,
Alec Smecher
Public Knowledge Project Team