thexerteproject / xerteonlinetoolkits

Xerte Online Toolkits
www.xerte.org.uk
Apache License 2.0
62 stars 61 forks source link

issues while testing an installation with php 8.3 #1348

Open ronm123 opened 1 week ago

ronm123 commented 1 week ago

currently trying to open an xot project in the editor fails via workspace and via management and results in a grey editor window and spinner. Editing Bootstrap seems fine so just a bug with xot projects

ronm123 commented 1 week ago

Looks like this is actually an issue with the graphics and sound page which out of habit I usually add to test projects. I created another test project and could see if I play the graphics and sound page it shows as No template is currently available for this page type {script}. I've I remove that page and add a summary page instead I can close and edit the project. So seems like a bug with the graphics and sound page?

FayCross commented 1 week ago

Is this an issue just with your install Ron? Working ok on beta site and I've just checked and the graphics & sound page hasn't changed for a couple of years! Missing model file?

ronm123 commented 1 week ago

@FayCross it's on the install that @torinfo has setup for testing with PHP 8.3. I haven't tested the same thing locally because the purpose was for testing PHP 8.3 issues.

torinfo commented 1 week ago

@ronm123 Graphics and sound page seems to work fro me in php8.3. Can you share the project that does not work with me?

ronm123 commented 1 week ago

@torinfo just shared my initial test project with you which doesn't open in the editor after having been closed. I have another test project and if I add a graphics and sound page to that and then play it and navigate to that page I get the error I reported earlier e.g. image So I'm removing from that project before closing so I can re-open. BTW in testing some of the management functionality I played template id 2 and that has a similar error on page 2: Er is geen template beschikbaar voor dit pagina type. (script)