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

Помогите пожалуйси, выдает ошибки!


Recommended Posts

Уважаемые пользователи форума, просьба помочь мне, при перехогде на блог в админке выдает ошибку постоянно!
Перешел в файл проверить им полный звезгдец разобраться не могу ггде эи 310 линия)
в чем может быть проблема ?
Notice
: Undefined index: noindex in /home/s72060/public_html/mydomen.com/admin/controller/blog/article.php on line 310Notice: Undefined index: noindex in /home/s72060/public_html/mydomen.com/admin/controller/blog/article.php on line 310Notice: Undefined index: noindex in /home/s72060/public_html/mydomen.com/admin/controller/blog/article.php on line 310Notice: Undefined index: noindex in /home/s72060/public_html/mydomen.com/admin/controller/blog/article.php on line 310

Link to comment
Share on other sites


44 минуты назад, Admiral1985 сказал:

Undefined index: noindex

В редакторе есть поиск, нужно найти noindex. А дальше исправить по контексту.

Link to comment
Share on other sites

19 часов назад, esculapra сказал:

В редакторе есть поиск, нужно найти noindex. А дальше исправить по контексту.

Код нашел, не подскажите на что сменить его ?
вот он
 

        foreach ($results as $result) {
            if (is_file(DIR_IMAGE . $result['image'])) {
                $image = $this->model_tool_image->resize($result['image'], 40, 40);
            } else {
                $image = $this->model_tool_image->resize('no_image.png', 40, 40);
            }

            $data['articles'][] = array(
                'article_id' => $result['article_id'],
                'image'      => $image,
                'name'       => $result['name'],
                'status'     => ($result['status']) ? $this->language->get('text_enabled') : $this->language->get('text_disabled'),
                'noindex'    => ($result['noindex']) ? $this->language->get('text_enabled') : $this->language->get('text_disabled'),
                'href_shop'  => HTTP_CATALOG . 'index.php?route=blog/article&article_id=' . ($result['article_id']),
                'edit'       => $this->url->link('blog/article/edit', 'user_token=' . $this->session->data['user_token'] . '&article_id=' . $result['article_id'] . $url, true)
            );
        }

за ранее спасипотому что)

Edited by Admiral1985
Link to comment
Share on other sites


39 минут назад, yaric117 сказал:

Всем привет! Попробуйте применить вот этот модификатор (он же добавляет подгдержку чпу в блоге (в 3 версии почему-то она отсутствовала) )

blog.ocmod.xml 4 \u043a\u0411 · 2 downloads

Спасипотому что, уже проблем решил тему сменил на другую им походу тема дырявая была)

Link to comment
Share on other sites


Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • 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.