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

Ошибка при индексации #17

Open
stasled opened this issue Mar 4, 2018 · 2 comments
Open

Ошибка при индексации #17

stasled opened this issue Mar 4, 2018 · 2 comments

Comments

@stasled
Copy link

stasled commented Mar 4, 2018

При попытке сохранить ресурс получаю ошибку
`Warning: file_get_contents(C:/OpenServer/domains/mysite/www/assets/lib/phpmorphy/dicts\common_aut..bin): failed to open stream: No such file or directory in C:\OpenServer\domains\mysite\www\assets\lib\phpmorphy\src\storage.php on line 138

Fatal error: Uncaught phpMorphy_Exception: Cant read C:/OpenServer/domains/mysite/www/assets/lib/phpmorphy/dicts\common_aut..bin file in C:\OpenServer\domains\mysite\www\assets\lib\phpmorphy\src\storage.php:139 Stack trace: #0 C:\OpenServer\domains\mysite\www\assets\lib\phpmorphy\src\storage.php(34): phpMorphy_Storage_Mem->open('C:/OpenServer/d...') #1 C:\OpenServer\domains\mysite\www\assets\lib\phpmorphy\src\storage.php(209): phpMorphy_Storage->__construct('C:/OpenServer/d...') #2 C:\OpenServer\domains\mysite\www\assets\lib\phpmorphy\src\common.php(588): phpMorphy_Storage_Factory->open('mem', 'C:/OpenServer/d...', false) #3 C:\OpenServer\domains\mysite\www\assets\lib\phpmorphy\src\common.php(644): phpMorphy->initNewStyle(Object(phpMorphy_FilesBundle), Array) #4 C:\OpenServer\domains\mysite\www\assets\lib\phpmorphy\src\common.php(194): phpMorphy->initOldStyle(Object(phpMorphy_FilesBundle), Array) #5 C:\OpenServer\domains\mysite\www\assets\plugins\evoSearch\plugin.class.php(76): phpMorphy->__constr in C:\OpenServer\domains\mysite\www\assets\lib\phpmorphy\src\storage.php on line 139

Версия EVO |   | 1.4.1
PHP 7.1

@webber12
Copy link
Owner

webber12 commented Mar 5, 2018

А сама папка assets/lib/phpmorphy/ скачалась?

@stasled
Copy link
Author

stasled commented Mar 5, 2018

Папка phpmorphy с файлами есть. Я так понимаю должны подключаться файлы common_aut.en_en.bin либо common_aut.ru_ru.bin (они есть в C:\OpenServer\domains\mysite\www\assets\lib\phpmorphy\dicts), а поиск пытается подключить common_aut..bin, т.е. локаль где-то теряется.

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