I am having a tough time trying to get this to work. It works now (partially) on the old system, but too many people get either an error loading the page, or are unable to login with the correct username and password that we literally just setup or just reset the password on. The logs show invalid CSRF token, even with cache/cookies cleared and the correct username and password we just set in the system. So with these issues, I figured I would move to a newer Fedora 32 virtual machine.
When I start a fresh setup, the initial start page all loads and displays properly with the same permissions as the imported files, so something is likely broken, and I suspect it is related to the file locations, since the Win server is located at C:\xampp\htdocs\helpdesk and Fedora server is at /var/www/html/helpdesk, but the issue is I do not know what files would be making references to these locations to correct it.
Current/old setup: Server 2008 R2, XAMPP handling the Apache and PHP (due to the old IIS not able to handle the newer requirements of Osticket), Mariadb 5.5 handling the SQL.
osTicket Version v1.14.2 (cba6035)— v1.14.3 is available
Web Server Software Apache/2.4.39 (Win64) OpenSSL/1.1.1b PHP/7.3.4
MySQL Version 5.5.37 (mariadb)
PHP Version 7.3.4
New setup: Fedora 32 in a virtual machine (with plenty of CPU and RAM).
Apache/2.4.46
PHP version: 7.4.9 (unable to go back to older version without compiling from source which I haven't done in years)
SQL Server version: 10.4.13-MariaDB (which is supposed to be backwards compatible with 5.5, unable to go back to older version without compiling from source which I haven't done in years)
I made a full backup of all current files, I made a full export of the SQL database. I setup the httpd.conf and php.ini properly. I have a index.html test file that is working properly from /var/www/html and able to browse and see this test page.
The problem is when I copy over the files in the exact same location, and imported the sql database with no errors, and then correct the permissions for all files, but when I attempt to browse to it, all I get is a blank page. The httpd log file shows error 500.
I cannot go back to PHP 7.3 since Fedora 32 does not offer it anymore, and same with mariadb. Even the Remi-32 repo only has 7.4 and 8.0.