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

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.

Dedication and passion goes to those who are able to push and merge a project.

Regards,
Straightlight
Programmer / Opencart Tester


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.

Dedication and passion goes to those who are able to push and merge a project.

Regards,
Straightlight
Programmer / Opencart Tester


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

Dedication and passion goes to those who are able to push and merge a project.

Regards,
Straightlight
Programmer / Opencart Tester


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

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

Dedication and passion goes to those who are able to push and merge a project.

Regards,
Straightlight
Programmer / Opencart Tester


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

Post by godly75 » Wed Oct 03, 2018 1:15 am

Hm, not here, I replaced file.php but still have the error...

Code: Select all

Warning: fopen(/home/encounters/domains/encounters.be/shop_update/system/cache/cache.catalog.language.1538504061): failed to open stream: No such file or directory in /home/encounters/domains/encounters.be/public_html/shop_update/system/library/cache/file.php on line 38Warning: flock() expects parameter 1 to be resource, boolean given in /home/encounters/domains/encounters.be/public_html/shop_update/system/library/cache/file.php on line 39Warning: fwrite() expects parameter 1 to be resource, boolean given in /home/encounters/domains/encounters.be/public_html/shop_update/system/library/cache/file.php on line 40Warning: fflush() expects parameter 1 to be resource, boolean given in /home/encounters/domains/encounters.be/public_html/shop_update/system/library/cache/file.php on line 41Warning: flock() expects parameter 1 to be resource, boolean given in /home/encounters/domains/encounters.be/public_html/shop_update/system/library/cache/file.php on line 42Warning: fclose() expects parameter 1 to be resource, boolean given in /home/encounters/domains/encounters.be/public_html/shop_update/system/library/cache/file.php on line 43Warning: fopen(/home/encounters/domains/encounters.be/shop_update/system/cache/cache.currency.1538504061): failed to open stream: No such file or directory in /home/encounters/domains/encounters.be/public_html/shop_update/system/library/cache/file.php on line 38Warning: flock() expects parameter 1 to be resource, boolean given in /home/encounters/domains/encounters.be/public_html/shop_update/system/library/cache/file.php on line 39Warning: fwrite() expects parameter 1 to be resource, boolean given in /home/encounters/domains/encounters.be/public_html/shop_update/system/library/cache/file.php on line 40Warning: fflush() expects parameter 1 to be resource, boolean given in /home/encounters/domains/encounters.be/public_html/shop_update/system/library/cache/file.php on line 41Warning: flock() expects parameter 1 to be resource, boolean given in /home/encounters/domains/encounters.be/public_html/shop_update/system/library/cache/file.php on line 42Warning: fclose() expects parameter 1 to be resource, boolean given in /home/encounters/domains/encounters.be/public_html/shop_update/system/library/cache/file.php on line 43Warning: fopen(/home/encounters/domains/encounters.be/shop_update/system/cache/cache.catalog.language.1538504061): failed to open stream: No such file or directory in /home/encounters/domains/encounters.be/public_html/shop_update/system/library/cache/file.php on line 38Warning: flock() expects parameter 1 to be resource, boolean given in /home/encounters/domains/encounters.be/public_html/shop_update/system/library/cache/file.php on line 39Warning: fwrite() expects parameter 1 to be resource, boolean given in /home/encounters/domains/encounters.be/public_html/shop_update/system/library/cache/file.php on line 40Warning: fflush() expects parameter 1 to be resource, boolean given in /home/encounters/domains/encounters.be/public_html/shop_update/system/library/cache/file.php on line 41Warning: flock() expects parameter 1 to be resource, boolean given in /home/encounters/domains/encounters.be/public_html/shop_update/system/library/cache/file.php on line 42Warning: fclose() expects parameter 1 to be resource, boolean given in /home/encounters/domains/encounters.be/public_html/shop_update/system/library/cache/file.php on line 43Warning: fopen(/home/encounters/domains/encounters.be/shop_update/system/cache/cache.currency.1538504061): failed to open stream: No such file or directory in /home/encounters/domains/encounters.be/public_html/shop_update/system/library/cache/file.php on line 38Warning: flock() expects parameter 1 to be resource, boolean given in /home/encounters/domains/encounters.be/public_html/shop_update/system/library/cache/file.php on line 39Warning: fwrite() expects parameter 1 to be resource, boolean given in /home/encounters/domains/encounters.be/public_html/shop_update/system/library/cache/file.php on line 40Warning: fflush() expects parameter 1 to be resource, boolean given in /home/encounters/domains/encounters.be/public_html/shop_update/system/library/cache/file.php on line 41Warning: flock() expects parameter 1 to be resource, boolean given in /home/encounters/domains/encounters.be/public_html/shop_update/system/library/cache/file.php on line 42Warning: fclose() expects parameter 1 to be resource, boolean given in /home/encounters/domains/encounters.be/public_html/shop_update/system/library/cache/file.php on line 43

Active Member

Posts

Joined
Fri Oct 27, 2017 1:21 am

Post by straightlight » Wed Oct 03, 2018 4:04 am

Last edited by straightlight on Tue Jan 28, 2020 8:55 pm, edited 1 time in total.

Dedication and passion goes to those who are able to push and merge a project.

Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

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

Post by MasterCATZ » Wed May 22, 2019 7:11 am

Thanks , it is 2019 why isn't that typo still fixed in Version 3.0.2.0 ?


*edit* hmm interesting I only pulled from https://github.com/opencart/opencart a few weeks ago

what is the best way to upgrade 3.0.2.0 with a newer 3.0.2.0 ?
Last edited by MasterCATZ on Wed May 22, 2019 6:49 pm, edited 2 times in total.

Newbie

Posts

Joined
Mon May 13, 2019 4:58 pm

Post by IP_CAM » Wed May 22, 2019 8:10 am

Well, OpenCart never updates former Versions of OpenCart,
except in a real seldom Emergency Case.
That's why OC frequently changes Version Numbers, and later
Versions most likely then contain those fixed Sections as well.
It's an ongoing development, and one reason, why no FINAL
official OC version ever exists, just a LATEST ... :D
But the fix would be available, among others, in an inofficial
full OC 3.0.2.0 package, to have most all found misses fixed:
https://github.com/condor2/Opencart_3020

One just needs to understand the OC Way of doing Things, it keeps one
from complaining about matters, not beeing part of the OC concept.

Ernie

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 straightlight » Thu May 23, 2019 6:14 am

Thanks , it is 2019 why isn't that typo still fixed in Version 3.0.2.0 ?
Because v3.0.2.0 was released before 2019.

Dedication and passion goes to those who are able to push and merge a project.

Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

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

Post by stavrosa » Thu Jul 25, 2019 7:02 pm

Can you please explain a little bit more about this matter.

What is the proper version to download for new installations?

3.0.3.2 which I downloaded 10 days before still has the bug inside

Thanks for your help in the forum, always precise in your answers


straightlight wrote:
Thu May 23, 2019 6:14 am
Thanks , it is 2019 why isn't that typo still fixed in Version 3.0.2.0 ?
Because v3.0.2.0 was released before 2019.

Newbie

Posts

Joined
Wed Sep 23, 2015 8:08 pm

Post by straightlight » Fri Jul 26, 2019 4:05 am

The master branch is fixed on Github Opencart. v3.0.3.2 was less prioritized other than the Google Shopping release as explained here: viewtopic.php?f=2&t=211045&p=751663#p751663

Dedication and passion goes to those who are able to push and merge a project.

Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

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

Post by nightwing » Wed May 27, 2020 8:11 am

I installed the fix from the Git. I had not seen the error since. It normally comes up for me after clearing modifications, refresh modifications and clearing both Theme and SAAS. - Not sure if this is the same for anyone else but this is my observation
I am using version 3.0.3.2

Thanks Straightlight/Daniel

Regards,
Nightwing
Access to my Free Extensions: https://www.opencart.com/index.php?rout ... =nightwing


Active Member

Posts

Joined
Tue Nov 05, 2019 11:08 pm

Who is online

Users browsing this forum: No registered users and 27 guests