title: error messages in eclipse IDE when opening .php and .tpl files
body: <p>Been using eclipse for a short while. I run <code>ubuntu 10.10</code> and have installed <code>Eclipse web tools platform plug-ins for ecplise</code> and the <code>php development tools plug-in</code>, when I started a <code>php project</code> I also installed the <code>php perspective</code>, but this doesn't work when I run php files?! </p>
  
  <p>I get this error </p>
  
  <blockquote>
    <p>Unsupported content type in editor</p>
  </blockquote>
  
  <p>So when I edit php files I use the <code>Java perspective</code>. This works. I can't say that eclipse impress much with all these weird errors when I install every thing by default and are only doing simple tasks, like editing a php file with a php editor.. </p>
  
  <p>I also get this error when I open <code>.tpl</code> files (<code>smarty template engine files</code>)</p>
  
  <blockquote>
    <p>Could not open the editor: The editor
    class could not be instantiated. This
    usually indicates a missing no-arg
    constructor or that the editor's class
    name was mistyped in plugin.xml.</p>
  </blockquote>
  
  <p>Thats my main problem. </p>