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.

Possible Corrupted Templates

December 13, 2011 2:03pm

Subscribe [2]
  • #1 / Dec 13, 2011 2:03pm

    I recently had trouble w/ some templates that had PHP in them that is detailed in this thread:
    http://ellislab.com/forums/viewthread/203306
    Basically to sum it up, there was an issue upon switching web hosts with their security and all my templates w/ enabled PHP I wasn’t able to update until just now. However, I was able to go in via PHPMyAdmin and manually find and update these templates.

    The web host has fixed the issue, but now, for only these templates, my embed calls are not working correctly. For example, in another template on the same site, the line:

    {embed="embeds/oi_page_header"}

    brings in the page header. However, in these templates that aren’t working, nothing is brought in. That HTML is just omitted. However, if instead of making the embed call, I hard code in the HTML, everything works fine. Anyone have any ideas what could be causing this? Thanks in advance for any help and I’d be happy to provide more details if need be.

  • #2 / Dec 14, 2011 3:42pm

    Dan Decker

    7338 posts

    Hi Allison,

    I can’t say that I have ever seen anything like this. If you create a new template that is and copy over the code from one of the affected templates, does the new template work? If so, you may need to delete and recreate each affected template, making sure to copy the code into a text file before deleting the old template. let us know the results of your tests.

    Thanks!

  • #3 / Dec 16, 2011 10:04am

    Thanks for the reply Dan. Unfortunately, this is a rather large site with many content links between pages on the site. Also, this happened to 5/6 of the templates, thus, having to recreate the templates would require a lot of time for relinking so I’m going to hold off for now and try to pick a slow time for the site to run this test. Thanks again

  • #4 / Dec 19, 2011 2:14pm

    Kevin Smith

    4784 posts

    Were you able to find anything in your additional testing, Allison?

    Be on the lookout for an email from me. I’d like to have a first-hand look at this.

  • #5 / Dec 21, 2011 3:06pm

    Kevin Smith

    4784 posts

    Just wanted to check in to see where you are and if you need any more assistance, Allison. Let me know!

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

ExpressionEngine News!

#eecms, #events, #releases