Перейти к публикации
Поиск в
  • Дополнительно...
Искать результаты, содержащие...
Искать результаты в...

Pervago

Новичок
  
  • Публикаций

    48
  • Зарегистрирован

  • Посещение

Посетители профиля

Блок последних посетителей выключен и не отображается другим пользователям.

Достижения Pervago

Contributor

Contributor (5/14)

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

Последние медали

0

Репутация

  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 видны не подскажите?
×
×
  • Создать...

Важная информация

На нашем сайте используются файлы cookie и происходит обработка некоторых персональных данных пользователей, чтобы улучшить пользовательский интерфейс. Чтобы узнать для чего и какие персональные данные мы обрабатываем перейдите по ссылке. Если Вы нажмете «Я даю согласие», это означает, что Вы понимаете и принимаете все условия, указанные в этом Уведомлении о Конфиденциальности.