Jump to content
Sign in to follow this  
feo1717

Потеря структуры сайта после обновления

Recommended Posts

Добрый день. Поставил неоторые модификации, теперь снова пришел к серьезной ошибке - после обновления кэша модификаций сайт слетает до исходного кода (структура рушится полностью, нет человека-понятного дизайна). Спасает только бекап, до следующего обновления кэша.

Пробовал отключать модификации, что именно рушит сайт - непонятно.

Есть ли способ решить данную проблему? Подскажите пожалуйста

Share this post


Link to post
Share on other sites

Отключать по 1 модификации и смотреть. Смотреть лог ошибок

Share this post


Link to post
Share on other sites

@feo1717

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

еще хорошо б ошибки с логов и адрес сайта.

Share this post


Link to post
Share on other sites
13 часов назад, bitrixlviv сказал:

@feo1717

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

еще хорошо б ошибки с логов и адрес сайта.

Последние модификации поотключал и удалял по очереди. Проблема осталась. Странно, обычно помогало
Лог такой:
 

2017-04-20 23:23:32 - MOD: Modification Default
FILE: system/engine/action.php
REGEX: ~(require|include)(_once)?\(([^)]+)~
LINE: 39
FILE: system/engine/loader.php
REGEX: ~(require|include)(_once)?\(([^)]+)~
LINE: 20
LINE: 59
LINE: 80
LINE: 99
FILE: system/library/config.php
REGEX: ~(require|include)(_once)?\(([^)]+)~
LINE: 23
FILE: system/library/language.php
REGEX: ~(require|include)(_once)?\(([^)]+)~
LINE: 25
LINE: 31
----------------------------------------------------------------
MOD: Agree Popup
FILE: catalog/view/theme/default/template/common/header.tpl
CODE: </head>
LINE: 96
FILE: catalog/view/theme/moneymaker2/template/common/header.tpl
CODE: </head>
LINE: 123
FILE: catalog/controller/common/header.php
CODE: $this->load->language('common/header');
LINE: 48
----------------------------------------------------------------
MOD: Local copy OCMOD by iSenseLabs
FILE: admin/controller/extension/installer.php
CODE: 'url'  => str_replace('&amp;', '&', $this->url->link('extension/installer/ftp', 'token=' . $this->session->data['token'],
LINE: 132
CODE: public function unzip() {
LINE: 293
----------------------------------------------------------------
MOD: MailPro
FILE: admin/controller/common/menu.php
CODE: $data['contact']
LINE: 124
FILE: admin/view/template/common/menu.tpl
CODE: <?php echo $contact; ?>
LINE: 117
FILE: admin/model/customer/customer.php
CODE: if ($data['password']) {
LINE: 43
FILE: catalog/model/account/customer.php
CODE: public function getCustomerByToken
LINE: 154
CODE: public function editNewsletter
LINE: 138
FILE: catalog/controller/account/success.php
CODE: $this->document->setTitle($this->language->get('heading_title'));
LINE: 5
CODE: $data['breadcrumbs'][] = array(
LINE: 47
CODE: $data['button_continue']
LINE: 78
FILE: catalog/language/russian/account/success.php
CODE: $_['heading_title']
LINE: 5
FILE: catalog/language/english/account/success.php
CODE: $_['heading_title']
LINE: 5
----------------------------------------------------------------
MOD: Mass Edit Products
CODE: public function index() {
LINE: 13
CODE: $data['text_backup'] = $this->language->get('text_backup');
LINE: 26
CODE: $data['backup'] = $this->url->link('tool/backup', 'token=' . $this->session->data['token'], 'SSL');
LINE: 143
CODE: <li><a href="<?php echo $product; ?>">
LINE: 10
----------------------------------------------------------------
MOD: Moneymaker2 Mods 1 (header, footer)
CODE: public function index() {
LINE: 11
CODE: $data['telephone'] = $this->config->get('config_telephone');
LINE: 248
CODE: $children_data[] = array(
LINE: 286
CODE: $data['categories'][] = array(
LINE: 323
CODE: $data['language'] = $this->load->controller('common/language');
LINE: 435
FILE: catalog/controller/common/footer.php
CODE: $data['newsletter'] = $this->url->link('account/newsletter', '', 'SSL');
LINE: 170
CODE: class ControllerCommonFooter extends Controller {
LINE: 395
----------------------------------------------------------------
MOD: Moneymaker2 Mods 2 (manufacturer, category, search, special)
FILE: catalog/controller/product/manufacturer.php
CODE: $data['products'] = array();
LINE: 224
CODE: $data['products'][] = array(
LINE: 269
FILE: catalog/controller/product/category.php
CODE: $data['heading_title'] = $category_info['name'];
LINE: 112
CODE: $data['button_grid'] = $this->language->get('button_grid');
LINE: 206
CODE: $data['categories'][] = array(
LINE: 252
CODE: $data['products'][] = array(
LINE: 315
FILE: catalog/controller/product/search.php
CODE: $data['button_grid'] = $this->language->get('button_grid');
LINE: 185
CODE: $data['products'][] = array(
LINE: 277
FILE: catalog/controller/common/search.php
CODE: public function index() {
LINE: 64
CODE: $data['text_search'] = $this->language->get('text_search');
LINE: 77
FILE: catalog/controller/product/special.php
CODE: $data['button_grid'] = $this->language->get('button_grid');
LINE: 113
CODE: $data['products'][] = array(
LINE: 162
----------------------------------------------------------------
MOD: Moneymaker2 Mods 3 (cart, compare, contact, product)
FILE: catalog/controller/common/cart.php
CODE: $data['products'] = array();
LINE: 77
CODE: $data['checkout'] = $this->url->link('checkout/checkout', '', 'SSL');
LINE: 169
FILE: catalog/controller/product/compare.php
CODE: $data['button_remove'] = $this->language->get('button_remove');
LINE: 76
CODE: $data['products'][$product_id] = array(
LINE: 132
FILE: catalog/controller/information/contact.php
CODE: $data['comment'] = $this->config->get('config_comment');
LINE: 114
FILE: catalog/controller/product/product.php
CODE: $data['text_select'] = $this->language->get('text_select');
LINE: 246
CODE: $data['rating'] = (int)$product_info['rating'];
LINE: 725
CODE: $data['products'][] = array(
LINE: 771
CODE: 'description' => utf8_substr(strip_tags(html_entity_decode($result['description'], ENT_QUOTES, 'UTF-8')), 0, $this->config->get('config_product_description_length')) . '..',
LINE: 895
FILE: catalog/model/catalog/product.php
CODE: 'stock_status'     => $query->row['stock_status'],
LINE: 31
CODE: p.image,
LINE: 7
CODE: 'manufacturer'     => $query->row['manufacturer'],
LINE: 35
----------------------------------------------------------------
MOD: Moneymaker2 Mods 4 (info, bestseller, featured, latest, special)
FILE: catalog/controller/information/information.php
CODE: $data['button_continue'] = $this->language->get('button_continue');
LINE: 55
LINE: 96
FILE: catalog/controller/module/bestseller.php
CODE: $this->load->model('catalog/product');
LINE: 35
CODE: $data['products'][] = array(
LINE: 75
CODE: 'description' => utf8_substr(strip_tags(html_entity_decode($result['description'], ENT_QUOTES, 'UTF-8')), 0, $this->config->get('config_product_description_length')) . '..',
LINE: 195
FILE: catalog/controller/module/featured.php
CODE: $this->load->model('catalog/product');
LINE: 35
CODE: $data['products'][] = array(
LINE: 82
CODE: 'description' => utf8_substr(strip_tags(html_entity_decode($product_info['description'], ENT_QUOTES, 'UTF-8')), 0, $this->config->get('config_product_description_length')) . '..',
LINE: 202
FILE: catalog/controller/module/latest.php
CODE: $this->load->model('catalog/product');
LINE: 35
CODE: $data['products'][] = array(
LINE: 82
CODE: 'description' => utf8_substr(strip_tags(html_entity_decode($result['description'], ENT_QUOTES, 'UTF-8')), 0, $this->config->get('config_product_description_length')) . '..',
LINE: 202
FILE: catalog/controller/module/special.php
CODE: $this->load->model('catalog/product');
LINE: 35
CODE: $data['products'][] = array(
LINE: 82
CODE: 'description' => utf8_substr(strip_tags(html_entity_decode($result['description'], ENT_QUOTES, 'UTF-8')), 0, $this->config->get('config_product_description_length')) . '..',
LINE: 202
----------------------------------------------------------------
MOD: Opencart News 2.x
CODE: $data['text_manufacturer'] = $this->language->get('text_manufacturer');
LINE: 62
CODE: $data['manufacturer'] = $this->url->link('catalog/manufacturer', 'token=' . $this->session->data['token'], 'SSL');
LINE: 170
FILE: admin/language/russian/common/menu.php
CODE: $_['text_manufacturer']
LINE: 37
FILE: admin/language/english/common/menu.php
CODE: $_['text_manufacturer']
LINE: 37
CODE: <li><a href="<?php echo $information; ?>"><?php echo $text_information; ?></a></li>
LINE: 24
----------------------------------------------------------------
MOD: Order Status Scale
FILE: admin/model/sale/order.php
CODE: o.order_id,
LINE: 159
FILE: admin/controller/sale/order.php
CODE: 'view'
LINE: 172
CODE: 'add'
LINE: 155
FILE: admin/view/template/sale/order_list.tpl
CODE: $footer
LINE: 393
CODE: ($orders)
LINE: 228
CODE: <td class="text-left"><?php echo $order['status']; ?></td>
LINE: 239
NOT FOUND!
----------------------------------------------------------------
MOD: Обновление цены при выборе опций OC2 (без AJAX)
FILE: admin/view/template/setting/setting.tpl
CODE: <label class="col-sm-2 control-label"><span data-toggle="tooltip" title="<?php echo $help_currency_auto; ?>"><?php echo $entry_currency_auto; ?></span></label>
LINE: 396
FILE: admin/controller/setting/setting.php
CODE: if (isset($this->request->post['config_currency'])) {
LINE: 736
CODE: $price = $this->currency->format(
LINE: 297
CODE: $special = $this->currency->format(
LINE: 308
FILE: catalog/view/theme/default/template/product/product.tpl
CODE: <?php echo $option_value['price_prefix']; ?><?php echo $option_value['price']; ?>
LINE: 177
LINE: 194
LINE: 212
LINE: 230
FILE: catalog/view/theme/moneymaker2/template/product/product.tpl
CODE: <?php echo $option_value['price_prefix']; ?><?php echo $option_value['price']; ?>
LINE: 145
LINE: 162
LINE: 180
LINE: 198
CODE: value="<?php echo $option_value['product_option_value_id']; ?>"
LINE: 175
LINE: 191
LINE: 209
LINE: 227
CODE: <?php echo $footer; ?>
LINE: 865
CODE: value="<?php echo $option_value['product_option_value_id']; ?>"
LINE: 143
LINE: 159
LINE: 177
LINE: 195
CODE: <?php echo $footer; ?>
LINE: 1066
CODE: 'weight'                  => $product_option_value['weight'],
LINE: 351
CODE: $data['options'] = array();
LINE: 406
CODE: $product_option_value_data[] = array(
LINE: 423
CODE: data-order-price="<?php if ($price&&$special) { ?><?php echo $special; ?><?php } else if ($price) { ?><?php echo $price; ?><?php } ?>"
LINE: 289
CODE: data-order-price='<?php if ($price&&$special) { ?><?php echo $special; ?><?php } else if ($price) { ?><?php echo $price; ?><?php } ?>'
LINE: 780
CODE: $('.mfp-figure [data-toggle="tooltip"]').tooltip({trigger: 'hover', container: 'body'});
LINE: 785
CODE: data-order-price="<?php if ($quickorder_tax) echo $text_tax; ?><?php if ($price&&$special) { ?><?php echo $special; ?><?php } else if ($price) { ?><?php echo $price; ?><?php } ?>"
NOT FOUND!
FILE: system/library/cart.php
CODE: if ($product_discount_query->num_rows) {
LINE: 195
CODE: if ($product_special_query->num_rows) {
LINE: 218
----------------------------------------------------------------

 

Edited by feo1717

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
You are posting as a guest. If you have an account, please sign in.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×

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.