Form app:
I’m able to use the form to upload a file that is saved to the server filesystem (it’s not stored in the db).
But when I click on the filenname link in the same Form app, nothing happens.
The apache server logs a “Status line from script ‘form_doc_rev_doc.php’: 500 Internal Server Error”
No issues with a Grid app accessing the same table\file field as the From app:
When the filename link in the grid app is clicked the file that was uploaded by the Form can be downloaded.
This issue with the Form app is only in production environment,
The form works perfectly in development.
So I guess it’s due to the different Apache\PHP versions;
- Development: Apache 2.4.25 - PHP 7.0.14
- Production: Apache 2.4.29 - PHP 7.1.12
- Development and production are on the same Fedora 27 server.
- The file field is set to access the same filesystem location in both environments (devel and prod) and in both apps (form and grid).