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
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.
Ernie
(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.

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.
Who is online
Users browsing this forum: No registered users and 17 guests