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

Abit

Newbie
  
  • Posts

    8
  • Joined

  • Last visited

Everything posted by Abit

  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. XYZ Ты прав заметил то, что заказ не работает не сразу. Я ковырялся в коде и по мере догадок и распечатываний переменных /system/engine/front.php сделал вывод, что ошибка возникает в коде нового /catalog/controller/common/seo_url.php его заменяет модуль Simple URL V1.0 но так и не понял что там делать.
  3. Так проблема решена ... причина была в модуле 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; }
  4. Версия ocstore_v0.1.7 + стоит модуль замены урлов, т.е. он убирает вот такие вещи "index.php?route="
  5. Люди у меня такая проблема. У хочу на своем магазине использовать робокассу, в тестовом после проверок у меня в поле Уведомление о платеже выходит ошибка <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 Что делать в коде ковырялся так и не понял в чем причина.
  6. Люди у меня такой вопрос как то можно перенести переменные из 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.