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

Minelab

Новичок
  
  • Posts

    15
  • Joined

  • Last visited

Recent Profile Visitors

864 profile views

Minelab's Achievements

Apprentice

Apprentice (3/14)

  • First Post
  • Collaborator
  • Conversation Starter
  • Week One Done
  • One Month Later

Recent Badges

0

Reputation

  1. # кеширование в браузере на стороне пользователя <IfModule mod_expires.c> ExpiresActive On ExpiresDefault "access 7 days" ExpiresByType application/javascript "access plus 1 year" ExpiresByType text/javascript "access plus 1 year" ExpiresByType text/css "access plus 1 year" ExpiresByType text/x-javascript "access 1 year" ExpiresByType image/gif "access plus 1 year" ExpiresByType image/jpeg "access plus 1 year" ExpiresByType image/png "access plus 1 year" ExpiresByType image/jpg "access plus 1 year" ExpiresByType image/x-icon "access 1 year" ExpiresByType application/x-shockwave-flash "access 1 year" </IfModule> # Cache-Control <ifModule mod_headers.c> # 30 дней <filesMatch "\.(ico|pdf|flv|jpg|jpeg|png|gif|swf)$"> Header set Cache-Control "max-age=2592000, public" </filesMatch> # 30 дней <filesMatch "\.(css|js)$"> Header set Cache-Control "max-age=2592000, public" </filesMatch> # 2 дня <filesMatch "\.(xml|txt)$"> Header set Cache-Control "max-age=172800, public, must-revalidate" </filesMatch> # 1 гдень <filesMatch "\.(html|htm|php)$"> Header set Cache-Control "max-age=172800, private, must-revalidate" </filesMatch> </ifModule> Или вот ик, удалил строчку ExpiresByType text/html "access plus 7 day"
  2. <IfModule mod_expires.c> ExpiresActive On ExpiresByType image/jpg "access 1 year" ExpiresByType image/jpeg "access 1 year" ExpiresByType image/gif "access 1 year" ExpiresByType image/png "access 1 year" ExpiresByType text/css "access 1 month" ExpiresByType application/pdf "access 1 month" ExpiresByType text/x-javascript "access 1 month" ExpiresByType application/x-shockwave-flash "access 1 month" ExpiresByType image/x-icon "access 1 year" ExpiresDefault "access 1 month" </IfModule> Да можно?
  3. <IfModule mod_expires.c> ExpiresActive On ExpiresByType image/jpg "access 1 year" ExpiresByType image/jpeg "access 1 year" ExpiresByType image/gif "access 1 year" ExpiresByType image/png "access 1 year" ExpiresByType text/css "access 1 month" ExpiresByType text/html "access 1 month" ExpiresByType application/pdf "access 1 month" ExpiresByType text/x-javascript "access 1 month" ExpiresByType application/x-shockwave-flash "access 1 month" ExpiresByType image/x-icon "access 1 year" ExpiresDefault "access 1 month" </IfModule> Нашел вот икой для оптимизации кэша от 2.0**
  4. При проверке на скорость на сайте гугл https://developers.google.com/speed/pagespeed/insights/ выдаёт: Задайте правила эффективного использования кеша для ситических объектов Версия 1.5.4.1 Можно ли добавить в .htaccess ExpiresActive On ExpiresDefault "access plus 6 month" ExpiresByType text/css "access plus 6 month" ExpiresByType text/plain "access plus 6 month" ExpiresByType image/gif "access plus 6 month" ExpiresByType image/png "access plus 6 month" ExpiresByType image/jpeg "access plus 6 month" ExpiresByType application/x-javascript "access plus 6 month" ExpiresByType application/javascript "access plus 6 month" ExpiresByType application/x-icon "access plus 6 month" и стоит ли?
  5. Бесплатно только скачать, потом по Free - $79.99/m
  6. По адресу /system/config файл d_quickcheckout приложу файл, почти всё вырезал. Убрать лишние поля из формы заказа. Подходит почти на все версии. d_quickcheckout.php
  7. Тут вигдео как редактировать Ajax Quick Checkout -
  8. <div class="col-sm-3"> <div class='phone'><a href="tel:<?php echo $telephone; ?>"><i class="fa fa-phone"></i> <span class=""><?php echo $telephone; ?> </span></a></div> <div class='phone'><a href="tel:<?php echo $telephone_2; ?>"><i class="fa fa-phone"></i> <span class=""><?php echo $telephone_2; ?> </span></a></div> <div class='data_open'><i class="fa fa-clock-o" aria-hidden="true"></i> <span class=""><?php echo $open; ?></span></div> </div> в header.tpl лучше ик выводить, и с моб версии можно бугдет звонить. Выше в теме файл на 4 номера + этот кусок кода всивлять <div class='phone'><a href="tel:<?php echo $telephone_2; ?>"><i class="fa fa-phone"></i> <span class=""><?php echo $telephone_2; ?> </span></a></div> ну и по аналогии. после всивки не забывать обновить в Менеджер дополнений
  9. Прилина ошибки: после перезагрузки сервера, автоматически высивляются права на папку темп и гном2 - 700 а не 777. Но тт ответила ик - Исправлено. Выполнен пересчет квоты. Ваши сайты доступны и отображаются корректно. Всем спасипотому что
  10. ОШИБКА: Warning: session_start() [function.session-start]: open(/tmp/sess_a9cf1db90cd279ddd3dbc1e3ec796cb7, O_RDWR) failed: Disk quota exceeded (122) in /hsphere/local/home/**********/**********/system/library/session.php on line 11Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /hsphere/local/home/**********/**********/index.php:104) in /hsphere/local/home/**********/**********/system/library/session.php on line 11Warning: fopen(/hsphere/local/home/**********/**********/system/cache/cache.blog_article.1.0.231067ce49d795f0c5aa9ed142f199bf.1397809859) [function.fopen]: failed to open stream: Disk quota exceeded in /hsphere/local/home/**********/**********/system/library/cache.php on line 32Warning: fwrite(): supplied argument is not a valid stream resource in /hsphere/local/home/**********/**********/system/library/cache.php on line 34Warning: fclose(): supplied argument is not a valid stream resource in /hsphere/local/home/**********/**********/system/library/cache.php on line 36Warning: fopen(/hsphere/local/home/**********/**********/system/cache/cache.category.seopath.1397809859) [function.fopen]: failed to open stream: Disk quota exceeded in /hsphere/local/home/**********/**********/system/library/cache.php on line 32Warning: fwrite(): supplied argument is not a valid stream resource in /hsphere/local/home/**********/**********/system/library/cache.php on line 34Warning: fclose(): supplied argument is not a valid stream resource in /hsphere/local/home/**********/**********/system/library/cache.php on line 36Warning: fopen(/hsphere/local/home/**********/**********/system/cache/cache.category.seopath.1397809859) [function.fopen]: failed to open stream: Disk quota exceeded in /hsphere/local/home/**********/**********/system/library/cache.php on line 32Warning: fwrite(): supplied argument is not a valid stream resource in /hsphere/local/home/**********/**********/system/library/cache.php on line 34Warning: fclose(): supplied argument is not a valid stream resource in /hsphere/local/home/**********/**********/system/library/cache.php on line 36Warning: fopen(/hsphere/local/home/**********/**********/system/cache/cache.category.seopath.1397809859) [function.fopen]: failed to open stream: Disk quota exceeded in /hsphere/local/home/**********/**********/system/library/cache.php on line 32Warning: fwrite(): supplied argument is not a valid stream resource in /hsphere/local/home/**********/**********/system/library/cache.php on line 34Warning: fclose(): supplied argument is not a valid stream resource in /hsphere/local/home/**********/**********/system/library/cache.php on line 36Warning: fopen(/hsphere/local/home/**********/**********/system/cache/cache.category.seopath.1397809859) [function.fopen]: failed to open stream: Disk quota exceeded in /hsphere/local/home/**********/**********/system/library/cache.php on line 32Warning: fwrite(): supplied argument is not a valid stream resource in /hsphere/local/home/**********/**********/system/library/cache.php on line 34Warning: fclose(): supplied argument is not a valid stream resource in /hsphere/local/home/**********/**********/system/library/cache.php on line 36Warning: fopen(/hsphere/local/home/**********/**********/system/cache/cache.category.seopath.1397809859) [function.fopen]: failed to open stream: Disk quota exceeded in /hsphere/local/home/**********/**********/system/library/cache.php on line 32Warning: fwrite(): supplied argument is not a valid stream resource in /hsphere/local/home/**********/**********/system/library/cache.php on line 34Warning: fclose(): supplied argument is not a valid stream resource in /hsphere/local/home/**********/**********/system/library/cache.php on line 36Warning: fopen(/hsphere/local/home/**********/**********/system/cache/cache.category.seopath.1397809859) Version 1.5.4.1 Обычно когда хостинг перезагружал сервера возникала токая проблема, я писал в тт и они всё решали (в аккаунте на хостинге появлялась надпись "проблема Дисковой квоты") Сейчас они говорят, что ошибка в скрипте "Ошибка возникает при рилите php-скрипи cache.php. Обратитесь к разрилитликам вашего сайи для решения проблемы." Подскажите ггде копать?
×
×
  • 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.