Are all the files in the same directory? If not, let us see your file/folder structure.
Remember, when file_B is inserted into file_A using include/require, the 'scope' of file_B's code is still file_A.
So, suppose you have a file structure as follows: ...
file_A.php
php/file_B.php
php/file_C.php
... and ...
In file_A, you call include "php/file_B.php".
In file_B, you call include "file_C.php".
1) If you run file_B.php independently, it will succeed in finding file_C.php. (File-scope is file_B.php)
2) If you run file_A.php, it will find file_B.php OK.
BUT, the scope for the code in file_B.php is that of file_A.php (because the code is run in file_A) so it won't find the reference to file_C.php in file_B.php.
Now, the command in file_B.php that would work for example (2) is include "php/file_C.php", even though that line WOULD NOT WORK if file_B.php is run independently of file_A.php.
Hope that makes sense!!