Welcome to the new Filmotech Forum.
Old forums have been archived and are available here (read only)
To use this new forum, you need to create a new account.
[Solved] I can't publish to my website with PHP 8
Hi. My website was recently upgraded to PHP 8.1 because 7.4 was no longer supported. Now I can't publish my Filmotech catalog to my website. I get an HTTP 500 error.
How can I fix this?
Hi. I've worked on the API for publishing. This new version seems to work. You can download the api.php file and replace the old one in your rest folder on the server. I've only tested this API with PHP 8.1.16 and MySQL.
Let me know if this solve your problem.
Here is the fie (unzip it and send it to your server) : https://publishing.filmotech.info/rest/api_php8.zip
Hi. Unfortunately, the default website generated by Filmotech is not compatible with PHP 8.x.
I will update this later, because for now I'm pretty busy with updating the Filmotech official website which is not compatible with PHP 8 (but my hosting service allows me to use PHP 7 for some more weeks before asking for a fee to maintain it).
As soon as the website will be completely updated, I will work again to update the published code for PHP 8 compatibility (or, at least, give a workaround until the app is updated).
@filmotech Hi! D'you think a workaround might be ready soon? My hosting service starts charging a fee for PHP 7 support on April 12 if I don't upgrade.
I've not yet started to update the website. If you know how to code in PHP, perhaps you can find a way to fix it. I've not worked on PHP since a couple of years, so I need to learn what has changed to update the code (perhaps it's only one or two deprecated function to update).
@filmotech It worked perfectly, thank you!!