Welcome Guest, Not a member yet? Register   Sign In
CI 4.1.1 not loading on Dremhost
#5

(10-11-2021, 06:43 AM)magiwells Wrote: I am having problems getting CI4.1.1 to load on Dream Host
I copied the public content into the public folder on Dream Host "/mysite.com", and the Application content into a folder I created One directory up "/app_code".
The index.php file is different in 4.1.1 than what is the tutorials 

PHP Code:
require realpath(FCPATH '../app/Config/Paths.php') ?: FCPATH '../app/Config/Paths.php';

I changed it  

PHP Code:
require realpath(FCPATH '..app_code/app/Config/Paths.php') ?: FCPATH '..app_code/app/Config/Paths.php';

In the error log it looks like the path is being appended to and not going up one directory 

/home/xx_xxxxx/mysite.com/../app_code/app/Config/Paths.php

it shouldn
't it be

/home/xx_xxxx/app_code/app/Config/Paths 
I faced the same kinda issue installing lil' the older version which was fixed by giving proper permission to those folders.
Peter Gould
GBWhatsApp
Reply


Messages In This Thread
CI 4.1.1 not loading on Dremhost - by magiwells - 10-11-2021, 06:43 AM
RE: CI 4.1.1 not loading on Dremhost - by sammy21 - 01-31-2023, 08:55 PM



Theme © iAndrew 2016 - Forum software by © MyBB