Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BUG: 4.0.2 Kint not found #2639

Closed
obstbude opened this issue Feb 28, 2020 · 2 comments
Closed

BUG: 4.0.2 Kint not found #2639

obstbude opened this issue Feb 28, 2020 · 2 comments

Comments

@obstbude
Copy link

Describe the bug
I just started with a fresh install of CI 4.0.2 and set it to development mode but I get an Error: Kint not found. Same when I use CLI to call public/index.php

CodeIgniter 4 version
git 4.0.2 Artifact

Affected module(s)
Kint Class

Expected behavior, and steps to reproduce if appropriate
Download release tar. Deflate and set Document Root to public.

Type:        Error
Message:     Class 'Kint\Kint' not found
Filename:    /var/www/html/ci4/system/ThirdParty/Kint/init.php
Line Number: 46

45 // Dynamic default settings
46 Kint::$file_link_format = \ini_get('xdebug.file_link_format');
47 if (isset($_SERVER['DOCUMENT_ROOT'])) {
48     Kint::$app_root_dirs = array(
49         $_SERVER['DOCUMENT_ROOT'] => '<ROOT>',
50         \realpath($_SERVER['DOCUMENT_ROOT']) => '<ROOT>',

Context

OS: Ubuntu 19.10
Web:  Apache/2.4.41 (Ubuntu) + php-fpm
PHP: 7.3.11
@ST-o-RM
Copy link

ST-o-RM commented Feb 28, 2020

Obviously this problem is in the repository https://github.com/codeigniter4/framework
where the file kint.php begins with a small letter
https://github.com/codeigniter4/framework/tree/master/system/ThirdParty/Kint/
change it to capital letter

@obstbude
Copy link
Author

You're right. Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants