Hello,
We have XOT 3.10 running on an old CentOS 7 server, and are now looking to move this to a new server with XOT 3.12.
The new server is running Rocky Linux 9.3, PHP 8.1.14, Apache 2.4.57 (with php-fpm) and XOT 3.12 (git v3.12.23)
The installation went okay, no reported problems during setup. The user files are in a shared directory using CIFS; the database was imported to the new server from the old one (for testing purposes this is fine). Running update.php after installing the latest patches also showed no errors.
Logging in is fine, and shows my projects, the 'Workspace' folder and recycling bin. Selecting a project shows its details (the right-hand side pane). However, if I try to edit or preview the project I get shown a blank page or a spinner.
Using the (Firefox) browser console shows:
09:55:14.394 Start processing of USER-FILES/762-jhorne-Nottingham/preview.xml data.js:79:21
09:55:14.401 XML Parsing Error: syntax error
Location:
xerte.plymouth.ac.uk/xerte/edithtml.php?template_id=762
Line Number 1, Column 1: edithtml.php:1:1
09:55:14.401 Uncaught Error: Invalid XML: Not found!
jQuery 2
In trying to resolve this I came across a similar report from 5 years ago(!):
www.xerte.org.uk/index.php/en/forum/inst...o-project-to-work-on
The user sorted out the problem himself by modifying the 'USER-FILES/.htaccess' file. I tried this, but it did not work. I also tried removing the .htaccess file completely, but still got the above error. As mentioned in the previous report I also checked the database 'sitedetails' entries, and they are fine.
I have enabled the 'development' variable in the config file, but no errors are shown in the php-fpm log files, nor in the usual Apache log files.
I have disabled SELinux (although I don't think it is a permissions problem as I can create a new project, but again just can't edit it. The data.xml and preview.xml files are created in the new project).
I disabled the use of HTTP/2 (enabled on this server but not on the 3.10 server), but that made no difference.
So, I am now a bit stuck with what to try next. Any suggestions?
Thanks.