CodeIgniter Forums
Upload Ci4 into the cPanel hosting problem - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Using CodeIgniter (https://forum.codeigniter.com/forumdisplay.php?fid=5)
+--- Forum: Installation & Setup (https://forum.codeigniter.com/forumdisplay.php?fid=9)
+--- Thread: Upload Ci4 into the cPanel hosting problem (/showthread.php?tid=77754)



Upload Ci4 into the cPanel hosting problem - shafiei777 - 10-15-2020

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