I am trying to put a website live, works fine on my laptop, but when I upload it to my hosting provider, I am getting a strange error.
I include a lot of files, and all of them have been succesfully included except for one.
The error message that I am receiving is:
Warning: Failed opening '/templates/html_menu.php' for inclusion (include_path='') in /www.myurl.com/templates/html_header.php on line 32
include(/templates/html_menu.php)
The code I am using to include is this:
<td>
<?include ($vtemplatedir.'/html_menu.php');?>
</td>
Every other include I have seems to be working - its just this one. The only differance I can see is that this is being called from another html file. My structure looks like this:
index.php
-includes
/templates/html_header.php
-includes
/templates/html_menu.php
I have other config files that include each other in a similar way and they are working.
If anyone can shed some light on this it would be appreciated.