# Missing Template

**URL:** <https://discourse.cakephp.org/t/missing-template/2973>\
**Category:** Need Help\
**Created:** [August 2, 2017, 6:06pm UTC](https://discourse.cakephp.org/t/missing-template/2973 "2017-08-02T18:06:57Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![dpatra](https://avatars.discourse-cdn.com/v4/letter/d/bbce88/32.png) [@dpatra](https://discourse.cakephp.org/u/dpatra)\
**Post date:** [August 2, 2017, 6:06pm UTC](https://discourse.cakephp.org/t/missing-template/2973/1 "2017-08-02T18:06:57Z")

</div>

Hi

I am making an ajax request each 10 seconds. If I logout by the time when the request being made and log back in again, then I am getting the below error. Cakephp checks for view of the action and I dont have the view of the function. Can you please help me out of this.

Missing Template Cake\View\Exception\MissingTemplateException.

---

<div class="post-metadata">

**Author:** ![syed](https://avatars.discourse-cdn.com/v4/letter/s/a88e57/32.png) [@syed](https://discourse.cakephp.org/u/syed)\
**Post date:** [August 9, 2017, 4:19pm UTC](https://discourse.cakephp.org/t/missing-template/2973/2 "2017-08-09T16:19:11Z")

</div>

Can you take SS of the whole page and post it here?

A simple line like this

> [@dpatra](#):
>
> Missing Template Cake\View\Exception\MissingTemplateException.

will never help anyone.

---

<div class="post-metadata">

**Author:** ![dpatra](https://avatars.discourse-cdn.com/v4/letter/d/bbce88/32.png) [@dpatra](https://discourse.cakephp.org/u/dpatra)\
**Post date:** [October 4, 2018, 7:02am UTC](https://discourse.cakephp.org/t/missing-template/2973/3 "2018-10-04T07:02:41Z")

</div>

Hi Syed,

The issue is resolved. Thanks for your response 🙂.
