CI4 Problem ViewException when upload to shared hosting |
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
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.
CodeIgniter 4 tutorials (EN/FR) - https://includebeer.com
/*** NO support in private message - Use the forum! ***/
(01-04-2021, 05:39 AM)includebeer Wrote: Can't you provide the error message?Thanks my friends, you guess is right
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.
CodeIgniter Wizard (CRUD code generator for Mac) instantly scaffolds Bootstrap-based web applications with an administrative interface (admin templates include Bootstrap5) |
Welcome Guest, Not a member yet? Register Sign In |