1.8.9 &includeTVs=`images`

при использовании &includeTVs=`images` ничего не выводиться
в ошибках если убрать &includeTVs=`images` все работает, но без тв естественно.(
[2013-11-22 19:17:36] (ERROR @ /index.php) [pdoTools] Error 42S22: Unknown column 'TVimages.value' in 'field list'
Ilya Ev
22 ноября 2013, 19:32
modx.pro
1 051
0

Комментарии: 8

Clean
22 ноября 2013, 23:56
0
для приличия хотя бы &showLog=`1` сделал бы и прицепил вывод…
    Clean
    22 ноября 2013, 23:57
    0
    p.s у меня 1.8.9 ток что поставил. ничего не пострадало
    Антон Мамрашев
    23 ноября 2013, 00:33
    0
    такая же ошибка, только другие типы тв использую, тоже при обновлении до 1.8.9

    0.0007422: pdoTools loaded
    0.0002391: xPDO query object created
    0.0034940: Included list of tvs: dateBegin, dateEnd, regForm
    0.0034721: Added selection of modResource: SQL_CALC_FOUND_ROWS `id`, `type`, `contentType`, `pagetitle`, `longtitle`, `description`, `alias`, `link_attributes`, `published`, `pub_date`, `unpub_date`, `parent`, `isfolder`, `introtext`, `richtext`, `template`, `menuindex`, `searchable`, `cacheable`, `createdby`, `createdon`, `editedby`, `editedon`, `deleted`, `deletedon`, `deletedby`, `publishedon`, `publishedby`, `menutitle`, `donthit`, `privateweb`, `privatemgr`, `content_dispo`, `hidemenu`, `class_key`, `context_key`, `content_type`, `uri`, `uri_override`, `hide_children_in_tree`, `show_in_tree`, `properties`
    0.0000920: Added selection of TVdatebegin: IFNULL(`value`, '') AS `tv.dateBegin`
    0.0000851: Added selection of TVdateend: IFNULL(`value`, '') AS `tv.dateEnd`
    0.0000842: Added selection of TVregform: IFNULL(`value`, '') AS `tv.regForm`
    0.0043468: Processed additional conditions
    0.0057988: Added where condition: modResource.parent:IN(34,35,36,45,52,55,58,59,72,60), modResource.published=1, modResource.deleted=0
    0.0001040: Replaced TV conditions
    0.0001631: Sorted by publishedon, DESC
    0.0000110: Limited to 10, offset 0
    0.0008850: SQL prepared "SELECT SQL_CALC_FOUND_ROWS `modResource`.`id`, `modResource`.`type`, `modResource`.`contentType`, `modResource`.`pagetitle`, `modResource`.`longtitle`, `modResource`.`description`, `modResource`.`alias`, `modResource`.`link_attributes`, `modResource`.`published`, `modResource`.`pub_date`, `modResource`.`unpub_date`, `modResource`.`parent`, `modResource`.`isfolder`, `modResource`.`introtext`, `modResource`.`richtext`, `modResource`.`template`, `modResource`.`menuindex`, `modResource`.`searchable`, `modResource`.`cacheable`, `modResource`.`createdby`, `modResource`.`createdon`, `modResource`.`editedby`, `modResource`.`editedon`, `modResource`.`deleted`, `modResource`.`deletedon`, `modResource`.`deletedby`, `modResource`.`publishedon`, `modResource`.`publishedby`, `modResource`.`menutitle`, `modResource`.`donthit`, `modResource`.`privateweb`, `modResource`.`privatemgr`, `modResource`.`content_dispo`, `modResource`.`hidemenu`, `modResource`.`class_key`, `modResource`.`context_key`, `modResource`.`content_type`, `modResource`.`uri`, `modResource`.`uri_override`, `modResource`.`hide_children_in_tree`, `modResource`.`show_in_tree`, `modResource`.`properties`, IFNULL(`TVdatebegin`.`value`, '') AS `tv.dateBegin`, IFNULL(`TVdateend`.`value`, '') AS `tv.dateEnd`, IFNULL(`TVregform`.`value`, '') AS `tv.regForm` FROM `modx_site_content` AS `modResource` WHERE  ( `modResource`.`parent` IN (34,35,36,45,52,55,58,59,72,60) AND `modResource`.`published` = 1 AND `modResource`.`deleted` = 0 )  ORDER BY publishedon DESC LIMIT 10 "
    0.0011811: Could not process query, error #1054: Unknown column 'TVdatebegin.value' in 'field list'
    0.0169661: Total time
    9 437 184: Memory usage
      Clean
      23 ноября 2013, 00:55
      0
      IFNULL(`TVdatebegin`.`value`, '') AS `tv.dateBegin`,
             IFNULL(`TVdateend`.`value`, '') AS `tv.dateEnd`,
             IFNULL(`TVregform`.`value`, '') AS `tv.regForm`
      похоже это к Василию ))
      Василий Наумкин
      23 ноября 2013, 07:32
      0
      Есть ошибка, починил, обновляйтесь.
        Ilya Ev
        23 ноября 2013, 10:57
        0
        Да все заработало, спасибо.

        Но похоже еще не работает подключение &field=`images` в pdoField, после обновления не выводит значение тв, стандартные поля работают.
      Авторизуйтесь или зарегистрируйтесь, чтобы оставлять комментарии.
      8