# cakePHP 2 this-\>layout is not working

**URL:** <https://discourse.cakephp.org/t/cakephp-2-this-layout-is-not-working/11616>\
**Category:** Need Help\
**Tags:** help\
**Created:** [November 3, 2023, 10:53am UTC](https://discourse.cakephp.org/t/cakephp-2-this-layout-is-not-working/11616 "2023-11-03T10:53:33Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Avi](https://avatars.discourse-cdn.com/v4/letter/a/b9bd4f/32.png) [@Avi](https://discourse.cakephp.org/u/Avi)\
**Post date:** [November 3, 2023, 10:53am UTC](https://discourse.cakephp.org/t/cakephp-2-this-layout-is-not-working/11616/1 "2023-11-03T10:53:33Z")

</div>

I have a CakePHP 2.0 and php 7.1.3 and my site hosted on cPanel and on this site I have a management area, but for some reason, this area only works properly at localhost, if I upload the site into the shared server it just shows up a blank page and not showing any error.  
I already set all folder permistion to 755 and files to 744

---

<div class="post-metadata">

**Author:** ![yousuo](https://avatars.discourse-cdn.com/v4/letter/y/898d66/32.png) [@yousuo](https://discourse.cakephp.org/u/yousuo)\
**Post date:** [November 3, 2023, 11:10am UTC](https://discourse.cakephp.org/t/cakephp-2-this-layout-is-not-working/11616/2 "2023-11-03T11:10:08Z")

</div>

try putting a dummy-php file to see what is shown in that folder

```auto
// in your cpanel folder, index.php
<?php
echo 'i am here';
?>

```

---

<div class="post-metadata">

**Author:** ![Zuluru](https://yyz1.discourse-cdn.com/flex029/user_avatar/discourse.cakephp.org/zuluru/32/1230_2.png) [@Zuluru](https://discourse.cakephp.org/u/Zuluru)\
**Post date:** [November 3, 2023, 1:23pm UTC](https://discourse.cakephp.org/t/cakephp-2-this-layout-is-not-working/11616/3 "2023-11-03T13:23:39Z")

</div>

Have you enabled debug mode in your configuration? Have you looked in Cake and Apache logs to see what they are telling you about your error?
