Wade666

Wade666

С нами с 11 января 2018; Место в рейтинге пользователей: #1718
Wade666
11 января 2018, 17:50
0
Спасибо, помогло.
Wade666
11 января 2018, 15:50
0
Я мб не так объяснил.
Есть страница, назовем её Проекты. На ней должна выводится информация, которая находится по такой иерархии: Проекты=>Проекты домов=> Документ, который должен выводиться.
Но он не выводится.
showLog подключил:
0.0000870: pdoTools loaded
0.0000229: xPDO query object created
0.0005431: Included list of tvs: image, dometazh, domspalen, domsanuzel, price
0.0001390: leftJoined modTemplateVarResource as TVimage
0.0000939: leftJoined modTemplateVarResource as TVdometazh
0.0000870: leftJoined modTemplateVarResource as TVdomspalen
0.0000861: leftJoined modTemplateVarResource as TVdomsanuzel
0.0000930: leftJoined modTemplateVarResource as TVprice
0.0002050: 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.0000091: Added selection of modTemplateVarResource: IFNULL(`value`, '') AS `image`
0.0000041: Added selection of modTemplateVarResource: IFNULL(`value`, '') AS `dometazh`
0.0000041: Added selection of modTemplateVarResource: IFNULL(`value`, '') AS `domspalen`
0.0000021: Added selection of modTemplateVarResource: IFNULL(`value`, '') AS `domsanuzel`
0.0000019: Added selection of modTemplateVarResource: IFNULL(`value`, '') AS `price`
0.0003500: Processed additional conditions
0.0004880: Added where condition: modResource.id:IN(7), modResource.parent:IN(6,7), modResource.published=1, modResource.deleted=0
0.0000551: Replaced TV conditions
0.0001891: Sorted by modResource.publishedon, DESC
0.0000031: Limited to 10, offset 0
0.0002420: 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(`TVimage`.`value`, '') AS `image`, IFNULL(`TVdometazh`.`value`, '') AS `dometazh`, IFNULL(`TVdomspalen`.`value`, '') AS `domspalen`, IFNULL(`TVdomsanuzel`.`value`, '') AS `domsanuzel`, IFNULL(`TVprice`.`value`, '') AS `price` FROM `modx_site_content` AS `modResource` LEFT JOIN `modx_site_tmplvar_contentvalues` `TVimage` ON `TVimage`.`contentid` = `modResource`.`id` AND `TVimage`.`tmplvarid` = 2 LEFT JOIN `modx_site_tmplvar_contentvalues` `TVdometazh` ON `TVdometazh`.`contentid` = `modResource`.`id` AND `TVdometazh`.`tmplvarid` = 4 LEFT JOIN `modx_site_tmplvar_contentvalues` `TVdomspalen` ON `TVdomspalen`.`contentid` = `modResource`.`id` AND `TVdomspalen`.`tmplvarid` = 5 LEFT JOIN `modx_site_tmplvar_contentvalues` `TVdomsanuzel` ON `TVdomsanuzel`.`contentid` = `modResource`.`id` AND `TVdomsanuzel`.`tmplvarid` = 6 LEFT JOIN `modx_site_tmplvar_contentvalues` `TVprice` ON `TVprice`.`contentid` = `modResource`.`id` AND `TVprice`.`tmplvarid` = 7 WHERE  ( `modResource`.`id` IN (7) AND `modResource`.`parent` IN (6,7) AND `modResource`.`published` = 1 AND `modResource`.`deleted` = 0 )  ORDER BY modResource.publishedon DESC LIMIT 10 "
0.0006039: SQL executed
0.0000620: Total rows: 1
0.0000131: Rows fetched
0.0103960: Prepared and processed TVs
0.0007770: Loaded "modChunk" with name "tpldom"
0.0152581: Returning processed chunks
0.0288250: Total time
4 194 304: Memory usage
Wade666
11 января 2018, 15:19
0
Исправил, но не помогло.