Jump to content
Sign in to follow this  
teodorp

Page Cache v1.0 Ms2

Recommended Posts

GREAT CONTRIBUTION!!!

 

There is an error in install file.

Must be:

 

if (!tep_session_is_registered('customer_id') && ENABLE_PAGE_CACHE == 'true' && class_exists('page_cache') ) {

echo "<%CART_CACHE%>";

} else {

require(DIR_WS_BOXES . 'shopping_cart.php');

}

 

On original instalation missing "<%CART_CACHE%>

 

Thank you to Chemo


I have to know...:)

Share this post


Link to post
Share on other sites

I have just installed the page_cachev1.0 contribution.

 

This is the mod to the code at the end of the index and product info files, as stated in the instructions

 

Find:

require('includes/application_bottom.php');

 

ADD BEFORE:

$page_cache->end_page_cache();

 

I can't find require('includes/application_bottom.php');

anywhere in my files.

The bottom of my index.php and product_info.php now looks like this

 

<!-- footer //-->
<?php require(DIR_WS_INCLUDES . 'footer.php'); ?>
<!-- footer_eof //-->
<br>
</body>
</html>
$page_cache->end_page_cache();
<?php require(DIR_WS_INCLUDES . 'application_bottom.php'); ?>

 

but it displays $page_cache->end_page_cache(); at the bottom of all my pages.

 

Can anyone help me out with what it should be so you cannot see it.

 

TIA

 

Julian :blink:


A little knowledge is dangerous, I SHOULD KNOW.

If Life Begins At 40, What ends????

Share this post


Link to post
Share on other sites
I have just installed the page_cachev1.0 contribution.

 

This is the mod to the code at the end of the index and product info files, as stated in the instructions

I can't find require('includes/application_bottom.php');

anywhere in my files.

The bottom of my index.php and product_info.php now looks like this

 

<!-- footer //-->
<?php require(DIR_WS_INCLUDES . 'footer.php'); ?>
<!-- footer_eof //-->
<br>
</body>
</html>
$page_cache->end_page_cache();
<?php require(DIR_WS_INCLUDES . 'application_bottom.php'); ?>

 

but it displays $page_cache->end_page_cache(); at the bottom of all my pages.

 

Can anyone help me out with what it should be so you cannot see it.

 

TIA

 

Julian  :blink:

 

 

SHOULD BE

<?php

$page_cache->end_page_cache();

require(DIR_WS_INCLUDES . 'application_bottom.php'); ?>

Share this post


Link to post
Share on other sites
SHOULD BE

<?php

$page_cache->end_page_cache();

require(DIR_WS_INCLUDES . 'application_bottom.php'); ?>

 

I've just tried that and adding <?php loses the page all together?

Any ideas?

 

 

Julian :blink:


A little knowledge is dangerous, I SHOULD KNOW.

If Life Begins At 40, What ends????

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  

×