Page 1 of 1

Template for embeded content problem

Posted: Wed Jul 03, 2013 1:33 pm
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,

Re: Template for embeded content problem

Posted: Wed Jul 03, 2013 6:35 pm
by admin
did you try to open it with a cache cookie ?

Re: Template for embeded content problem

Posted: Wed Jul 03, 2013 6:45 pm
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?

Re: Template for embeded content problem

Posted: Thu Jul 04, 2013 1:09 pm
by admin
Not really.
PM admin area and where i can check it plz

Re: Template for embeded content problem

Posted: Thu Jul 04, 2013 1:29 pm
by tubeman
Hi,
Just Pmed you the details.Thanks.

Re: Template for embeded content problem

Posted: Thu Jul 04, 2013 2:30 pm
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.

Re: Template for embeded content problem

Posted: Thu Jul 04, 2013 2:36 pm
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,

Re: Template for embeded content problem

Posted: Fri Jul 05, 2013 7:49 am
by admin
You'd just wait few days and it will recreate those galleries with new template.

Re: Template for embeded content problem

Posted: Fri Jul 05, 2013 10:33 am
by tubeman
Thanks for helping.

Re: Template for embeded content problem

Posted: Fri Jul 05, 2013 10:42 am
by admin
NP