ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

The Template that Wouldn't Die

January 17, 2012 12:19pm

Subscribe [2]
  • #1 / Jan 17, 2012 12:19pm

    g0t035

    45 posts

    What would cause a template to render to the screen when:

    * The template was deleted from its template group—the only template group on the site

    * All EE caches cleared

    * Browser caches cleared and browsers restarted

    * No users or admins are logged into the site

    The template in question was used for development. It is no longer needed and was deleted—but, not unlike Dr. Who, continues to live!

  • #2 / Jan 17, 2012 12:50pm

    glenndavisgroup

    436 posts

    FTP to the server and check the folder where you used to have the template stored and make sure there is no file with the same name as your template in there. If you had setup EE to create a file of your template it might still be there even though you deleted it from the CP. This might be why you are still seeing the page.

    Mike

  • #3 / Jan 17, 2012 1:02pm

    g0t035

    45 posts

    If you had setup EE to create a file of your template

    I never do that.

    There is nothing in the system templates folder other than an htaccess and an index.html (not the name of the template).

  • #4 / Jan 18, 2012 2:01pm

    glenndavisgroup

    436 posts

    Can you checked the EE db manually using phpMyAdmin or the like to see if the template you deleted might still be in there?

  • #5 / Jan 18, 2012 4:40pm

    Dan Decker

    7338 posts

    Hi g0t035,

    Going with Mike’s suggestion here. Open Tools->Data->SQL Manager and click Manage Database Tables. Find exp_tempates and click “Browse”. Look in that table for the name of the Zombie Template and take note of its template_id.

    Let me know what you find?

    Cheers,

  • #6 / Jan 19, 2012 10:03am

    g0t035

    45 posts

    I believe the problem is solved. The rogue template (test1) is not present in exp_templates.

    I think what was happening is that the site did not recognize a URL with a template that did not exist, and was therefore defaulting to the index template.

    At the time, the test1 template (which was deleted) and the home page looked identical.

    But the address bar retained the bogus URL, including the nonexistent template at the end of the segments. So I thought I was being taken to the deleted template.

    Thank you Mike and Dan.

  • #7 / Jan 20, 2012 4:39pm

    Shane Eckert

    7174 posts

    Hellow g0t035,

    That is great news. I am glad this is figured out now.

    Thank you for using the ExpressionEngine forums.

    Have a great day!

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases