Перейти до вмісту
Пошук в
  • Детальніше...
Шукати результати, які ...
Шукати результати в ...

rusmsm1973

Користувачі
  
  • Публікації

    67
  • З нами

  • Відвідування

Повідомлення, опубліковані користувачем rusmsm1973

  1. стоит обращать внимание или нет на эти ошибки:

     

    2016-04-05 11:29:51 - PHP Warning:  fopen(/var/www/dveriotn/data/www/dveriotnas.ru/download/test): failed to open stream: Permission denied in /var/www/dveriotn/data/www/dveriotnas.ru/admin/controller/common/home.php on line 99

    2016-04-05 11:29:51 - PHP Warning:  fwrite() expects parameter 1 to be resource, boolean given in /var/www/dveriotn/data/www/dveriotnas.ru/admin/controller/common/home.php on line 101

    2016-04-05 11:29:51 - PHP Warning:  fclose() expects parameter 1 to be resource, boolean given in /var/www/dveriotn/data/www/dveriotnas.ru/admin/controller/common/home.php on line 103

    2016-04-05 11:29:51 - PHP Warning:  sprintf(): Too few arguments in /var/www/dveriotn/data/www/dveriotnas.ru/admin/controller/common/home.php on line 106

    2016-04-05 11:46:32 - PHP Warning:  fopen(/var/www/dveriotn/data/www/dveriotnas.ru/download/test): failed to open stream: Permission denied in /var/www/dveriotn/data/www/dveriotnas.ru/admin/controller/common/home.php on line 99

    2016-04-05 11:46:32 - PHP Warning:  fwrite() expects parameter 1 to be resource, boolean given in /var/www/dveriotn/data/www/dveriotnas.ru/admin/controller/common/home.php on line 101

    2016-04-05 11:46:32 - PHP Warning:  fclose() expects parameter 1 to be resource, boolean given in /var/www/dveriotn/data/www/dveriotnas.ru/admin/controller/common/home.php on line 103

    2016-04-05 11:46:32 - PHP Warning:  sprintf(): Too few arguments in /var/www/dveriotn/data/www/dveriotnas.ru/admin/controller/common/home.php on line 106

    2016-04-06 11:21:05 - PHP Notice:  Undefined index: date_modified in /var/www/dveriotn/data/www/dveriotnas.ru/vqmod/vqcache/vq2-catalog_controller_information_information.php on line 85

  2. <?php   

    class ControllerErrorNotFound extends Controller {

    public function index() {

    $this->language->load('error/not_found');

     

    $this->document->setTitle($this->language->get('heading_title'));

     

    $this->data['breadcrumbs'] = array();

     

          $this->data['breadcrumbs'][] = array(

            'text'      => $this->language->get('text_home'),

    'href'      => $this->url->link('common/home'),

            'separator' => false

          );

     

    if (isset($this->request->get['route'])) {

    $data = $this->request->get;

     

    unset($data['_route_']);

     

    $route = $data['route'];

     

    unset($data['route']);

     

    $url = '';

     

    if ($data) {

    $url = '&' . urldecode(http_build_query($data, '', '&'));

    }

     

    if (isset($this->request->server['HTTPS']) && (($this->request->server['HTTPS'] == 'on') || ($this->request->server['HTTPS'] == '1'))) {

    $connection = 'SSL';

    } else {

    $connection = 'NONSSL';

    }

     

            $this->data['breadcrumbs'][] = array(

    'text'      => $this->language->get('heading_title'),

    'href'      => $this->url->link($route, $url, $connection),

            'separator' => $this->language->get('text_separator')

          );  

    }

     

    $this->data['heading_title'] = $this->language->get('heading_title');

     

    $this->data['text_error'] = $this->language->get('text_error');

     

    $this->data['button_continue'] = $this->language->get('button_continue');

     

    $this->response->addHeader($this->request->server['SERVER_PROTOCOL'] . '/1.1 404 Not Found');

     

    $this->data['continue'] = $this->url->link('common/home');

     

    if (file_exists(DIR_TEMPLATE . $this->config->get('config_template') . '/template/error/not_found.tpl')) {

    $this->template = $this->config->get('config_template') . '/template/error/not_found.tpl';

    } else {

    $this->template = 'default/template/error/not_found.tpl';

    }

     

    $this->children = array(

    'common/column_left',

    'common/column_right',

    'common/content_top',

    'common/content_bottom',

    'common/footer',

    'common/header'

    );

     

    $this->response->setOutput($this->render());

      }

    }

    ?>

  3. возникают ошибки нужно исправить

    2016-03-23 17:26:38 - PHP Warning:  unlink(/var/www/dveriotn/data/www/dveriotnas.ru/system/cache/cache.product.seopath.1458746798): No such file or directory in /var/www/dveriotn/data/www/dveriotnas.ru/system/library/cache.php on line 56

    2016-03-23 22:56:38 - PHP Warning:  mkdir(): File exists in /var/www/dveriotn/data/www/dveriotnas.ru/catalog/model/tool/image.php on line 35

    2016-03-23 22:56:38 - PHP Warning:  unlink(/var/www/dveriotn/data/www/dveriotnas.ru/system/cache/cache.product.seopath.1458766598): No such file or directory in /var/www/dveriotn/data/www/dveriotnas.ru/system/library/cache.php on line 56

    2016-03-23 22:56:41 - PHP Warning:  unlink(/var/www/dveriotn/data/www/dveriotnas.ru/system/cache/cache.product.seopath.1458766600): No such file or directory in /var/www/dveriotn/data/www/dveriotnas.ru/system/library/cache.php on line 56

    2016-03-24 12:09:38 - PHP Notice:  Undefined variable: button_continue in /var/www/dveriotn/data/www/dveriotnas.ru/catalog/view/theme/julytheme/template/error/not_found.tpl on line 13

    2016-03-24 12:25:32 - PHP Notice:  Undefined variable: button_continue in /var/www/dveriotn/data/www/dveriotnas.ru/catalog/view/theme/julytheme/template/error/not_found.tpl on line 13

    2016-03-24 12:48:30 - PHP Notice:  Undefined variable: button_continue in /var/www/dveriotn/data/www/dveriotnas.ru/catalog/view/theme/julytheme/template/error/not_found.tpl on line 13

    2016-03-24 13:04:11 - PHP Notice:  Undefined variable: button_continue in /var/www/dveriotn/data/www/dveriotnas.ru/catalog/view/theme/julytheme/template/error/not_found.tpl on line 13

    2016-03-24 13:25:52 - PHP Notice:  Undefined variable: button_continue in /var/www/dveriotn/data/www/dveriotnas.ru/catalog/view/theme/julytheme/template/error/not_found.tpl on line 13

×
×
  • Створити...

Important Information

На нашому сайті використовуються файли cookie і відбувається обробка деяких персональних даних користувачів, щоб поліпшити користувальницький інтерфейс. Щоб дізнатися для чого і які персональні дані ми обробляємо перейдіть за посиланням . Якщо Ви натиснете «Я даю згоду», це означає, що Ви розумієте і приймаєте всі умови, зазначені в цьому Повідомленні про конфіденційність.