Welcome Guest, Not a member yet? Register   Sign In
migrating to CI4
#10

It's not trying to access pear. It's trying to include an empty filename: 
Code:
Failed opening required ''

Then it's telling you what your include_path is, and it happens to include the pear directory, it has nothing to do with CI:
Code:
(include_path='.:/opt/php_interim_dir/ea-php74/root/usr/share/pear')

...and this error comes from line 32 in index.php:
Code:
in /home/user/public_html/index.php on line 32

What is at line 32? In CI 4.04 we have this:
PHP Code:
require $pathsPath

...which is defined at line 16:
PHP Code:
// Location of the Paths config file.
// This is the line that might need to be changed, depending on your folder structure.
$pathsPath realpath(FCPATH '../app/Config/Paths.php');
// ^^^ Change this if you move your application folder 

Did you change this line? You have something misconfigured and that's why you have this error.
Reply


Messages In This Thread
migrating to CI4 - by clancey - 11-08-2020, 02:13 PM
RE: migrating to CI4 - by captain-sensible - 11-09-2020, 02:31 PM
RE: migrating to CI4 - by clancey - 11-09-2020, 03:15 PM
RE: migrating to CI4 - by John_Betong - 11-09-2020, 04:19 PM
RE: migrating to CI4 - by InsiteFX - 11-10-2020, 12:37 PM
RE: migrating to CI4 - by clancey - 11-10-2020, 02:57 PM
RE: migrating to CI4 - by clancey - 11-12-2020, 12:39 PM
RE: migrating to CI4 - by John_Betong - 11-12-2020, 09:07 PM
RE: migrating to CI4 - by clancey - 11-14-2020, 09:47 AM
RE: migrating to CI4 - by includebeer - 11-14-2020, 10:00 AM
RE: migrating to CI4 - by clancey - 11-14-2020, 10:23 AM
RE: migrating to CI4 - by includebeer - 11-14-2020, 02:03 PM



Theme © iAndrew 2016 - Forum software by © MyBB