Post by gossamerLL » Tue Apr 02, 2019 1:18 am

Opencart version 2.3.0.2
I'm getting the following errors. Any thoughts on how to fix this? The errors don't seem to impact anything but I'd like to fix if possible.
I did see another thread on this with a link to https://github.com/opencart/opencart/bl ... e/file.php but there isn't a version number on that file so I don't know if it would work for 2.3.0.2 or not.

2019-04-01 16:40:06 - PHP Warning: flock() expects parameter 1 to be resource, boolean given in C:\xampp\htdocs\shop\system\library\cache\file.php on line 30
2019-04-01 16:40:06 - PHP Warning: fread() expects parameter 1 to be resource, boolean given in C:\xampp\htdocs\shop\system\library\cache\file.php on line 32
2019-04-01 16:40:06 - PHP Warning: flock() expects parameter 1 to be resource, boolean given in C:\xampp\htdocs\shop\system\library\cache\file.php on line 34
2019-04-01 16:40:06 - PHP Warning: fclose() expects parameter 1 to be resource, boolean given in C:\xampp\htdocs\shop\system\library\cache\file.php on line 36

Thanks,
Linda

New member

Posts

Joined
Thu Jul 25, 2013 4:13 am

Post by IP_CAM » Tue Apr 02, 2019 2:06 am

You seem to work on a LocalHost environment, and the DB flock
(File locking) Routine does not work, as it looks. But you could just download
the File, you found on Github, and try it out, you cannot ruin anything. :D
Ernie

My Github OC Site: https://github.com/IP-CAM
5'600 + 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 gossamerLL » Tue Apr 02, 2019 2:07 am

Thanks Ernie. I appreciate the reply. I'll try out that file.

New member

Posts

Joined
Thu Jul 25, 2013 4:13 am
Who is online

Users browsing this forum: No registered users and 17 guests