$this->inc following wrong path [SOLVED]

Permalink
This is something I've struggled with in the past, but reared its head once again.
I want to use a $this->inc on my page so it doesn't get too messy.

For example: <?php $this->inc('elements/test.php'); ?>

However, when loading the site I get this:
include(D:\Program Files (x86)\web development\wamp\www\Future\concrete5.7.5.8\concrete/themes/future/elements/test.php): failed to open stream: No such file or directory

As you can see, instead of going concrete5.7.5.8\application/themes/ it goes via concrete/themes.
Where did I go wrong?

 
pixelhero replied on at Permalink Reply
pixelhero
Firstly, do you have a htaccess file on the server? It looks like your base for includes may be wrong

Do you definitely have a file at:
/application/themes/future/elements/test.php
If so, is it readable?
ghoststalker195 replied on at Permalink Best Answer Reply
Edit:
Found the problem. I had to re-install the theme. After I did that, everything worked!