Skip to content

about errorViewPath #745

Description

@jinmarcus

application/Config/App.php

Modifying the variable $errorViewPath does not work
Modification becomes: public $errorViewPath = APPPATH.'Views/common/errors';

Display error:

Warning: Uncaught ErrorException: require(D:\project\application\Views/errors/html/error_404.php): failed to open stream: No such file or directory in D:\project\system\CodeIgniter.php:802 Stack trace: #0 D:\project\system\CodeIgniter.php(802):

about system\CodeIgniter.php
I found this in the document, and There is no $errorViewPath variable:

if (is_cli())
		{
			require APPPATH . 'Views/errors/cli/error_404.php';
		}
		else
		{
			require APPPATH . 'Views/errors/html/error_404.php';
		}

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions