Jump to content
Sign in to follow this  
Simplyeasier

Page Cache v1.5

Recommended Posts

Hi

 

I installed the page cache today and at the bottom of my index page I get these following errors

 

Can any1 help me get rid so i can test before applying to live site ?

 

Warning: fopen(/home/simply/public_html/shoptest/catalog//cache/_shoptest_catalog_index.php__english_GBP.cache): failed to open stream: No such file or directory in /home/simply/public_html/shoptest/catalog/includes/classes/page_cache.php on line 258

 

Warning: fwrite(): supplied argument is not a valid stream resource in /home/simply/public_html/shoptest/catalog/includes/classes/page_cache.php on line 259

 

Warning: fclose(): supplied argument is not a valid stream resource in /home/simply/public_html/shoptest/catalog/includes/classes/page_cache.php on line 260

 

Charles

 

The URL if you want to see this is http://www.simplyeasier.com/shoptest/catalog

 

Thanks

 

Charles


A kite flies highest AGAINST the wind !

 

"Life should NOT be a journey to the grave with the intention of arriving safely in an attractive and well preserved body, but rather to skid in sideways, a lover in one hand, martini in the other, body thoroughly used up, totally worn out and screaming ~ WOO HOO!! What a ride!"

Share this post


Link to post
Share on other sites
Hi

 

I installed the page cache today and at the bottom of my index page I get these following errors

 

Can any1 help me get rid so i can test before applying to live site ?

 

Warning: fopen(/home/simply/public_html/shoptest/catalog//cache/_shoptest_catalog_index.php__english_GBP.cache): failed to open stream: No such file or directory in /home/simply/public_html/shoptest/catalog/includes/classes/page_cache.php on line 258

 

Warning: fwrite(): supplied argument is not a valid stream resource in /home/simply/public_html/shoptest/catalog/includes/classes/page_cache.php on line 259

 

Warning: fclose(): supplied argument is not a valid stream resource in /home/simply/public_html/shoptest/catalog/includes/classes/page_cache.php on line 260

 

Charles

 

The URL if you want to see this is http://www.simplyeasier.com/shoptest/catalog

 

Thanks

 

Charles

 

 

maybe the double slash ?

 

catalog//cache


Treasurer MFC

Share this post


Link to post
Share on other sites
maybe the double slash ?

 

catalog//cache

 

 

Amanda

 

Very probable -

 

How do I get rid of the unnecessary slash ? I cut and pasted the code into application top, bottom and html - whatever so I did not manually type anything in - therefore not really sure where this error might be coming from.

 

Charles


A kite flies highest AGAINST the wind !

 

"Life should NOT be a journey to the grave with the intention of arriving safely in an attractive and well preserved body, but rather to skid in sideways, a lover in one hand, martini in the other, body thoroughly used up, totally worn out and screaming ~ WOO HOO!! What a ride!"

Share this post


Link to post
Share on other sites
Hi

 

I installed the page cache today and at the bottom of my index page I get these following errors

 

Can any1 help me get rid so i can test before applying to live site ?

 

Warning: fopen(/home/simply/public_html/shoptest/catalog//cache/_shoptest_catalog_index.php__english_GBP.cache): failed to open stream: No such file or directory in /home/simply/public_html/shoptest/catalog/includes/classes/page_cache.php on line 258

 

Warning: fwrite(): supplied argument is not a valid stream resource in /home/simply/public_html/shoptest/catalog/includes/classes/page_cache.php on line 259

 

Warning: fclose(): supplied argument is not a valid stream resource in /home/simply/public_html/shoptest/catalog/includes/classes/page_cache.php on line 260

 

Charles

 

The URL if you want to see this is http://www.simplyeasier.com/shoptest/catalog

 

Thanks

 

Charles

 

 

OK fixed - here's the lowdown

 

In the instal instructions in step 2 it says

 

STEP 2 - Create a new directory at your root called "cache"

Future versions will make this a setting that can be changed via the admin control panel but for now it is hard coded. If called in an URL it should look like http://yourstore.com/cache/

 

This works if your cart is installed in root ! - see the last sentence above.

 

In my test store where the problem arose my cart is in fact in path home/****/public_html/shoptest/catalog - i.e not in root !

 

I moved the Cache directory from out of root to within shoptest/catalog and bingo problem gone.

 

Now to test the page load speeds.

 

Charles


A kite flies highest AGAINST the wind !

 

"Life should NOT be a journey to the grave with the intention of arriving safely in an attractive and well preserved body, but rather to skid in sideways, a lover in one hand, martini in the other, body thoroughly used up, totally worn out and screaming ~ WOO HOO!! What a ride!"

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×