Page 1 of 1

Image Upload - "eregi" error message if viewing uploaded images.

Posted: Wed Nov 03, 2021 4:55 pm
by norman
The attached files deal with Image Upload's preview programs showicons.php and showfiles.php using a PHP "eregi" statement that has become deprecated in PHP 5.3.0 and removed in V7.0.0.

This would cause an error message if your server gets updated to PHP 7.0.0 or later and you try to view or preview uploaded files.

The fix is to unzip the attached files into your Site folder and Update the site.
show-images-icons.zip
(1.65 KiB) Downloaded 111 times