Post by phinq1910 » Mon Aug 21, 2017 10:59 am

Hi,
I am using Opencart 3.0.2.0 with Apache 2.4.25/ PHP 5.6.30 on localhost Windows 10. But there is a warning following:

Code: Select all

Warning: unlink(D:/Apache24/htdocs/oc3020b/system/storage/cache/cache.catalog.language.1503287453): Permission denied in D:\Apache24\htdocs\oc3020b\system\library\cache\file.php on line 68
- Try delete cache in D:\Apache24\htdocs\oc3020b\system\storage\cache\ but still have warning.
- Try delete D:\Apache24\htdocs\oc3020b\system\storage\logs\error.log, refresh page again in frist time have not warning, but after it still display warning
Is that bug? Please help

Thanks

Complete business solution for selling custorn printing products
Opencart Custom Product Designer
Prestashop Custom Product Designer
Woocommerce Custom Product Designer
Social Marketing Campaign


User avatar
New member

Posts

Joined
Sat Jun 11, 2016 11:43 am
Location - Hanoi

Post by straightlight » Sun Oct 01, 2017 9:26 pm

Ensure that your system/storage/cache folder is writable. CHMOD 755 would normally suffice. This is not a bug with Opencart.

The most generated errors being found on Opencart forum originates from contributed programming.

Regards,
Straightlight


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by straightlight » Mon Oct 02, 2017 8:23 am

Update: I was able to reproduce the issue.

The most generated errors being found on Opencart forum originates from contributed programming.

Regards,
Straightlight


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by gadevitc95 » Fri Nov 17, 2017 11:41 pm

You should grant full permissions to the file.php directory to be able to work

Newbie

Posts

Joined
Fri Nov 17, 2017 11:20 am

Post by straightlight » Sat Nov 18, 2017 3:06 am

Right - about this issue, followed is a bug fix solution: https://github.com/opencart/opencart/bl ... e/file.php

The most generated errors being found on Opencart forum originates from contributed programming.

Regards,
Straightlight


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by phinq1910 » Thu Nov 23, 2017 5:23 pm

Thanks sir

Complete business solution for selling custorn printing products
Opencart Custom Product Designer
Prestashop Custom Product Designer
Woocommerce Custom Product Designer
Social Marketing Campaign


User avatar
New member

Posts

Joined
Sat Jun 11, 2016 11:43 am
Location - Hanoi

Post by jed clampit » Sat Feb 03, 2018 7:37 pm

what do you do with the above bug fix solution
do i just replace the file ?

OC Version 3.0.2.0


Newbie

Posts

Joined
Wed Jul 24, 2013 3:03 am

Post by straightlight » Sat Feb 03, 2018 10:55 pm

jed clampit wrote:
Sat Feb 03, 2018 7:37 pm
what do you do with the above bug fix solution
do i just replace the file ?
Yes

The most generated errors being found on Opencart forum originates from contributed programming.

Regards,
Straightlight


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by cshankga » Sun May 13, 2018 9:41 am

Worked perfectly. Thank you!

Newbie

Posts

Joined
Thu Nov 10, 2016 5:19 am

Post by frtyaman » Tue Jun 26, 2018 11:28 pm

Worked perfectly. Thank you!

Newbie

Posts

Joined
Mon May 14, 2018 1:08 am


Post by motion2082 » Wed Aug 15, 2018 1:50 pm

Awesome thanks for sharing a fix, had the same issue with my opencart 3.0.2.0

Active Member

Posts

Joined
Tue May 12, 2015 8:48 pm
Who is online

Users browsing this forum: No registered users and 4 guests