Post by nourhamra » Wed Jun 07, 2023 7:36 pm

Fresh installation of 4.0.2.1 without any modifications neither extensions , Centos7 - Cpanel - Php 8.1
i got the photos dublicated with the same names ,
i have another server running Alma linux with the same installation without this bug
any idea

Attachments

Screenshot 2023-06-07 142054.png

Screenshot 2023-06-07 142054.png (86.69 KiB) Viewed 1380 times


Newbie

Posts

Joined
Thu Jun 04, 2020 10:51 pm

Post by twkdestroyer » Thu Jun 08, 2023 6:06 pm

Where is this image manager being used?

___
Image Click here.
Demo: https://opencart.bio/
Extension: https://www.opencart.com/index.php?rout ... n_id=45133
With the OpenCart TWK Page Builder, you can transform your e-commerce website into a visually captivating masterpiece without any coding or technical expertise.


User avatar
Newbie

Posts

Joined
Tue Jul 31, 2018 12:02 am


Post by KandC » Sun Jun 25, 2023 5:29 am

I also have a fresh install and having this same issue. I uploaded some store banners and when you click on the edit button for a store banner within the Admin the images show up twice.

Active Member

Posts

Joined
Sun Jun 11, 2023 7:14 am

Post by KandC » Tue Jun 27, 2023 6:29 am

I found the file filemanager.php in admin\controller\common

Changed this line of code:
$paths = glob($directory . $filter_name . '*{/,.ico,.jpg,.jpeg,.png,.gif,.webp,.JPG,.JPEG,.PNG,.GIF}', GLOB_BRACE);
to:
$paths = glob($directory . $filter_name . '*{/.,.ico,.jpg,.jpeg,.png,.gif,.webp,.JPG,.JPEG,.PNG,.GIF}', GLOB_BRACE);

Active Member

Posts

Joined
Sun Jun 11, 2023 7:14 am
Who is online

Users browsing this forum: No registered users and 12 guests