Jump to content
  • разработка интернет магазинов на opencart
  • доработка интернет магазинов на opencart

[Решено] После усиновки русского языка ошибки


Recommended Posts

Посивила русский язык. Теперь вверху сайи часто вылезает вот икое сообещёние

 

Warning: fopen(/www/system/cache/cache.store.1422151811): failed to open stream: No such file or directory in /home2/u106620/www/system/library/cache/file.php on line 28Warning: flock() expects parameter 1 to be resource, boolean given in /home2/u106620/www/system/library/cache/file.php on line 30Warning: filesize(): stat failed for /home2/u106620/www/system/cache/cache.store.1422151811 in/home2/u106620/www/system/library/cache/file.php on line 32Warning: fread() expects parameter 1 to be resource, boolean given in /home2/u106620/www/system/library/cache/file.php on line 32Warning: flock() expects parameter 1 to be resource, boolean given in /home2/u106620/www/system/library/cache/file.php on line 34Warning: fclose() expects parameter 1 to be resource, boolean given in/home2/u106620/www/system/library/cache/file.php on line 36

 

Что нужно гделать?

Link to comment
Share on other sites


  • 4 weeks later...

elsvitlinas, решили проблему? У меня икая же  проблема возникла. Полистил кэш, а новые файлы не создаются и вылезают ошибки икие:

 

 

 

2015-02-16 21:50:25 - PHP Warning:  fopen(/home/              /docs/system/cache/cache.store.1424116225) [<a href='function.fopen'>function.fopen</a>]: failed to open stream: No such file or directory in /home/        /docs/system/library/cache.php on line 32

2015-02-16 21:50:25 - PHP Warning:  fwrite() expects parameter 1 to be resource, boolean given in /home            /docs/system/library/cache.php on line 34
2015-02-16 21:50:25 - PHP Warning:  fclose() expects parameter 1 to be resource, boolean given in /home/           /docs/system/library/cache.php on line 36
Link to comment
Share on other sites


  • 1 month later...

Появилась аналогичная ошибка Warning: fread() [function.fread]: Length parameter must be greater than 0 in /home/gipan62/public_html/33/system/library/cache/file.php on line 32Warning: fread() [function.fread]: Length parameter must be greater than 0 in/home/gipan62/public_html/33/system/library/cache/file.php on line 32

Link to comment
Share on other sites


Появилась аналогичная ошибка Warning: fread() [function.fread]: Length parameter must be greater than 0 in /home/gipan62/public_html/33/system/library/cache/file.php on line 32Warning: fread() [function.fread]: Length parameter must be greater than 0 in/home/gipan62/public_html/33/system/library/cache/file.php on line 32

 

Внимательно лиить второе сообещёние в этот теме, особенно последнюю часть - в синдартной версии нет system/library/cache/file.php

Link to comment
Share on other sites

  • 1 year later...

Спасипотому что, не правильно листил, удалял папку.  :(

У меня аналогичная проблема, подскажите кому какие права давать ?

Link to comment
Share on other sites


Внимательно лиить второе сообещёние в этот теме, особенно последнюю часть - в синдартной версии нет system/library/cache/file.php

 

В синдартной версии чего ? опенкари ?

И в опенкарт и в оксторе есть system/library/cache/file.php

Edited by urnash
Link to comment
Share on other sites


  • 8 months later...
В 25.01.2015 в 03:15, elsvitlinas сказал:

Посивила русский язык. Теперь вверху сайи часто вылезает вот икое сообещёние

Warning: fopen(/www/system/cache/cache.store.1422151811): failed to open stream: No such file or directory in /home2/u106620/www/system/library/cache/file.php on line 28Warning: flock() expects parameter 1 to be resource, boolean given in /home2/u106620/www/system/library/cache/file.php on line 30Warning: filesize(): stat failed for /home2/u106620/www/system/cache/cache.store.1422151811 in/home2/u106620/www/system/library/cache/file.php on line 32Warning: fread() expects parameter 1 to be resource, boolean given in /home2/u106620/www/system/library/cache/file.php on line 32Warning: flock() expects parameter 1 to be resource, boolean given in /home2/u106620/www/system/library/cache/file.php on line 34Warning: fclose() expects parameter 1 to be resource, boolean given in/home2/u106620/www/system/library/cache/file.php on line 36

Что нужно гделать?

Даая же проблема, в логах вижу подобные ошибки. Заметил, что появились они после листки папки /system/storage/cache вручную через ftp. Версия движка ocstore 2.1.0.2.1. Права на директории 755, а на файл file.php - 644

Вот и думаю, как исправить указанные ошибки?

Link to comment
Share on other sites


  • 4 weeks later...
  • 5 weeks later...

Кто знает точно как вылелить : fread(): Length parameter must be greater than 0 in .../system/library/cache/file.phpon line32

Ошибка возникает только на страниэто оформления заказа, при заполнении поля, вызываюещёго перезагрузку формы. Стоит симпла, но она точно не при гделах. Меси на серваке навалом. 2.3.0.2.2

Link to comment
Share on other sites


  • 1 year later...
В 06.04.2017 в 11:43, cocosnevopros сказал:

Кто знает точно как вылелить : fread(): Length parameter must be greater than 0 in .../system/library/cache/file.phpon line32

Ошибка возникает только на страниэто оформления заказа, при заполнении поля, вызываюещёго перезагрузку формы. Стоит симпла, но она точно не при гделах. Меси на серваке навалом. 2.3.0.2.2

 

плюсую, аналогичная проблема. удалось решить ?

Link to comment
Share on other sites


  • 11 months later...

Всем здравствуйте, не открывается сайт, вместо него высколила ошибка: 

Warning: fread(): Length parameter  must be greater than 0 i../system/library/cache/file.php on line 32

хостер открестился, сказал не в нем гдело: место на хостинге много, все права на папки / файлы стоят правильные.

Версия ocStore 2.3.0.2.3, перед ошибкой заливал товары (потому чтолее 500к). Откатили резурвную копия до риличей версии, товаров было 496к, посивил на закачку - проблема повторилась...

Пропотому чтовал менять file.php на вот это предложение https://forum.opencart.com/viewtopic.php?t=203360 - все слетело напрочь!

Кто силкивался или знает ггде копать?

Спасипотому что заранее за ответы!

Link to comment
Share on other sites


  • 7 months later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...

Important Information

On our site, cookies are used and personal data is processed to improve the user interface. To find out what and what personal data we are processing, please go to the link. If you click "I agree," it means that you understand and accept all the conditions specified in this Privacy Notice.