#
#
# artur #2016-07-16 22:58:09
Kohana
# artur #, 2016-07-16 22:58:09

How to revert Kohana 3.3.5 errors?

Hello!
Today I downloaded the latest version of Kohan and was surprised that the php errors had disappeared somewhere, I tried to enable them through the php settings and wrote them in the script, and through .htaccess - nothing helps
. When some error occurs, I see this:

Warning: require(C:\OpenServer\domains\site.ru\modules\purifier\vendor\htmlpurifier\library): failed to open stream: Permission denied in C:\OpenServer\domains\site.ru\system\classes\Kohana\UTF8.php on line 371

Warning: require(): Filename cannot be empty in C:\OpenServer\domains\site.ru\system\classes\Kohana\UTF8.php on line 371

Fatal error: require(): Failed opening required '' (include_path='C:\OpenServer\domains\site.ru\modules\purifier\vendor\htmlpurifier\library;.;c:/openserver/modules/php/PHP-5.5;c:/openserver/modules/php/PHP-5.5/PEAR/pear') in C:\OpenServer\domains\site.ru\system\classes\Kohana\UTF8.php on line 371

Reinstalled the latest OpenServer, it became like this:
Warning: require(): Filename cannot be empty in C:\Server\OpenServer\domains\site.ru\system\classes\Kohana\UTF8.php on line 371

Fatal error: require(): Failed opening required '' (include_path='C:\Server\OpenServer\domains\site.ru\modules\purifier\vendor\htmlpurifier\library;.;c:/server/openserver/modules/php/PHP-5.5;c:/server/openserver/modules/php/PHP-5.5/PEAR/pear') in C:\Server\OpenServer\domains\site.ru\system\classes\Kohana\UTF8.php on line 371

I didn't touch anything in the system files, the ucfirst helper did n't fail, and line 371 didn't fail either... and the helper code is identical to previous versions of Kohan.
Version php 5.5 - kohana 3.3.1 worked perfectly and errors were displayed adequately.
I understand that there is an error somewhere in my code, but I can’t see it as it was before, I don’t know if I can get into the logs, then it will be there, but somehow I want it the old fashioned way ...
Who solved the problem?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexey Ukolov, 2016-07-16
@alexey-m-ukolov

So it says what the problem is:

require(C:\OpenServer\domains\site.ru\modules\purifier\vendor\htmlpurifier\library): failed to open stream: Permission denied

There are not enough permissions to the file, so everything goes further downhill.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question