Post by vinay » Thu Nov 25, 2010 8:24 pm

Hi, we are using OC v1.4.9.1 and some time display following warnings on top of pages and after refreshing page warning not display, So please advice how can off / remove this warning.

Warning: unlink(/hermes/bosweb/web125/b1253/whl.vinaykhatri/adityapromoters/system/cache/cache.category.60.1.0.1289546636) [function.unlink]: No such file or directory in /hermes/bosweb/web125/b1253/whl.vinaykhatri/adityapromoters/system/library/cache.php on line 54Warning: unlink(/hermes/bosweb/web125/b1253/whl.vinaykhatri/adityapromoters/system/cache/cache.category.36.1.0.1289546636) [function.unlink]: No such file or directory in /hermes/bosweb/web125/b1253/whl.vinaykhatri/adityapromoters/system/library/cache.php on line 54Warning: unlink(/hermes/bosweb/web125/b1253/whl.vinaykhatri/adityapromoters/system/cache/cache.category.49.1.0.1289546636) [function.unlink]: No such file or directory in /hermes/bosweb/web125/b1253/whl.vinaykhatri/adityapromoters/system/library/cache.php on line 54

Thanks in advance.
Vinay

Newbie

Posts

Joined
Fri Sep 24, 2010 3:36 am

Post by SapporoGuy » Wed Dec 01, 2010 12:09 am

Also, check your permissions on the cache directory.

930sc ... because it is fun!


User avatar
Active Member

Posts

Joined
Mon Nov 01, 2010 7:29 pm

Post by ivanssss » Tue Dec 07, 2010 1:38 pm

i have same error like that ... i think this not the permission on the cache directory folder because i have make the permission on 777 still have same error. is that any solution for that ???

Newbie

Posts

Joined
Wed Sep 29, 2010 1:54 pm

Post by i2Paq » Tue Dec 07, 2010 3:31 pm

ivanssss wrote:i have same error like that ... i think this not the permission on the cache directory folder because i have make the permission on 777 still have same error. is that any solution for that ???
Please post your error.

Norman in 't Veldt
Moderator OpenCart Forums

_________________ READ and Search BEFORE POSTING _________________

Our FREE search: Find your answer FAST!.

[How to] BTW + Verzend + betaal setup.


User avatar
Global Moderator

Posts

Joined
Mon Nov 09, 2009 7:00 pm
Location - Winkel - The Netherlands

Post by Xsecrets » Tue Dec 07, 2010 9:25 pm

It's going to be the same error. It is a known issue. well at least known by me and Q not sure if Daniel admits it. Q said he thinks it's some sort of race condition in the cache, but I don't think anyone's taken the time to dig into it very much. It only appears to happen once every couple of weeks, so if you just turn display errors off it's not a huge deal, but it probably should be tracked down and eliminated before long.

of course if it's happening every page load then it actually is a permissions issue.

OpenCart commercial mods and development http://spotonsolutions.net
Layered Navigation
Shipment Tracking
Vehicle Year/Make/Model Filter


Guru Member

Posts

Joined
Sun Oct 25, 2009 3:51 am
Location - FL US

Post by ivanssss » Wed Dec 08, 2010 1:22 pm

i2Paq wrote:
ivanssss wrote:i have same error like that ... i think this not the permission on the cache directory folder because i have make the permission on 777 still have same error. is that any solution for that ???
Please post your error.
here's the error :

Warning: fopen(/home/komputer/public_html/system/cache/cache.category.625.2.0.1290490312) [function.fopen]: failed to open stream: No such file or directory in /home/komputer/public_html/system/library/cache.php on line 26Warning: filesize() [function.filesize]: stat failed for /home/komputer/public_html/system/cache/cache.category.625.2.0.1290490312 in /home/komputer/public_html/system/library/cache.php on line 27Warning: fread(): supplied argument is not a valid stream resource in /home/komputer/public_html/system/library/cache.php on line 27Warning: fclose(): supplied argument is not a valid stream resource in /home/komputer/public_html/system/library/cache.php on line 29Warning: fopen(/home/komputer/public_html/system/cache/cache.category.573.2.0.1290490312) [function.fopen]: failed to open stream: No such file or directory in /home/komputer/public_html/system/library/cache.php on line 26Warning: filesize() [function.filesize]: stat failed for /home/komputer/public_html/system/cache/cache.category.573.2.0.1290490312 in /home/komputer/public_html/system/library/cache.php on line 27Warning: fread(): supplied argument is not a valid stream resource in /home/komputer/public_html/system/library/cache.php on line 27Warning: fclose(): supplied argument is not a valid stream resource in /home/komputer/public_html/system/library/cache.php on line 29

Newbie

Posts

Joined
Wed Sep 29, 2010 1:54 pm

Post by ivanssss » Thu Dec 16, 2010 6:45 pm

please be advice how can off / remove this warning???

Newbie

Posts

Joined
Wed Sep 29, 2010 1:54 pm

Post by fido-x » Thu Dec 16, 2010 9:15 pm

Not sure what the cause is, could be related to the cache having expired, but your cookie hasn't? To get rid of this error message, just refresh your page. Simple, cache recreated, error gone!

Alternatively, to prevent display of this error altogether, log in to your admin, select "System->Settings" and click the "Server" tab. Under here you will find an option labelled "Display Errors:", set this to "No".

Image
Modules for OpenCart 2.3.0.2
Homepage Module [Free - since OpenCart 0.7.7]
Multistore Extensions
Store Manager Multi-Vendor/Multi-Store management tool

If you're not living on the edge ... you're taking up too much space!


User avatar
Expert Member

Posts

Joined
Sat Jun 28, 2008 1:09 am
Location - Tasmania, Australia

Post by ivanssss » Fri Dec 17, 2010 6:40 pm

yes ...problemo solve .. thanks fido-x

Newbie

Posts

Joined
Wed Sep 29, 2010 1:54 pm

Post by fido-x » Fri Dec 17, 2010 8:13 pm

No worries.

Image
Modules for OpenCart 2.3.0.2
Homepage Module [Free - since OpenCart 0.7.7]
Multistore Extensions
Store Manager Multi-Vendor/Multi-Store management tool

If you're not living on the edge ... you're taking up too much space!


User avatar
Expert Member

Posts

Joined
Sat Jun 28, 2008 1:09 am
Location - Tasmania, Australia

Post by Qphoria » Mon Dec 20, 2010 1:15 pm

I've attempted more efforts at avoiding these messages in v1.4.9.3 .. still no full understanding of why.. some race condition I assume so trying to check it better

Image
Donate!|OpenCart Basics|GeoZones
Image


User avatar
Administrator

Posts

Joined
Tue Jul 22, 2008 3:02 am

Post by SapporoGuy » Tue Dec 21, 2010 2:01 am

When you say race condition, do you mean a timing issue between when the cache is issued, checked and the server tries to access it?

I still haven't looked into oc cache system beyond seeing a few calls here and there.
What and when is going into the cache?
There's a bunch of files in my folder so, could it be:
1 per product
1 per information item
1 for the category
1 for the manufacturers
????

Maybe, it's time to go with an outside library?
http://2bits.com/articles/benchmarking- ... pared.html

930sc ... because it is fun!


User avatar
Active Member

Posts

Joined
Mon Nov 01, 2010 7:29 pm
Who is online

Users browsing this forum: No registered users and 5 guests