ROOT_PATH - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: CodeIgniter 4 (https://forum.codeigniter.com/forumdisplay.php?fid=28) +--- Forum: CodeIgniter 4 Support (https://forum.codeigniter.com/forumdisplay.php?fid=30) +--- Thread: ROOT_PATH (/showthread.php?tid=77271) |
ROOT_PATH - codeforT - 08-10-2020 pls help! Been trying to solve this error message below, Warning: include(C:\xampp\htdocs\blog\blog\admin\topics\app\includes\adminHeader.php): failed to open stream: No such file or directory in C:\xampp\htdocs\blog\blog\admin\topics\create.php on line 25 Warning: include(): Failed opening 'C:\xampp\htdocs\blog\blog\admin\topics\app\includes\adminHeader.php' for inclusion (include_path='.:/path/you/installed/pear/to/') in C:\xampp\htdocs\blog\blog\admin\topics\create.php on line 25. I am trying to set a root path for my header and sidebar. RE: ROOT_PATH - InsiteFX - 08-10-2020 If they are headers and sidebars they should be placed in the Views folder. app/Views/include/your_files.php Then you load them as view files. |