AusraliaFfishKeeping wrote:Ok so i was playing around with my file directory and copied my whole root folders + .php an placed it in the folder i want and it worked. What is in the root that makes it work?
The problem is that as your new .php file is in a subdirectory it is not providing the correct path to ./common.php. By putting all the standard files into your subdirectory as well then your new .php file can find the duplicates & this is why it works.
You are however making a big mistake in copying the files over. You are duplicating files & updates will become a nightmare & rather than adopt that approach you would be better off putting your new .php files (yes all 300 of them!) in your root directory. I believe that you will also experience problems with your cache as you effectively have two folders.
Alternatively why not try the solution I've proposed in your other thread?