Дмитрий

Дмитрий

С нами с 08 февраля 2020; Место в рейтинге пользователей: #3088

Sendex

почему в sendex на хостинге теперь так получается при установке плагина
Could not create table `modx_sendex_subscribers` SQL: CREATE TABLE `modx_sendex_subscribers` (`id` INTEGER unsigned NOT NULL AUTO_INCREMENT, `newsletter_id` INT(10) unsigned NOT NULL DEFAULT '0', `user_id` INT(10) unsigned NULL DEFAULT '0', `email` VARCHAR(255) NULL DEFAULT '', `code` CHAR(40) NULL DEFAULT '', PRIMARY KEY (`id`), UNIQUE KEY `key` (`newsletter_id`,`user_id`,`email`), UNIQUE KEY `code` (`code`)) ENGINE=MyISAM ERROR: Array ( [0] => 42000 [1] => 1071 [2] => Specified key was too long; max key length is 1000 bytes )
Дмитрий
20 марта 2020, 18:13
modx.pro
953
0

А почему так?

А почему может быть так, что статистически всё хорошо выводится, а динамически выходит какая то лажа
вот к примеру код
вот сам код
<section class="services-section" id="services">
            <div class="container">
                <h1 class="title-h1 black text-center">Услуги</h1>
                <p class="f14 text-center">
                    Мы отправим курьера, который бесплатно отвезет ноутбук, где будет проведена соответствующая диагностика <br />
                    и установлена причинанеприятностей.
                </p>
                <div class="push40"></div>
                <div class="row">
                    [[getImageList?
                    &docid=`1`
                    &tvname=`servases_home`
                    &tpl=`@CODE:
                    <div class="col-sm-6 col-md-4">
                        <div class="element relative">
                            <div class="img-wrapper">
                                <img src="[[+image]]" alt="[[+alt_text]]"/>
                            </div>
                            <div class="title">[[+title]]</div>
                            <div class="text">
                                [[+docs]]
                            </div>
                        </div>
                    </div>
                    `
                    ]]
                    
                    
                </div>
            </div>
            <hr>
        </section>
Дмитрий
08 февраля 2020, 12:47
modx.pro
335
0