php - File is readable but fails to be included -
i have file include files listed. i'm facing unknown error. there's class file in /class/class.user.php , there's include file in /includes/_inc_include.php
now, when run :-
var_dump(is_readable('../class/class.user.php'));
it returns true when try include using :-
include '../class/class.user.php';
it gives error :- include(../class/class.user.php): failed open stream: no such file or directory
why happening ?
you've mentioned trying include file, error you're getting require
is may have required file 1 of other files including /includes/_inc_include.php ?
the error message got, contain file path , line number of resulting error, should trace error causing require
Comments
Post a Comment