Wrong redirection to Config/Path in index.php - 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: Wrong redirection to Config/Path in index.php (/showthread.php?tid=77286) |
Wrong redirection to Config/Path in index.php - orbitXcover - 08-11-2020 PHP Code: // Path to the front controller (this file) Quote:Warning: PHP Startup: failed to open stream: No such file or directory in /index.php on line 31 And this is the error displayed FCPATH = "//" __DIR__="/" DIRECTORY_SEPARATOR= "/" it gives the wrong address to the file... Where can I change the constants: __DIR__ and DIRECTORY_SEPARATOR Or what is the other solution ?? THX RE: Wrong redirection to Config/Path in index.php - demyr - 08-12-2020 Can you pleae check this thread : CodeIgniter Forum Especially this line : PHP Code: $pathsPath = FCPATH . './app/Config/Paths.php'; RE: Wrong redirection to Config/Path in index.php - orbitXcover - 08-12-2020 (08-12-2020, 01:47 AM)demyr Wrote: Can you pleae check this thread : CodeIgniter ForumNo one way from topic can solve my problem ;( RE: Wrong redirection to Config/Path in index.php - paulbalandan - 08-12-2020 Can you share your folder structure? It seems that you have placed the application at the very root of your filesystem. |