Jump to content
Sign in to follow this  
DmitryKaras

Иероглифы после установки модуля

Recommended Posts

Запись ошибок в журнал в админке включена? Пишет что-то в журнале?

Share this post


Link to post
Share on other sites

Смотрел сча на локалке

2015-01-20 12:29:13 - PHP Notice:  Undefined index: 2 in B:\home\finic.by\www\catalog\controller\module\downloads.php on line 78
2015-01-20 12:29:13 - PHP Warning:  Invalid argument supplied for foreach() in B:\home\finic.by\www\catalog\view\theme\default\template\module\downloads.tpl on line 105

 

первую ошибку смотреть тут надо будет

        foreach ($categories_info as $category_info) {
            $this->data['downloads_cats'][$category_info['category_id']] = array(
                'category_id'       => $category_info['category_id'],
                'cat_name'          => $category_info['name'],
                'cat_description'   => strip_tags(html_entity_decode($category_info['description'], ENT_QUOTES, 'UTF-8')),
                'cat_files'         => $downloads[$category_info['category_id']],
            );
        }

 

вторую

<div id="content">
    <?php if ($downloads_cats) { ?>
        <?php foreach ($downloads_cats as $category) { ?>
            <div class="category">
                <?php if ($category) { ?>
                    <h1><?php echo $category['cat_name']; ?></h1>
                    <div class="category-description"><h3><?php echo $category['cat_description']; ?></h3></div>
                    <div class="files-list">
                        <?php foreach ($category['cat_files'] as $file) { ?>
                            <div>
                                <div class="image">
                                    <img src="<?php echo $file['image']; ?>" title="<?php echo $file['name']; ?>" alt="<?php echo $file['name']; ?>" />
                                    <div class="more">
                                        <a href="<?php echo $file['href']; ?>" title="<?php echo $button_download; ?>">
                                            <?php echo $button_download; ?>
                                            <img src="/image/arrow_white.png">
                                        </a>
                                    </div>
                                </div>

Share this post


Link to post
Share on other sites

Самое логичное - спросить у автора модуля

Share this post


Link to post
Share on other sites

Самое логичное - спросить у автора модуля

 писал, но он молчит

Share this post


Link to post
Share on other sites

Дайте ссылку на сайт - гляну.

Share this post


Link to post
Share on other sites

Дайте ссылку на сайт - гляну.

я сча на локалке тестил. сделаю на рабочей версии - скину сразу

Share this post


Link to post
Share on other sites

интересно, будут ли вам помогать после того как станет известно, что вы считаете не обязательным платить за платные дополнения

Share this post


Link to post
Share on other sites

интересно, будут ли вам помогать после того как станет известно, что вы считаете не обязательным платить за платные дополнения

я связывался с самим разработчиком, ему самому интересна данная ситуация

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.