An error occurred when rendering a template I have an odd problem. 

When I render a simple HTML template without any link to the Control Panel, I get the following message on random pages:


  An error occurred when rendering a template


Whenever I change I can't seem the remove this error or find the problem / solution.

Also I cannot access the Control Panel.

Can you please help me?

Thanks!
You can receive this error if you have uploaded a Craft website and your craft/storage/runtime/cache and craft/storage/runtime/complied_templates folders are not writable.

We made these folders writable and resolved the error.