phpDVDProfiler version v_20230807
Par ȷulmud le lundi 7 août 2023, 11:22 - Free the code! - Lien permanent
As I've had some issues reported lately for phpDVDProfiler (mainly compatibility issues with PHP 8.2), here's a new version of the software.
Here's what's been fixed:
- fix: correctly display the favicon.ico and add icons for Android and Apple Touch (#41) (thanks John)
- fix: gallery no longer has an internal error when called directly (#43)
- fix: gallery displayed a warning from time to time
- fix: warnings with PHP 8.2 (#44 and #45) (thanks Sebastian and Udo)
Watch out: the following PHP extensions are needed for phpDVDProfiler:
- mysqli (used for database access)
- mbstring (used for sanitizing filenames, and for converting dates from UTF-8 to windows-1252)
- intl (used for the replacement of the deprecated strftime in PHP 8.1, and when sanitizing filenames)
- gd2 (optional, but necessary if you want to correctly display the thumbnails in profiles and galleries)
If you're using the latest version of PHP 8.2, and use jpgraph for displaying statistics, I've noticed that the latest official jpgraph library (4.4.1) has some issue. If you encounter the same issue, you should switch to the jpgraph version from MiTo Team. It's not exactly a drop-in replacement for use with phpDVDProfiler. Here're the steps to make it work:
- Download the latest release from https://github.com/mitoteam/jpgraph/releases
- Extract the contents of the jpgraph-10.3.1/src/lib directory from the archive to the jpgraph/src folder of your installation.
You can download the archive either from this post, or from Github. As for comments, questions, and so on, I'd prefer if they're all done on Github.
Important information: I don't intend to do any kind of refactoring, developing new features, or anything else. This is just the basic needed work to make it compatible with newer versions of PHP.