1

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!

  • Can you enable devMode, reproduce the error, then update your original question with the full stack trace leading up to the error? – Brad Bell Sep 11 '17 at 18:58
3

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.

| improve this answer | |
1

Disk usage over quota is a possible cause for the error message An error occurred when rendering a template in Craft CMS v2.x.

In this case, you will see the same when trying to access the control panel, regardless of dev mode setting.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.