Welcome Guest, Not a member yet? Register   Sign In
Upload Ci4 into the cPanel hosting problem
#1

Hello,

1. I used cPanel shared hosting.
2. I uploaded all files in public folder into the public_html folder on my cPanel hosting.
3. I created a folder called ci_project before public_html and upload all other CodeIgniter files into ci_project folder.
4. I open index.php and change the $pathsPath = realpath(FCPATH . '../ci_project/app/Config/Paths.php');
5. After that, when I try to access my website I got bellow errors:

 
Warning: require(): Filename cannot be empty in /home/USERNAME/public_html/index.php on line 33
Warning: require(): Filename cannot be empty in /home/[b]USERNAME/public_html/index.php[/b] on line 33
Fatal error: require(): Failed opening required '' (include_path='.:/opt/cpanel/ea-php73/root/usr/share/pear') in /home/[b]USERNAME/public_html/index.php[/b] on line 33
Reply




Theme © iAndrew 2016 - Forum software by © MyBB