Jump to content

[SOLVED] Where is my footer?


Guest ueon
 Share

Recommended Posts

7 l u x . c a

if you visit the website above, you will see that it has a footer

however, if you visit one of it's products, and scroll down to the page, you will see that there's no footer. Actually, if you look at the course, the footer stops loading half way.

any ideas anyone?

Share this post


Link to post
Share on other sites

Is seems there is a PHP error on the page, since the code just stops before finishing. Try editing config/config.inc.php and temporarily changing 'display_errors' from 'off' to 'on'. You should then get an error message on the product page. Post the error message here.

Share this post


Link to post
Share on other sites

<!-- MODULE Block best sellers -->

{l s='Top sellers' mod='blockbestsellers'}
{if $best_sellers|@count > 0}






{$best_sellers.0.name|escape:htmlall:'UTF-8'|truncate:20}

{$best_sellers.0.description_short|strip_tags:htmlall:'UTF-8'|truncate:80}
{l s='View' mod='blocknewproducts'}             



{if $best_sellers|@count > 1}





{$best_sellers.1.name|escape:htmlall:'UTF-8'|truncate:20}

{$best_sellers.1.description_short|strip_tags:htmlall:'UTF-8'|truncate:80}
{l s='View' mod='blocknewproducts'}             

{/if}


{if $best_sellers|@count > 2}





{$best_sellers.2.name|escape:htmlall:'UTF-8'|truncate:20}

{$best_sellers.2.description_short|strip_tags:htmlall:'UTF-8'|truncate:80}
{l s='View' mod='blocknewproducts'}             

{/if}


{if $best_sellers|@count > 3}





{$best_sellers.3.name|escape:htmlall:'UTF-8'|truncate:20}

{$best_sellers.3.description_short|strip_tags:htmlall:'UTF-8'|truncate:80}
{l s='View' mod='blocknewproducts'}             

{/if}

{else}
{l s='No best sellers at this time' mod='blockbestsellers'}
{/if}

<!-- /MODULE Block best sellers -->

Share this post


Link to post
Share on other sites

It is still getting stuck =\ however, it loads two products this time. here's is the current code


<!-- MODULE Block best sellers -->

{l s='Top sellers' mod='blockbestsellers'}
{if $best_sellers|@count > 0}






{$best_sellers.0.name|escape:htmlall:'UTF-8'|truncate:20}

{$best_sellers.0.description_short|strip_tags:htmlall:'UTF-8'|truncate:80}
{l s='View' mod='blockbestsellers'}         



{if $best_sellers|@count > 1}





{$best_sellers.1.name|escape:htmlall:'UTF-8'|truncate:20}

{$best_sellers.1.description_short|strip_tags:htmlall:'UTF-8'|truncate:80}
{l s='View' mod='blocknewproducts'}             

{/if}


{if $best_sellers|@count > 2}





{$best_sellers.2.name|escape:htmlall:'UTF-8'|truncate:20}

{$best_sellers.2.description_short|strip_tags:htmlall:'UTF-8'|truncate:80}
{l s='View' mod='blocknewproducts'}             

{/if}


{if $best_sellers|@count > 3}





{$best_sellers.3.name|escape:htmlall:'UTF-8'|truncate:20}

{$best_sellers.3.description_short|strip_tags:htmlall:'UTF-8'|truncate:80}
{l s='View' mod='blocknewproducts'}             

{/if}

{else}
{l s='No best sellers at this time' mod='blockbestsellers'}
{/if}

<!-- /MODULE Block best sellers -->

Share this post


Link to post
Share on other sites

Oops, I left out the _ in best_sellers. I've updated my code above. Please update your code, then delete tools/smarty/compile/%�^F92^F92565BD%%blockbestsellers.tpl.php to make sure the TPL is recompiled.

Share this post


Link to post
Share on other sites

Fatal error: Cannot use object of type Product as array in /home2/smartph3/public_html/charmsky/tools/smarty/compile/%

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
 Share

×
×
  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More