When I go to Dashboard > Workflow > Publisher Library of my OJS I am unable to upload the file I added. I previously never had any issues uploading and adding a file. Now when I click OK the circle just spins and never completes the upload. Any ideas as to what I can try to solve this?
In instances where you see the spinning circle, it is best to check your PHP error logs and report on errors found there on the forum post - can you do this please?
I contacted my website host and they checked for me that there is no server side issue nor error logged.
I presume it must be an issue with OJS but I have honestly have no idea and it has been like these for the past few months. I may try updating one of my sites to the latest version of OJS to see if the newest update fixes this bug.
[31-Oct-2023 15:54:23 Europe/Berlin] PHP Deprecated: ZipArchive::open(): Using empty file as ZipArchive is deprecated in /home/tjescom/public_html/ojs/lib/pkp/classes/file/FileArchive.inc.php on line 37
[31-Oct-2023 16:16:58 Europe/Berlin] ojs2: 404 Not Found
[31-Oct-2023 16:17:40 Europe/Berlin] PHP Warning: copy(/home/tjescom/ojsdata/contexts/1/library/styleSheet (1)-REP.css): Failed to open stream: No such file or directory in /home/tjescom/public_html/ojs/lib/pkp/classes/file/FileManager.inc.php on line 182
[31-Oct-2023 16:17:40 Europe/Berlin] PHP Fatal error: Uncaught Error: Call to a member function setContextId() on bool in /home/tjescom/public_html/ojs/lib/pkp/controllers/grid/settings/library/form/NewLibraryFileForm.inc.php:57
Stack trace:
#0 /home/tjescom/public_html/ojs/lib/pkp/controllers/grid/files/LibraryFileGridHandler.inc.php(206): NewLibraryFileForm->execute()
#1 /home/tjescom/public_html/ojs/lib/pkp/classes/core/PKPRouter.inc.php(395): LibraryFileGridHandler->saveFile()
#2 /home/tjescom/public_html/ojs/lib/pkp/classes/core/PKPComponentRouter.inc.php(257): PKPRouter->_authorizeInitializeAndCallRequest()
#3 /home/tjescom/public_html/ojs/lib/pkp/classes/core/Dispatcher.inc.php(144): PKPComponentRouter->route()
#4 /home/tjescom/public_html/ojs/lib/pkp/classes/core/PKPApplication.inc.php(362): Dispatcher->dispatch()
#5 /home/tjescom/public_html/ojs/index.php(68): PKPApplication->execute()
#6 {main}
thrown in /home/tjescom/public_html/ojs/lib/pkp/controllers/grid/settings/library/form/NewLibraryFileForm.inc.php on line 57
Do you also get the spinning circle when you go to Users & Roles → Select a user → Press Email → Press Send Email?
The circle just spins forever and seems to timeout. Can you test to see if this also happens to you as I just stumbled across this problem and wish to see if it related to our original problem.