I have set up Apache, so that rather than /var/www being the site, /home/adam/public_html is. I then disabeled the /var/www as default site, and enabled the second /home path as the site called 'adam'. Everything was hunky dorey, and is running, but all of my PHP includes in my applications fail.
This is the specific error:
Code:
Warning: require_once(../sb-includes/config.php) [function.require-once]: failed to open stream: No such file or directory in /home/adam/public_html/simplyblog2/sb-classes/config.php on line 2
Fatal error: require_once() [function.require]: Failed opening required '../sb-includes/config.php' (include_path='.:/usr/share/php:/usr/share/pear') in /home/adam/public_html/simplyblog2/sb-classes/config.php on line 2
I know for a fact that all the files exist that are being referenced though! Sorry if this is a common problem, but it's just a little annoying as I thought I had everything set up!
Bookmarks