Welcome Guest, Not a member yet? Register   Sign In
All First Tries with CI4 Failing
#5

In the index.php file in the public directory in the website I made these changes:

define('FCPATH', __DIR__ . DIRECTORY_SEPARATOR);
$pathsPath = realpath(FCPATH . '/home/example/ci4/app/Config/Paths.php');
chdir(__DIR__);
require $pathsPath;
$paths = new Config\Paths();
$app = require rtrim($paths->systemDirectory, '/ ') . '/bootstrap.php';

In the paths.php file I made these changes:

public $systemDirectory = '/home/example/ci4/system/system';
public $appDirectory = '/home/example/ci4/app';
public $writableDirectory = '/home/example/ci4/writable';
public $testsDirectory = '/home/example/ci4/tests';
public $viewDirectory = '/home/example/ci4/app/Views';

I am obviously doing something wrong, but I am not sure where.

Thank you for looking at this.
Reply


Messages In This Thread
All First Tries with CI4 Failing - by clancey - 10-09-2020, 05:16 PM
RE: All First Tries with CI4 Failing - by clancey - 10-10-2020, 06:15 AM
RE: All First Tries with CI4 Failing - by clancey - 10-11-2020, 04:53 PM
RE: All First Tries with CI4 Failing - by clancey - 10-12-2020, 10:13 AM
RE: All First Tries with CI4 Failing - by clancey - 10-12-2020, 11:51 PM



Theme © iAndrew 2016 - Forum software by © MyBB