Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

Pervago

Newbie
  
  • Posts

    48
  • Joined

  • Last visited

Everything posted by Pervago

  1. Лишние убрал и поставил где нужно Про пути понятно, они прописаны в html, и если сразу в адресной строке вводить сайт.ru/s , то всё открывается и загружается нормально, но если только сайт.ru , то не подхватываются картинки и стили. Смотрю их пути и они пытаются подгрузится из корня.
  2. Поставил эти значения в низ htaccess. Это помогло, но не полностью. Загружается индексный файл как и нужно из папки "s" Но отображается всё некорректно так как не подхватились стили и картинки. Они у меня вложены тоже в папку "s". А они пытаются загрузится из корневой папки. Можно ли как-то это тоже поправить в htaccess? # 1.To use URL Alias you need to be running apache with mod_rewrite enabled. # 2. In your opencart directory rename htaccess.txt to .htaccess. # For any support issues please visit: http://www.opencart.com Options +FollowSymlinks # Prevent Directoy listing Options -Indexes # Prevent Direct Access to files <FilesMatch "(?i)((\.tpl|.twig|\.ini|\.log|(?<!robots)\.txt))"> Require all denied ## For apache 2.2 and older, replace "Require all denied" with these two lines : # Order deny,allow # Deny from all </FilesMatch> # SEO URL Settings RewriteEngine On # If your opencart installation does not run on the main web folder make sure you folder it does run in ie. / becomes /shop/ RewriteBase / RewriteRule ^sitemap.xml$ index.php?route=extension/feed/google_sitemap [L] RewriteRule ^googlebase.xml$ index.php?route=extension/feed/google_base [L] RewriteRule ^system/storage/(.*) index.php?route=error/not_found [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_URI} !.*\.(ico|gif|jpg|jpeg|png|js|css) RewriteRule ^([^?]*) index.php?_route_=$1 [L,QSA] ### Additional Settings that may need to be enabled for some servers ### Uncomment the commands by removing the # sign in front of it. ### If you get an "Internal Server Error 500" after enabling any of the following settings, restore the # as this means your host doesn't allow that. # 1. If your cart only allows you to add one item at a time, it is possible register_globals is on. This may work to disable it: # php_flag register_globals off # 2. If your cart has magic quotes enabled, This may work to disable it: # php_flag magic_quotes_gpc Off # 3. Set max upload file size. Most hosts will limit this and not allow it to be overridden but you can try # php_value upload_max_filesize 999M # 4. set max post size. uncomment this line if you have a lot of product options or are getting errors where forms are not saving all fields # php_value post_max_size 999M # 5. set max time script can take. uncomment this line if you have a lot of product options or are getting errors where forms are not saving all fields # php_value max_execution_time 200 # 6. set max time for input to be recieved. Uncomment this line if you have a lot of product options or are getting errors where forms are not saving all fields # php_value max_input_time 200 # 7. disable open_basedir limitations # php_admin_value open_basedir none RewriteRule ^/$ s/index.html [L] RewriteRule ^$ /s/index.html [L] RewriteRule ^/$ /s/index.html [L]
  3. При открытии /sitemap.xml появляется пустая страница
  4. Добрый день. Может кто подскажет, что я не так делаю?
  5. .htaccess даже если удаляю не меняется тоже. Хотя честно не знаю должно ли
  6. Переименовывал. Думал может куки и пробовал в другом браузере. не получается всё равно
  7. Ребят уже всё перепробовал (или видимо не всё), ничего не получается. Из .htaccess уже всё удалял и оставлял только этот код и все равно грузится стартовая магазина. Что я не так делаю?
  8. У меня в этом файле такое содержимое: {{ header }} <div id="common-home" class="container"> <div class="row">{{ column_left }} {% if column_left and column_right %} {% set class = 'col-sm-6' %} {% elseif column_left or column_right %} {% set class = 'col-sm-9' %} {% else %} {% set class = 'col-sm-12' %} {% endif %} <div id="content" class="{{ class }}">{{ content_top }}{{ content_bottom }}</div> {{ column_right }}</div> </div> {{ footer }} Каким образом можно изменить путь загружаемой страницы? Извиняюсь, просто не пойму
  9. Добрый вечер, извиняюсь за беспокойство. Не пойму как изменить стартовую страницу на другую (у меня расположена в отдельной папке и с расширением html). Пробовал через .htaccess.txt и там указывал DirectoryIndex s/index.html Не помогает и по прежнему запускается магазин В самом файле изначально такое содержимое # 1.To use URL Alias you need to be running apache with mod_rewrite enabled. # 2. In your opencart directory rename htaccess.txt to .htaccess. # For any support issues please visit: http://www.opencart.com Options +FollowSymlinks # Prevent Directoy listing Options -Indexes # Prevent Direct Access to files <FilesMatch "(?i)((\.tpl|.twig|\.ini|\.log|(?<!robots)\.txt))"> Require all denied ## For apache 2.2 and older, replace "Require all denied" with these two lines : # Order deny,allow # Deny from all </FilesMatch> # SEO URL Settings RewriteEngine On # If your opencart installation does not run on the main web folder make sure you folder it does run in ie. / becomes /shop/ RewriteBase / RewriteRule ^sitemap.xml$ index.php?route=extension/feed/google_sitemap [L] RewriteRule ^googlebase.xml$ index.php?route=extension/feed/google_base [L] RewriteRule ^system/storage/(.*) index.php?route=error/not_found [L] RewriteCond %{REQUEST_FILENAME} !-f Заранее спасибо RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_URI} !.*\.(ico|gif|jpg|jpeg|png|js|css) RewriteRule ^([^?]*) index.php?_route_=$1 [L,QSA] ### Additional Settings that may need to be enabled for some servers ### Uncomment the commands by removing the # sign in front of it. ### If you get an "Internal Server Error 500" after enabling any of the following settings, restore the # as this means your host doesn't allow that. # 1. If your cart only allows you to add one item at a time, it is possible register_globals is on. This may work to disable it: # php_flag register_globals off # 2. If your cart has magic quotes enabled, This may work to disable it: # php_flag magic_quotes_gpc Off # 3. Set max upload file size. Most hosts will limit this and not allow it to be overridden but you can try # php_value upload_max_filesize 999M # 4. set max post size. uncomment this line if you have a lot of product options or are getting errors where forms are not saving all fields # php_value post_max_size 999M # 5. set max time script can take. uncomment this line if you have a lot of product options or are getting errors where forms are not saving all fields # php_value max_execution_time 200 # 6. set max time for input to be recieved. Uncomment this line if you have a lot of product options or are getting errors where forms are not saving all fields # php_value max_input_time 200 # 7. disable open_basedir limitations # php_admin_value open_basedir none RewriteRule ^$ projects [L]
  10. Спасибо, что помогаете, но похоже я валенок :)) Сделал всё как написано в итоге у меня у самого стала такая картинка как на фото которое прикреплял. В итоге пока откатил назад. Не знаю что и делать. Но согласен с вами, что проблема с ssl
  11. Мужики, доброй ночи, если не жалко подскажите. Есть сайт: tver-zoo.ru У меня отображается нормально, но иногда выскакивала ошибка: 1) на соседнем компьютере выскакивает: ошибка 504 bad gateway ошибка со стороны apache (не всегда). (ФОТО прикрепил) 2) Я проверял на нескольких компьютерах и телефоне нормально, у клиента отображается сайт вообще коряво (ФОТО прикрепил) Спасибо за помощь
  12. у меня стоит шаблон Alista и правил код немного. Не подскажите какие файлы откатить чтобы при оформлении заказа было 6 пунктов (у меня сейчас 1,2,3,6), также почему-то не работает добавление способов оплаты и доставки.
  13. Отключил Simpla, теперь хоть видно поле для заполнения контактных данных. Но там много полей не нужных, вот я и решил воспользоваться Simpla, А толку 0 Но все равно теперь шаги почему-то 1,2,3 и сразу 6. как сделать чтобы были 4 и 5 видны не подскажите?
  14. Извиняюсь, не пойму как посмотреть Прикрепил скрин варианта оплаты. Делаю так, а при оформлении заказа не видно
  15. Спасибо большое, буду иметь ввиду. Но сейчас с другой проблемкой вожусь. Хочу оформление заказа настроить а ничего не получается. Где-то видимо накосячил. Не добавляются варианты оплаты, доставки и т.д. Хотя ничего серьезного не менял
  16. Потом добавляю варианты оплаты: Например оплата наличными, оплата при доставке и варианты не появляются. А Skril нормально появился. Не пойму.
  17. Понимаю, что где-то сам косячу. Не знаю, что не так только.
  18. Так выглядят настройки в админке.
  19. Все раввно не пойму. Вношу изменения, видно что кэш не причём, я добавляю доставку, оплату, контактные данные, а они не отображаются.
  20. Купил модуль Simple, установил, настроил. А на сайте по прежнему старая форма и ничего не меняется. Что делать не подскажите, просто никаких изменений при оформлении доставки не видно.
  21. Получилось. Извиняюсь за глупые вопросы. У меня дополнительный модуль ещё с настройками стоял.
  22. Добрый вечер. Буду признателен, если подскажите. В категориях нужно объединить левую колонку и центральную часть. В дизайн - макеты я с левой колонки всё убрал. Не знаю что ещё нужно сделать? У меня open cart 3.0.2 Заранее спасибо
×
×
  • 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.