Firefox PHP

emerald missing header include

Posted by artisites 
emerald missing header include
April 07, 2011 03:38PM
Hi

I logged into one of my forums just there and it's missing the whole header include in the front end markup.

One of the guys said it's been like this for a few days now. The forum works fine when i change the template to be classic or default, but emerald seems to be broken when i've not even touched any of the template files. (none of the files have been modified when i order by date)

Has this ever happened to anyone?
Re: emerald missing header include
April 07, 2011 04:03PM
Nobody ever reported such behavior.
When the header is not showing, then most likely the header.tpl is broken.


Maurice Makaay
Phorum Development Team
my blog linkedin profile secret sauce
Re: emerald missing header include
April 08, 2011 03:18PM
I just deleted, then re-uploaded a fresh emerald directory, still doing the same! first bit in the markup is

"<!-- BEGIN TEMPLATE index_new.tpl -->"

or on the list pages

"<!-- BEGIN TEMPLATE list.tpl -->"

but it works with the other themes...?
Re: emerald missing header include
April 08, 2011 03:21PM
Can we see that on a public URL?


Maurice Makaay
Phorum Development Team
my blog linkedin profile secret sauce
Re: emerald missing header include
April 08, 2011 04:30PM
sorry can't post url, sent it through pm though. here's an example of the source that spits out from the homepage

<!-- BEGIN TEMPLATE message.tpl -->
 
 
    <div class="information">
        Sorry, no forums to show here.
        
        
    </div>
 
<!-- END TEMPLATE message.tpl -->
 
<!-- BEGIN TEMPLATE footer.tpl -->
    <div id="footer-plug">
      This <a href="[www.phorum.org];
      is powered by <a href="[www.phorum.org];.
    </div>
 
  </div> <!-- end of div id="phorum" -->
 
</body>
</html>
<!-- END TEMPLATE footer.tpl -->
 

Re: emerald missing header include
April 08, 2011 07:24PM
The problem has been discussed and solved via PM.
The problem was in the cached templates (probably due to a full cache disk, resulting in a zero byte long compiled header template). Flushing the cache data fixed the issue.


Maurice Makaay
Phorum Development Team
my blog linkedin profile secret sauce
Re: emerald missing header include
April 08, 2011 07:46PM
Thanks again Maurice!

Future ref and future searches: try clearning cache if you have a problem with template file not loading in browser :)
Sorry, only registered users may post in this forum.

Click here to login