# Only the last requireworks

**URL:** <https://discourse.slimframework.com/t/only-the-last-requireworks/3828>\
**Category:** Questions\
**Created:** [January 31, 2020, 6:26pm UTC](https://discourse.slimframework.com/t/only-the-last-requireworks/3828 "2020-01-31T18:26:10Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![user31012020](https://avatars.discourse-cdn.com/v4/letter/u/0ea827/32.png) [@user31012020](https://discourse.slimframework.com/u/user31012020)\
**Post date:** [January 31, 2020, 6:26pm UTC](https://discourse.slimframework.com/t/only-the-last-requireworks/3828/1 "2020-01-31T18:26:10Z")

</div>

hello guys,  
i start with slim framework , but i have some probleme of rooting.

only the last require file works . slim version 3.\*

 ![Capture](https://canada1.discourse-cdn.com/flex030/uploads/slimframework/original/2X/2/2ae8cba6797d915b7100fdd45c6bc27a3375db22.png)

i try with render method but it not working.

if somebody can help, that will be so great for me.

thanks !!

---

<div class="post-metadata">

**Author:** ![to.lunelli](https://avatars.discourse-cdn.com/v4/letter/t/5daacb/32.png) [@to.lunelli](https://discourse.slimframework.com/u/to.lunelli)\
**Post date:** [March 18, 2020, 10:04pm UTC](https://discourse.slimframework.com/t/only-the-last-requireworks/3828/2 "2020-03-18T22:04:58Z")

</div>

Hi,

Maybe thats your server config? or you can test add a `chdir ('../');` before load autoload.php

now what error are throwing?

[Edit]

Maybe a `composer update` can help you
