# Can'load webroot?

**URL:** <https://discourse.cakephp.org/t/canload-webroot/2513>\
**Category:** Need Help\
**Created:** [May 3, 2017, 4:14pm UTC](https://discourse.cakephp.org/t/canload-webroot/2513 "2017-05-03T16:14:32Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![wakikuk](https://avatars.discourse-cdn.com/v4/letter/w/e95f7d/32.png) [@wakikuk](https://discourse.cakephp.org/u/wakikuk)\
**Post date:** [May 3, 2017, 4:14pm UTC](https://discourse.cakephp.org/t/canload-webroot/2513/1 "2017-05-03T16:14:32Z")

</div>

Hello , Good night , please help me, i have project with cake php as frame work , and i did confuse , when i tried upload my project from localhost to share server / hosting , and this my conditions on localhost ,  
, and this my conditions website when upload to hosting server ,  
 ![](https://cdck-file-uploads-canada1.s3.dualstack.ca-central-1.amazonaws.com/flex029/uploads/cakephp/original/1X/fcbbdd22ccc526d4fcca4a7a83f7ce01cca9fe2e.png)

---

<div class="post-metadata">

**Author:** ![wakikuk](https://avatars.discourse-cdn.com/v4/letter/w/e95f7d/32.png) [@wakikuk](https://discourse.cakephp.org/u/wakikuk)\
**Post date:** [May 3, 2017, 4:15pm UTC](https://discourse.cakephp.org/t/canload-webroot/2513/2 "2017-05-03T16:15:30Z")

</div>

this my condition web on my localhost  
 ![](https://cdck-file-uploads-canada1.s3.dualstack.ca-central-1.amazonaws.com/flex029/uploads/cakephp/original/1X/7da8bae461b7f242317c8686dbc6312e0d16aa8f.png)

---

<div class="post-metadata">

**Author:** ![rrd](https://yyz1.discourse-cdn.com/flex029/user_avatar/discourse.cakephp.org/rrd/32/113_2.png) [@rrd](https://discourse.cakephp.org/u/rrd)\
**Post date:** [May 3, 2017, 6:36pm UTC](https://discourse.cakephp.org/t/canload-webroot/2513/3 "2017-05-03T18:36:42Z")

</div>

It is difficult to say anything based on a screenshot. Why do not you use chromes developer tool to check? I guess you css files are not loading.

---

<div class="post-metadata">

**Author:** ![wakikuk](https://avatars.discourse-cdn.com/v4/letter/w/e95f7d/32.png) [@wakikuk](https://discourse.cakephp.org/u/wakikuk)\
**Post date:** [May 3, 2017, 8:03pm UTC](https://discourse.cakephp.org/t/canload-webroot/2513/4 "2017-05-03T20:03:11Z")

</div>

i dont know , that happened because cannot load Css or what ? sir , i just upload file to hosting server and try load ,and thank for your information sir , but i 'll try open with chrome tools… Thank you…

---

<div class="post-metadata">

**Author:** ![germanocorrea](https://yyz1.discourse-cdn.com/flex029/user_avatar/discourse.cakephp.org/germanocorrea/32/593_2.png) [@germanocorrea](https://discourse.cakephp.org/u/germanocorrea)\
**Post date:** [May 3, 2017, 9:25pm UTC](https://discourse.cakephp.org/t/canload-webroot/2513/5 "2017-05-03T21:25:51Z")

</div>

Check the host if mod rewrite is enabled for apache and if you have  
properly configured folder and file permissions.

---

<div class="post-metadata">

**Author:** ![wakikuk](https://avatars.discourse-cdn.com/v4/letter/w/e95f7d/32.png) [@wakikuk](https://discourse.cakephp.org/u/wakikuk)\
**Post date:** [May 4, 2017, 2:10am UTC](https://discourse.cakephp.org/t/canload-webroot/2513/6 "2017-05-04T02:10:12Z")

</div>

help me brother …  
 ![](https://cdck-file-uploads-canada1.s3.dualstack.ca-central-1.amazonaws.com/flex029/uploads/cakephp/original/1X/10d551d95ba08824fb9287d8c374c0642a15c4fd.png)

---

<div class="post-metadata">

**Author:** ![wakikuk](https://avatars.discourse-cdn.com/v4/letter/w/e95f7d/32.png) [@wakikuk](https://discourse.cakephp.org/u/wakikuk)\
**Post date:** [May 4, 2017, 3:11am UTC](https://discourse.cakephp.org/t/canload-webroot/2513/7 "2017-05-04T03:11:23Z")

</div>

thank you all , my website had been load css , with uncomment base url in your config app.php , and you must use index.php for load your web , but its no problem you can set trick on route , hehehe , thank all …  
 ![](https://cdck-file-uploads-canada1.s3.dualstack.ca-central-1.amazonaws.com/flex029/uploads/cakephp/original/1X/a8bfe91424d07f3baf837c29f0b28d67aa8750fe.png)
