![]() |
CI4 Problem ViewException when upload to shared hosting - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: CodeIgniter 4 (https://forum.codeigniter.com/forumdisplay.php?fid=28) +--- Forum: CodeIgniter 4 Support (https://forum.codeigniter.com/forumdisplay.php?fid=30) +--- Thread: CI4 Problem ViewException when upload to shared hosting (/showthread.php?tid=78331) |
CI4 Problem ViewException when upload to shared hosting - sandywicaksono - 01-04-2021 Hi, i am newbie with ci4, when i upload to shared hosting i got an error like this, CodeIgniter\View\Exceptions\ViewException SYSTEMPATH/Exceptions/FrameworkException.php at line 21 PHP Code: 14 public static function forEnabledZlibOutputCompression() whats the problem ? i use PHP 7.3 version with cpanel, thanks for your help ![]() RE: CI4 Problem ViewException when upload to shared hosting - includebeer - 01-04-2021 Can't you provide the error message? My first guess would be the view filename does not match what you have in your code when you try to load it. The lower/upper case letters must be the same. If you test on Windows but you host your site on Linux, you can have this kind of error. RE: CI4 Problem ViewException when upload to shared hosting - sandywicaksono - 01-04-2021 (01-04-2021, 05:39 AM)includebeer Wrote: Can't you provide the error message?Thanks my friends, you guess is right ![]() RE: CI4 Problem ViewException when upload to shared hosting - gosocial2 - 01-04-2021 Happens to me in cases where I sometimes confuse uppercase / lowercase letters in view filenames - works on local computer where apache ignores the case, but Linux certainly does not on the server. |