Post by saifcolins » Sun Jan 22, 2023 1:14 pm

Hello Everyone.
I am new on Opencart. Actually I am building a website with opencart. Version 3.0.3.8 . Website Link: https://www.aarushbd.com/
But in that time i am not able to see that folder or images. But I log out and again login in admin panel that time I can see that images or folder .

after some days when I trying to upload image or creating a new folder in system showing its success. Directory created.

so what is the problem? can anybody help me out from this problem. and its not possible again and again login or logout from admin. some days ago its have no problem.
see the attachment plz.

plz help

Attachments

directory created.jpg

directory created.jpg (27.53 KiB) Viewed 1805 times


Newbie

Posts

Joined
Sun Jan 22, 2023 1:04 pm

Post by ADD Creative » Sun Jan 22, 2023 9:19 pm

Could be this issue. https://github.com/opencart/opencart/issues/7008

You may be able to test by using your web browser's developer tool to disable the cache.

The easiest way to fix the lack of cache control headers issue is by making the following change to the framework.

In system/framework.php find the following line at around line 74.

Code: Select all

$response->addHeader('Content-Type: text/html; charset=utf-8');
After that line add the following.

Code: Select all

header('Expires: Thu, 19 Nov 1981 08:52:00 GMT', true);
header('Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0', true);
header('Pragma: no-cache', true);
Note, using header() rather than $response->addHeader() as the later doesn't apply to redirects. I've noticed recently that Firefox aggressively caches redirects, which can lead to some strange issues.

www.add-creative.co.uk


Expert Member

Posts

Joined
Sat Jan 14, 2012 1:02 am
Location - United Kingdom

Post by saifcolins » Mon Jan 23, 2023 5:02 pm

Excellent Support. It works. Thank You for fast support

Newbie

Posts

Joined
Sun Jan 22, 2023 1:04 pm

Post by janiDabnil » Sat Jan 28, 2023 6:42 pm

I was facing a same issue that images were uploaded sucessfully but not showing but now its working perfectly. Thanks support.

Newbie

Posts

Joined
Sat Jan 28, 2023 12:13 am

Post by IP_CAM » Sat Jan 28, 2023 10:18 pm

https://www.aarushbd.com/
On the Header Top, this shows up:

Code: Select all

Unknown: Required parameter $category_id follows optional parameter $data in /home/aarushbd/public_html/catalog/model/extension/module/countdown.php on line 58Unknown: Required parameter $category_id follows optional parameter $data in /home/aarushbd/public_html/catalog/model/extension/module/countdown.php on line 134

My Github OC Site: https://github.com/IP-CAM
5'200 + FREE OC Extensions, on the World's largest private Github OC Repository Archive Site.


User avatar
Legendary Member

Posts

Joined
Tue Mar 04, 2014 1:37 am
Location - Switzerland

Post by CornishWhispers » Thu Jan 25, 2024 1:05 am

Hi,
I just want to drop in and say THANK YOU to ADD Creative who's fix weorked like a charm on that damn file manager refreshing issue that had been driving me mad for 2 days!
Thanks again,
Adam


Posts

Joined
Wed Jan 24, 2024 8:46 pm

Who is online

Users browsing this forum: Amazon [Bot] and 45 guests