Hello everybody!
Trying to update from 2.4.8.1 to 3.0.
Both files directory and database where duplicated to the test.
Setted the permissions as said in docs…
Everything works fine after the update, but the pdf viewing.
When one clicks the FULL TEXT PDF button, the pdf viwer opens, with no data, a red bar saing An error occurred and when clicked the More Information button, this message appears:
PDF.js v1.0.907 (build: e9072ac)
Mensagem: stream must have data
I tryed to acces the files in the back end, and the error shoewd is:
Stack Trace:
File: (unknown) line (unknown)
Function: FileApiHandler->downloadFile(Array(4), Object(Request))
File: //lib/pkp/classes/core/PKPRouter.inc.php line 372
Function: call_user_func(Array(2), Array(4), Object(Request))
File: //lib/pkp/classes/core/PKPComponentRouter.inc.php line 262
Function: PKPRouter->_authorizeInitializeAndCallRequest(Array(2), Object(Request), Array(4))
File: //lib/pkp/classes/core/Dispatcher.inc.php line 134
Function: PKPComponentRouter->route(Object(Request))
File: //lib/pkp/classes/core/PKPApplication.inc.php line 227
Function: Dispatcher->dispatch(Object(Request))
File: //index.php line 68
Function: PKPApplication->execute()
My guess is that OJS is not finding the file, but the file is in the correct file_dir, and config.inc is configured with the right path.
What can I do to fix this?