CodeIgniter\View\Exceptions\ViewException - 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: CodeIgniter\View\Exceptions\ViewException (/showthread.php?tid=80234) |
CodeIgniter\View\Exceptions\ViewException - PeVal - 10-04-2021 I have a problem with the error display file. When I run the application on the server (unix), the system displays an error: Code: CodeIgniter\View\Exceptions\ViewException on local (win, xampp) it works fine for me. In Config/Validatin.php I have PHP Code: public $templates = [ File "errors_list.php" is in Views/errors/errors_list.php In view width form, I have PHP Code: echo \Config\Services::validation()->listErrors('my_list'); Can you please advise me where I have a mistake. Thank you RE: CodeIgniter\View\Exceptions\ViewException - PeVal - 10-05-2021 I've found that the path to the "errors list.php" file needs to be listed in its entirety: [PHP] ... 'my_list' => 'App\Views\errors\errors_list', ... [PHP] |