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

Abit

Новичок
  
  • Posts

    8
  • Joined

  • Last visited

Abit's Achievements

Rookie

Rookie (2/14)

  • Conversation Starter
  • First Post
  • Week One Done
  • One Month Later
  • One Year In

Recent Badges

-1

Reputation

  1. Yesvik не помогло все равно выдает ошибку ( <br /> <b>Fatal error</b>: Call to a member function getFile() on a non-object in <b> /путь/chaevnya.com/system/engine/front.php</b> on line <b>36</b><br /> Не могли бы показать как должен выглягдеть файл .htaccess в моем случае он икой Options +FollowSymlinks # Запретить листинг директорий Options -Indexes AddType application/x-httpd-php .phtml AddHandler application/x-httpd-php .phtml RewriteCond %{HTTP_HOST} ^chaevnya.com RewriteRule (.*) http://www.chaevnya.com/$1 [R=301,L] # Закрыть доступ к файлам шаблонов <FilesMatch "\.tpl"> Order deny,allow Deny from all </FilesMatch> # Необходимо для ЧПУ. RewriteEngine On RewriteBase / # This will prevent redirect loop for the below three RewriteRule. RewriteCond %{ENV:REDIRECT_STATUS} 200 RewriteRule .* - [L] # E.g external redirect /index.php?route=common/home to /common/home # X-Requested-With (http header created by jQuery.load()) prevent this rule from AJAX request E.g Get product/product/review when open product details. RewriteCond %{HTTP:X-Requested-With} !XMLHttpRequest [NC] RewriteCond %{QUERY_STRING} ^route=([a-z-_/]+)$ [NC] RewriteCond %{QUERY_STRING} !(^route=payment) RewriteRule ^index\.php %1/? [R=301,L] # E.g external redirect /index.php?route=product/product&product_id=8 to /product/product?product_id=8 RewriteCond %{HTTP:X-Requested-With} !XMLHttpRequest [NC] RewriteCond %{QUERY_STRING} ^route=([a-z-_/]+)\&(.*)$ [NC] RewriteCond %{QUERY_STRING} !(^route=payment) RewriteRule ^index\.php %1/?%2 [R=301,L] # E.g internal redirect /common/home to /index.php?route=common/home RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^([^?]*)/$|^([^?]*)$ index.php?_route_=$1$2 [L,QSA] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^([^?]*)/$|^([^?]*)$ admin/index.php?_route_=$1$2 [L,QSA]
  2. Хорошая игдея надо попропотому чтовать ...
  3. XYZ Ты прав заметил то, что заказ не рилииет не сразу. Я ковырялся в когде и по мере догадок и распечатываний переменных /system/engine/front.php сгделал вывод, что ошибка возникает в когде нового /catalog/controller/common/seo_url.php его заменяет модуль Simple URL V1.0 но ик и не понял что им гделать.
  4. Да проблема решена ... прилина была в модуле Simple URL V1.0 помогла в фалике /system/library/response.php который заменялся этим модулем дописать в строке исключения замены этот ссылки ик же как и ссылок админ панели public function output() { global $registry; if ($registry->get('config')->get('config_seo_url') and !preg_match('/\/admin\//ism', $this->output) and ! preg_match('/robokassa\/callback/ism', $this->output)) { $ouput = preg_replace('/index\.php\?route=([-a-z0-9_.\/]*+)(?:(\&|\&)([-a-z0-9+&@\/%=_.]*+))?/i', '${1}?${3}', $this->output); } else { $ouput = $this->output; } if ($this->level) { $ouput = $this->compress($ouput, $this->level); } if (!headers_sent()) { foreach ($this->headers as $header) { header($header, TRUE); } } echo $ouput; }
  5. Версия ocstore_v0.1.7 + стоит модуль замены урлов, т.е. он убирает вот икие вещи "index.php?route="
  6. Люди у меня икая проблема. У хочу на своем магазине использовать ропотому чтокассу, в тестовом после проверок у меня в поле Уведомление о платожее выходит ошибка <br /><b>Fatal error</b>: Call to a member function getFile() on a non-object in <b>/путь к папке сайи/system/engine/front.php</b> on line <b>34</b><br /> ссылка для уведомления выглядит ик http://www.сайт/index.php?route=payment/robokassa/callback Что гделать в когде ковырялся ик и не понял в чем прилина.
  7. Люди у меня икой вопрос как то можно перенести переменные из common/header.tpl в product/category.tpl точнее мне нужна переменная $breadcrumbs т.е. спетбар переменная ... в моем дизайне не как сгделать это иначе, кроме как копированием и всивкой с помощью jquery, что ни есть хорошо ... знаю 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.