08-11-2020, 10:58 AM
PHP Code:
// Path to the front controller (this file)
define('FCPATH', __DIR__ . DIRECTORY_SEPARATOR);
// Location of the Paths config file.
// This is the line that might need to be changed, depending on your folder structure.
$pathsPath = FCPATH . '../app/Config/Paths.php';
// ^^^ Change this if you move your application folder
Quote:Warning: PHP Startup: failed to open stream: No such file or directory in /index.php on line 31
Warning: PHP Startup: failed to open stream: No such file or directory in /index.php on line 31
Fatal error: PHP Startup: Failed opening required '//../app/Config/Paths.php' (include_path='.:/:/usr/local/php73/lib/pear') 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