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
Invalid file: errors\errors_list.php
on local (win, xampp) it works fine for me.
In Config/Validatin.php I have
PHP Code:
public $templates = [
'list' => 'CodeIgniter\Validation\Views\list',
'single' => 'CodeIgniter\Validation\Views\single',
'my_list' => 'errors\errors_list',
];
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