Hello all, I have created a folder on my root called articles, into that i have created a page using my normal template and called this page test.php when I type the path (http://www.visitdevonandcornwall.com/articles/test.php) into a browser i get this Fatal error: main(): Failed opening required 'Connections/accomm.php' Can anyone help me out please
Sounds like a hardcode path in the template. Were all previous pages in the root? Look out for some code including a file relatively. Because you went down the directory tree it can't find it no more...
As Noppid suggests: <?php require_once('Connections/accomm.php'); ?> to <?php require_once('../Connections/accomm.php'); ?> To make up for the folder change... PS after fixing it you might want to obscure some of the paths posted to avoid evil eyes...
.. tells it the parent folder, then it looks down from there for the given path. . is the contents of a folder and the current location. .. is the parent.