Jump to content
Sign in to follow this  
venik

[Решено {config.php}] Ошибки в админке сайта.

Recommended Posts

При заходе в админку сверху выходят ошибки, версия магазина 1.5.4, ошибки на работу вроде бы никак не влияют. На локальном денвере все было отлично, проблема появилась после переноса на хостинг.

 

Что делал:

1) Полностью почистил кеш из папки system/cahe

2) Назначил права 777 на папки:

image/

image/cache

/image/data/

system/cache/

system/logs/

download/

config.php

admin/config.php

 

Вот что пишет в error.txt

PHP Warning:  fopen(/home/srv41491/htdocs/amber/cache/test): failed to open stream: No such file or directory in /home/srv41491/htdocs/amber/admin/controller/common/home.php on line 82
PHP Warning:  fwrite() expects parameter 1 to be resource, boolean given in /home/srv41491/htdocs/amber/admin/controller/common/home.php on line 84
PHP Warning:  fclose() expects parameter 1 to be resource, boolean given in /home/srv41491/htdocs/amber/admin/controller/common/home.php on line 86
PHP Warning:  sprintf(): Too few arguments in /home/srv41491/htdocs/amber/admin/controller/common/home.php on line 89
PHP Warning:  fopen(/home/srv41491/htdocs/amber/cache/cache.store.1382179143): failed to open stream: No such file or directory in /home/srv41491/htdocs/amber/system/library/cache.php on line 32
PHP Warning:  fwrite() expects parameter 1 to be resource, boolean given in /home/srv41491/htdocs/amber/system/library/cache.php on line 34
PHP Warning:  fclose() expects parameter 1 to be resource, boolean given in /home/srv41491/htdocs/amber/system/library/cache.php on line 36

И еще проблема при заходе а настройки>система:

SyntaxError: JSON.parse: unexpected character

OK

<b>Warning</b>: fopen(/home/srv41491/htdocs/amber/cache/cache.zone.176.1382180432): failed to open stream: No such file or directory in <b>/home/srv41491/htdocs/amber/system/library/cache.php</b> on line <b>32</b><b>Warning</b>: fwrite() expects parameter 1 to be resource, boolean given in <b>/home/srv41491/htdocs/amber/system/library/cache.php</b> on line <b>34</b><b>Warning</b>: fclose() expects parameter 1 to be resource, boolean given in <b>/home/srv41491/htdocs/amber/system/library/cache.php</b> on line <b>36</b>{"country_id":"176","name":"\u0420\u043e\u0441\u0441\u0438\u0439\u0441\u043a\u0430\u044f \u0424\u0435\u0434\u0435\u0440\u0430\u0446\u0438\u044f","iso_code_2":"RU","iso_code_3":"RUS","address_format":"","postcode_required":"1","zone":[{"zone_id":"2726","country_id":"176","name":"\u0410\u043b\u0442\u0430\u0439\u0441\u043a\u0438\u0439 \u043a\u0440\u0430\u0439","code":"ALT","status":"1"},{"zone_id":"2729","country_id":"176","name":"\u0410\u043c\u0443\u0440\u0441\u043a\u0430\u044f \u043e\u0431\u043b\u0430\u0441\u0442\u044c","code":"AMU","status":"1"},{"zone_id":"2724","country_id":"176","name":"\u0410\u0440\u0445\u0430\u043d\u0433\u0435\u043b\u044c\u0441\u043a\u0430\u044f \u043e\u0431\u043b\u0430\u0441\u0442\u044c","code":"ARK","status":"1"},{"zone_id":"2725","country_id":"176","name":"\u0410\u0441\u0442\u0440\u0430\u0445\u0430\u043d\u0441\u043a\u0430\u044f \u043e\u0431\u043b\u0430\u0441\u0442\u044c","code":"AST","status":"1"},{"zone_id":"2727","country_id":"176","name":"\u0411\u0435\u043b\u0433\u043e\u0440\u043e\u0434\u0441\u043a\u0430\u044f \u043e\u0431\u043b\u0430\u0441\u0442\u044c","code":"BEL","status":"1"},{"zone_id":"2730","country_id":"176","name":"\u0411\u0440\u044f\u043d\u0441\u043a\u0430\u044f \u043e\u0431\u043b\u0430\u0441\u0442\u044c","code":"BRY","status":"1"},{"zone_id":"2799","country_id":"176","name":"\u0412\u043b\u0430\u0434\u0438\u043c\u0438\u0440\u0441\u043a\u0430\u044f \u043e\u0431\u043b\u0430\u0441\u0442\u044c","code":"VLA","status":"1"},{"zone_id":"2801","country_id":"176","name":"\u0412\u043e\u043b\u0433\u043e\u0433\u0440\u0430\u0434\u0441\u043a\u0430\u044f \u043e\u0431\u043b\u0430\u0441\u0442\u044c","code":"VGG","status":"1"},{"zone_id":"2802","country_id":"176","name":"\u0412\u043e\u043b\u043e\u0433\u043e\u0434\u0441\u043a\u0430\u044f \u043e\u0431\u043b\u0430\u0441\u0442\u044c","code":"VLG","status":"1"},{"zone_id":"2803","country_id":"176","name":"\u0412\u043e\u0440\u043e\u043d\u0435\u0436\u0441\u043a\u0430\u044f \u043e\u0431\u043b\u0430\u0441\u0442\u044c","code":"VOR","status":"1"},{"zone_id":"2728","country_id":"176","name":"\u0415\u0432\u0440\u0435\u0439\u0441\u043a\u0430\u044f \u0410\u041e","code":"YEV","status":"1"},{"zone_id":"2734","country_id":"176","name":"\u0417\u0430\u0431\u0430\u0439\u043a\u0430\u043b\u044c\u0441\u043a\u0438\u0439 \u043a\u0440\u0430\u0439","code":"ZAB","status":"1"},{"zone_id":"2741","country_id":"176","name":"\u0418\u0432\u0430\u043d\u043e\u0432\u0441\u043a\u0430\u044f \u043e\u0431\u043b\u0430\u0441\u0442\u044c","code":"IVA","status":"1"},{"zone_id":"2740","country_id":"176","name":"\u0418\u0440\u043a\u0443\u0442\u0441\u043a\u0430\u044f \u043e\u0431\u043b\u0430\u0441\u0442\u044c","code":"IRK","status":"1"},{"zone_id":"2743","country_id":"176","name":"\u041a\u0430\u043b\u0438\u043d\u0438\u043d\u0433\u0440\u0430\u0434\u0441\u043a\u0430\u044f \u043e\u0431\u043b\u0430\u0441\u0442\u044c","code":"KGD","status":"1"},{"zone_id":"2744","country_id":"176","name":"\u041a\u0430\u043b\u0443\u0436\u0441\u043a\u0430\u044f \u043e\u0431\u043b\u0430\u0441\u0442\u044c","code":"KLU","status":"1"},{"zone_id":"2775","country_id":"176","name":"\u041a\u0430\u043c\u0447\u0430\u0442\u0441\u043a\u0438\u0439 \u043a\u0440\u0430\u0439","code":"KAM","status":"1"},{"zone_id":"2733","country_id":"176","name":"\u041a\u0430\u0440\u0430\u0447\u0430\u0435\u0432\u043e-\u0427\u0435\u0440\u043a\u0435c\u0441\u0438\u044f","code":"KC","status":"1"},{"zone_id":"2747","country_id":"176","name":"\u041a\u0435\u043c\u0435\u0440\u043e\u0432\u0441\u043a\u0430\u044f \u043e\u0431\u043b\u0430\u0441\u0442\u044c","code":"KEM","status":"1"},{"zone_id":"2804","country_id":"176","name":"\u041a\u0438\u0440\u043e\u0432\u0441\u043a\u0430\u044f \u043e\u0431\u043b\u0430\u0441\u0442\u044c","code":"KIR","status":"1"},{"zone_id":"2750","country_id":"176","name":"\u041a\u043e\u0441\u0442\u0440\u043e\u043c\u0441\u043a\u0430\u044f \u043e\u0431\u043b\u0430\u0441\u0442\u044c","code":"KOS","status":"1"},{"zone_id":"2751","country_id":"176","name":"\u041a\u0440\u0430\u0441\u043d\u043e\u0434\u0430\u0440\u0441\u043a\u0438\u0439 \u043a\u0440\u0430\u0439","code":"KDA","status":"1"},{"zone_id":"2752","country_id":"176","name":"\u041a\u0440\u0430\u0441\u043d\u043e\u044f\u0440\u0441\u043a\u0438\u0439 \u043a\u0440\u0430\u0439","code":"KYA","status":"1"},{"zone_id":"2754","country_id":"176","name":"\u041a\u0443\u0440\u0433\u0430\u043d\u0441\u043a\u0430\u044f \u043e\u0431\u043b\u0430\u0441\u0442\u044c","code":"KGN","status":"1"},{"zone_id":"2755","country_id":"176","name":"\u041a\u0443\u0440\u0441\u043a\u0430\u044f \u043e\u0431\u043b\u0430\u0441\u0442\u044c","code":"KRS","status":"1"},{"zone_id":"2735","country_id":"176","name":"\u041b\u0435\u043d\u0438\u043d\u0433\u0440\u0430\u0434\u0441\u043a\u0430\u044f \u043e\u0431\u043b\u0430\u0441\u0442\u044c","code":"LEN","status":"1"},{"zone_id":"2757","country_id":"176","name":"\u041b\u0438\u043f\u0435\u0446\u043a\u0430\u044f \u043e\u0431\u043b\u0430\u0441\u0442\u044c","code":"LIP","status":"1"},{"zone_id":"2758","country_id":"176","name":"\u041c\u0430\u0433\u0430\u0434\u0430\u043d\u0441\u043a\u0430\u044f \u043e\u0431\u043b\u0430\u0441\u0442\u044c","code":"MAG","status":"1"},{"zone_id":"2761","country_id":"176","name":"\u041c\u043e\u0441\u043a\u0432\u0430","code":"MOW","status":"1"},{"zone_id":"2722","country_id":"176","name":"\u041c\u043e\u0441\u043a\u043e\u0432\u0441\u043a\u0430\u044f \u043e\u0431\u043b\u0430\u0441\u0442\u044c","code":"MOS","status":"1"},{"zone_id":"2762","country_id":"176","name":"\u041c\u0443\u0440\u043c\u0430\u043d\u0441\u043a\u0430\u044f \u043e\u0431\u043b\u0430\u0441\u0442\u044c","code":"MUR","status":"1"},{"zone_id":"2764","country_id":"176","name":"\u041d\u0435\u043d\u0435\u0446\u043a\u0438\u0439 \u0410\u041e","code":"NEN","status":"1"},{"zone_id":"2766","country_id":"176","name":"\u041d\u0438\u0436\u0435\u0433\u043e\u0440\u043e\u0434\u0441\u043a\u0430\u044f \u043e\u0431\u043b\u0430\u0441\u0442\u044c","code":"NIZ","status":"1"},{"zone_id":"2767","country_id":"176","name":"\u041d\u043e\u0432\u0433\u043e\u0440\u043e\u0434\u0441\u043a\u0430\u044f \u043e\u0431\u043b\u0430\u0441\u0442\u044c","code":"NGR","status":"1"},{"zone_id":"2768","country_id":"176","name":"\u041d\u043e\u0432\u043e\u0441\u0438\u0431\u0438\u0440\u0441\u043a\u0430\u044f \u043e\u0431\u043b\u0430\u0441\u0442\u044c","code":"NVS","status":"1"},{"zone_id":"2769","country_id":"176","name":"\u041e\u043c\u0441\u043a\u0430\u044f \u043e\u0431\u043b\u0430\u0441\u0442\u044c","code":"OMS","status":"1"},{"zone_id":"2771","country_id":"176","name":"\u041e\u0440\u0435\u043d\u0431\u0443\u0440\u0433\u0441\u043a\u0430\u044f \u043e\u0431\u043b\u0430\u0441\u0442\u044c","code":"ORE","status":"1"},{"zone_id":"2770","country_id":"176","name":"\u041e\u0440\u043b\u043e\u0432\u0441\u043a\u0430\u044f \u043e\u0431\u043b\u0430\u0441\u0442\u044c","code":"ORL","status":"1"},{"zone_id":"2773","country_id":"176","name":"\u041f\u0435\u043d\u0437\u0435\u043d\u0441\u043a\u0430\u044f \u043e\u0431\u043b\u0430\u0441\u0442\u044c","code":"PNZ","status":"1"},{"zone_id":"2774","country_id":"176","name":"\u041f\u0435\u0440\u043c\u0441\u043a\u0438\u0439 \u043a\u0440\u0430\u0439","code":"PER","status":"1"},{"zone_id":"2800","country_id":"176","name":"\u041f\u0440\u0438\u043c\u043e\u0440\u0441\u043a\u0438\u0439 \u043a\u0440\u0430\u0439","code":"PRI","status":"1"},{"zone_id":"2777","country_id":"176","name":"\u041f\u0441\u043a\u043e\u0432\u0441\u043a\u0430\u044f \u043e\u0431\u043b\u0430\u0441\u0442\u044c","code":"PSK","status":"1"},{"zone_id":"2760","country_id":"176","name":"\u0420\u0435\u0441\u043f\u0443\u0431\u043b\u0438\u043a\u0430 \u0410\u0434\u044b\u0433\u0435\u044f","code":"AD","status":"1"},{"zone_id":"2738","country_id":"176","name":"\u0420\u0435\u0441\u043f\u0443\u0431\u043b\u0438\u043a\u0430 \u0410\u043b\u0442\u0430\u0439","code":"AL","status":"1"},{"zone_id":"2794","country_id":"176","name":"\u0420\u0435\u0441\u043f\u0443\u0431\u043b\u0438\u043a\u0430 \u0411\u0430\u0448\u043a\u043e\u0440\u0442\u043e\u0441\u0442\u0430\u043d","code":"BA","status":"1"},{"zone_id":"2796","country_id":"176","name":"\u0420\u0435\u0441\u043f\u0443\u0431\u043b\u0438\u043a\u0430 \u0411\u0443\u0440\u044f\u0442\u0438\u044f","code":"BU","status":"1"},{"zone_id":"2759","country_id":"176","name":"\u0420\u0435\u0441\u043f\u0443\u0431\u043b\u0438\u043a\u0430 \u0414\u0430\u0433\u0435\u0441\u0442\u0430\u043d","code":"DA","status":"1"},{"zone_id":"2765","country_id":"176","name":"\u0420\u0435\u0441\u043f\u0443\u0431\u043b\u0438\u043a\u0430 \u0418\u043d\u0433\u0443\u0448\u0435\u0442\u0438\u044f","code":"IN","status":"1"},{"zone_id":"2763","country_id":"176","name":"\u0420\u0435\u0441\u043f\u0443\u0431\u043b\u0438\u043a\u0430 \u041a\u0430\u0431\u0430\u0440\u0434\u0438\u043d\u043e-\u0411\u0430\u043b\u043a\u0430\u0440\u0438\u044f","code":"KB","status":"1"},{"zone_id":"2736","country_id":"176","name":"\u0420\u0435\u0441\u043f\u0443\u0431\u043b\u0438\u043a\u0430 \u041a\u0430\u043b\u043c\u044b\u043a\u0438\u044f","code":"KL","status":"1"},{"zone_id":"2776","country_id":"176","name":"\u0420\u0435\u0441\u043f\u0443\u0431\u043b\u0438\u043a\u0430 \u041a\u0430\u0440\u0435\u043b\u0438\u044f","code":"KR","status":"1"},{"zone_id":"2787","country_id":"176","name":"\u0420\u0435\u0441\u043f\u0443\u0431\u043b\u0438\u043a\u0430 \u041a\u043e\u043c\u0438","code":"KO","status":"1"},{"zone_id":"2808","country_id":"176","name":"\u0420\u0435\

Помогите пожайлуста!

Share this post


Link to post
Share on other sites

Скорее всего у вас не правильно указан путь для константы 'DIR_CACHE' в admin/config.php

  • +1 1

Share this post


Link to post
Share on other sites

Скорее всего у вас не правильно указан путь для константы 'DIR_CACHE' в admin/config.php

 

Спасибо огромное! Действительно была там ошибка, Ух, целый день бился над проблемой, спасибо Вам еще раз, удачи во всех начинаниях!

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
You are posting as a guest. If you have an account, please sign in.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×

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.