Template for embeded content problem

Post Reply
tubeman
Posts: 534
Joined: Sat Mar 02, 2013 11:33 am

Template for embeded content problem

Post by tubeman »

Hi,
I see a unusual problem,When I load gallery with the rotation parameters it displays the page correctly, but as soon as its stored in cache it displays the title of the main site and the the embed template in the meta tags.It also loads the navigation and toplists which is not supposed to be there in the embed pages.

http://www.freedesisex.net/gallery/indi ... 4x62x21010

http://www.freedesisex.net/gallery/indi ... index.html

Any idea how to fix this problem? Thanks.

Regards,
admin
Site Admin
Posts: 38004
Joined: Wed Sep 10, 2008 11:43 am

Re: Template for embeded content problem

Post by admin »

did you try to open it with a cache cookie ?
Don't forget to run script update
tubeman
Posts: 534
Joined: Sat Mar 02, 2013 11:33 am

Re: Template for embeded content problem

Post by tubeman »

When I set the Cookie in the Specials section the page works fine but the moment I remove the cookie and try loading the page the above problem re-occurs.Any idea why this is happening?
admin
Site Admin
Posts: 38004
Joined: Wed Sep 10, 2008 11:43 am

Re: Template for embeded content problem

Post by admin »

Not really.
PM admin area and where i can check it plz
Don't forget to run script update
tubeman
Posts: 534
Joined: Sat Mar 02, 2013 11:33 am

Re: Template for embeded content problem

Post by tubeman »

Hi,
Just Pmed you the details.Thanks.
admin
Site Admin
Posts: 38004
Joined: Wed Sep 10, 2008 11:43 am

Re: Template for embeded content problem

Post by admin »

If your template you use

<?php if ($_GET['content_id']) {?>

while in links you use gallery slug

use $_GET['slug'] and it will be ok.

PS cache time for galleries in 5 days so if you want it to take affect right now - clean cache.
Don't forget to run script update
tubeman
Posts: 534
Joined: Sat Mar 02, 2013 11:33 am

Re: Template for embeded content problem

Post by tubeman »

Hi,
Would it be a safe to clean cache on high traffic site? If yes any way to do this from admin area or do I need to goto cache folder in SSH and issue command to delete all files? Thanks.

Regards,
admin
Site Admin
Posts: 38004
Joined: Wed Sep 10, 2008 11:43 am

Re: Template for embeded content problem

Post by admin »

You'd just wait few days and it will recreate those galleries with new template.
Don't forget to run script update
tubeman
Posts: 534
Joined: Sat Mar 02, 2013 11:33 am

Re: Template for embeded content problem

Post by tubeman »

Thanks for helping.
admin
Site Admin
Posts: 38004
Joined: Wed Sep 10, 2008 11:43 am

Re: Template for embeded content problem

Post by admin »

NP
Don't forget to run script update
Post Reply