Ошибка при вызове карты сайта.
Пожалуйста, помогите разобраться почему не строится карта сайта, выдаётся ошибка:
Тип содержимого — XML
Вызов:
[[pdoSitemap?
&showHidden=`1`
&parents=`-3,-7,-105,-6,-89,-104`
&forceXML=`0`
]]
лог:
This page contains the following errors:
error on line 2950 at column 51: EntityRef: expecting ';'
Below is a rendering of the page up to the first error.
шаблоны — без измененийТип содержимого — XML
Вызов:
[[pdoSitemap?
&showHidden=`1`
&parents=`-3,-7,-105,-6,-89,-104`
&forceXML=`0`
]]
лог:
0.0001590: pdoTools loaded
0.0000629: Conditions prepared
0.0000091: Query parameters ready
0.0001609: No cached data for key "default/sitemap/0d9646"
0.0000341: xPDO query object created
0.0001819: Added selection of modResource: SQL_CALC_FOUND_ROWS `id`, `editedon`, `createdon`, `context_key`, `class_key`, `uri`, `content`
0.0028012: Processed additional conditions
0.0033350: Added where condition: modResource.parent:IN(1,50,2,26,60,66,110,111,90,62,54,53,112,64,7,104,89,105,6,119,118,3,4,113,120,106,122,544,547,641,548,549,107,108,126,127,128,129,614,621,627,596,628,569,597,632,634,570,598,635,599,636,573,637,639,575,645,657,658,659,660,661,662,81,80,188,187,186,185,184,183,76,75,467,468,469,471,472,473,474,475,476,477,478,479,480,481,482,483,484,485,486,487,488,489,490,491,492,493,494,495,496,497,498,499,500,501,502,503,504,505,506,507,508,509,510,511,512,513,514,515,516,517,518,519,520,521,522,523,524,525,526,527,528,529,530,51,531,545,546,550,555,556,557,572,574,359,360,361,362,363,364,365,366,368,369,370,371,372,373,374,375,376,377,378,380,381,382,383,384,385,386,387,388,389,390,391,392,393,394,395,396,397,398,399,400,401,402,403,404,405,406,407,408,409,410,411,412,413,414,415,416,418,419,420,421,422,423,424,425,426,427,428,429,430,431,432,433,434,435,436,437,438,439,440,442,443,444,445,446,447,448,449,450,451,452,453,454,455,456,457,458,459,460,461,462,463,464,465,466,329,330,331,332,333,334,335,336,337,338,339,340,341,342,343,344,345,346,347,348,349,350,351,352,353,354,355,356,357,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320,321,322,323,324,325,326,327,328,300,266,267,268,269,270,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,256,257,258,259,260,261,262,263,264,265,248,249,250,251,252,253,255,254,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,189,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,10,14,11,12,13,9,70,69,68,67,71,136,137,138,139,140,141,607,532,533,534,535,604,608,609,610,536,537,538,558,559,560,561,562,563,564,565,566,601,602,603,605,606,611,612,142,567,144,143,568,145,146,147,148,150,151,152,600,616,638,172,173,613,615,135,109,539,540,622,629,630,631,633,656,61,65,63,174,179,175,176,178,177,585,55,56,57,583,584,576,577,578,582,586,587,588,589,590,591,592,593,594,618,619,620,116,117,5,52,58,580,59,579,153,154,157,158,159,625,626,541,652,653,654,655,542,543,180,156,155,163,170,551,552,554,643,646,647,648,649,650,553,164,165,166,167,168,169,644), modResource.parent:NOT IN(3,7,105,6,89,104), modResource.published=1, modResource.deleted=0, modResource.searchable=1, modResource.context_key=web
0.0001040: Sorted by modResource.menuindex, asc
0.0002708: SQL prepared "SELECT SQL_CALC_FOUND_ROWS `modResource`.`id`, `modResource`.`editedon`, `modResource`.`createdon`, `modResource`.`context_key`, `modResource`.`class_key`, `modResource`.`uri`, `modResource`.`content` FROM `modx_site_content` AS `modResource` WHERE ( `modResource`.`parent` IN (1,50,2,26,60,66,110,111,90,62,54,53,112,64,7,104,89,105,6,119,118,3,4,113,120,106,122,544,547,641,548,549,107,108,126,127,128,129,614,621,627,596,628,569,597,632,634,570,598,635,599,636,573,637,639,575,645,657,658,659,660,661,662,81,80,188,187,186,185,184,183,76,75,467,468,469,471,472,473,474,475,476,477,478,479,480,481,482,483,484,485,486,487,488,489,490,491,492,493,494,495,496,497,498,499,500,501,502,503,504,505,506,507,508,509,510,511,512,513,514,515,516,517,518,519,520,521,522,523,524,525,526,527,528,529,530,51,531,545,546,550,555,556,557,572,574,359,360,361,362,363,364,365,366,368,369,370,371,372,373,374,375,376,377,378,380,381,382,383,384,385,386,387,388,389,390,391,392,393,394,395,396,397,398,399,400,401,402,403,404,405,406,407,408,409,410,411,412,413,414,415,416,418,419,420,421,422,423,424,425,426,427,428,429,430,431,432,433,434,435,436,437,438,439,440,442,443,444,445,446,447,448,449,450,451,452,453,454,455,456,457,458,459,460,461,462,463,464,465,466,329,330,331,332,333,334,335,336,337,338,339,340,341,342,343,344,345,346,347,348,349,350,351,352,353,354,355,356,357,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320,321,322,323,324,325,326,327,328,300,266,267,268,269,270,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,256,257,258,259,260,261,262,263,264,265,248,249,250,251,252,253,255,254,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,189,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,10,14,11,12,13,9,70,69,68,67,71,136,137,138,139,140,141,607,532,533,534,535,604,608,609,610,536,537,538,558,559,560,561,562,563,564,565,566,601,602,603,605,606,611,612,142,567,144,143,568,145,146,147,148,150,151,152,600,616,638,172,173,613,615,135,109,539,540,622,629,630,631,633,656,61,65,63,174,179,175,176,178,177,585,55,56,57,583,584,576,577,578,582,586,587,588,589,590,591,592,593,594,618,619,620,116,117,5,52,58,580,59,579,153,154,157,158,159,625,626,541,652,653,654,655,542,543,180,156,155,163,170,551,552,554,643,646,647,648,649,650,553,164,165,166,167,168,169,644) AND `modResource`.`parent` NOT IN (3,7,105,6,89,104) AND `modResource`.`published` = 1 AND `modResource`.`deleted` = 0 AND `modResource`.`searchable` = 1 AND `modResource`.`context_key` = 'web' ) ORDER BY modResource.menuindex asc "
0.0091891: SQL executed
0.0001202: Total rows: 543
0.0015581: Rows fetched
0.0024860: Returning raw data
0.0009899: Created inline "modChunk" with name "d980adc1aeb51ab5c91d4c4741c276a4"
0.1274941: Rows processed
0.0017729: Saved data to cache "default/sitemap/0d9646"
0.0004001: Created inline "modChunk" with name "be75dd4b9525127c59b774f94767849c"
0.0018659: Rows wrapped
0.1503141: Total time
11 534 336: Memory usage
Комментарии: 4
Возможно какой-то амперсанд не заменился на
& amp; (без пробела)
— стоит посмотреть на эту строку, выяснить какая сущность не была заменена
так почему такое возможно, что какой-то амперсанд не заменился на & amp; ???
Попробуйте посмотреть исходный код страницы.
Возможно вообще не обрабатываются ссылки, не знаю, у вас туда попала ссылка с амперсандом.
Возможно вообще не обрабатываются ссылки, не знаю, у вас туда попала ссылка с амперсандом.
точно попала ссылка с амперсандом! убрала её из выборки и ошибка ушла! Спасибо Вам большое!
Авторизуйтесь или зарегистрируйтесь, чтобы оставлять комментарии.