hi i update a instalation from 9.2 to 9.5 and in the page render sometimes the parser go ok sometimes not the url is
http://www.hieloartic.com/inicio/palacio_de_hielo/bienvenidos.html and sometimes the parser duplicate the contents and change the value in the template [*description*] to something like [*description]] is very strange y couldent find solution, first i think is a problem whith friendly paths but no change it and still gibing errors.
anyone whith the same problem?
thanks in advance.
[moderator note: problems in title changed to questions since a problem is not yet identified here]
sorry i re uploading the modx site again for could be a bad upload i post when done
another question you need to go to the page bienvenidos first in the menu sometimes and sometimes go well the first time but the second and the others i think the parser go bad. another thing could be is in my upgrade in the for example template list i have a template with a category but in the list aren’t the category i select and the undefined category show in a fresh install. could be it the problem and when finish uploading, if the problem still be, i select nothing to this category for see if this is the problem. post when done
now finish uploading test categories and the problem still happens, only go two or thee times whith the menu to the first item and you can see
thanks
in the manager the cache of the document show this (think athe problem is whith the cache)
<?php die(’Unauthorized access.’); ?>a:38:{s:2:"id";s:2:"17";s:4:"type";s:8:"document";s:11:"contentType";s:9:"text/html";s:9:"pagetitle";s:11:"Bienvenidos";s:9:"longtitle";s:28:"Bienvenidos a hieloartic.com";s:11:"description";s:157:"Esta es la página web de el Palacio de Hielo de Huarte (Navarra), esperamos pasen un agradable rato con nosotros y verles pronto por nuestras insatalacioines";s:5:"alias";s:11:"bienvenidos";s:15:"link_attributes";s:0:"";s:9:"published";s:1:"1";s:8:"pub_date";s:1:"0";s:10:"unpub_date";s:1:"0";s:6:"parent";s:2:"15";s:8:"isfolder";s:1:"0";s:9:"introtext";s:0:"";s:7:"content";s:955:"<p>Bienvenido a <strong>ARTIC Palacio de Hielo</strong>, un mundo de sensaciones heladas que ¡esperamos que te entusiasme!
<strong>Anímate a patinar </strong>con tus amigos, pareja o familia en esta nueva temporada.</p><p> Acércate en nuestro <strong>nuevo horario de apertura</strong> y ¡No te olvide los guantes! </p><p>Y si quieres aprender a patinar con estilo o eres un experto y lo tuyo es el patinaje artístico o el hockey sobre hielo
<strong>no dejes de visitar nuestra sección de <a href="/inicio/manager/cursos.html">CURSOS</a> . </strong>
Hay de todos los niveles y edades.
<strong>¡Para patinar nunca es tarde!</strong>
Empezamos en <strong>octubre</strong>, ¡DESLÍZATE YA!
Y si es la primera vez que vienes. llámanos al 948 33 88 55 y <strong>reserva un monitor ARTIC</strong>,
que te acompañe y te oriente la primera hora. </p>";s:8:"richtext";s:1:"1";s:8:"template";s:1:"6";s:9:"menuindex";s:1:"0";s:10:"searchable";s:1:"1";s:9:"cacheable";s:1:"1";s:9:"createdby";s:1:"0";s:9:"createdon";s:1:"0";s:8:"editedby";s:1:"1";s:8:"editedon";s:10:"1159549704";s:7:"deleted";s:1:"0";s:9:"deletedon";s:1:"0";s:9:"deletedby";s:1:"0";s:11:"publishedon";s:1:"0";s:11:"publishedby";s:1:"0";s:9:"menutitle";s:15:"bienvenidos.gif";s:7:"donthit";s:1:"0";s:11:"haskeywords";s:1:"0";s:11:"hasmetatags";s:1:"0";s:10:"privateweb";s:1:"0";s:10:"privatemgr";s:1:"0";s:13:"content_dispo";s:1:"0";s:8:"hidemenu";s:1:"0";s:17:"__MODxDocGroups__";s:0:"";}<!--__MODxCacheSpliter__--><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<title>artic || palacio de hielo</title>
<meta http-equiv="generator" content="artic" />
<link href="http://www.hieloartic.com/inicio/artic_css2.css" rel="stylesheet" type="text/css" />
</head>
<body background="http://www.hieloartic.com/inicio/assets/images/fondohielo.jpg">
<div class="principal"><img src="http://www.hieloartic.com/inicio/images/logoartic.jpg" alt="" border="0" /><div class="contenidos" ><div class="lateral">[[menufin]]</div><div class="loEsta es la página web de el Palacio de Hielo de Huarte (Navarra), esperamos pasen un agradable rato con nosotros y verles pronto por nuestras insatalacioinestitle]]</div><div class="des<p>Bienvenido a <strong>ARTIC Palacio de Hielo</strong>, un mundo de sensaciones heladas que ¡esperamos que te entusiasme!
<strong>Anímate a patinar </strong>con tus amigos, pareja o familia en esta nueva temporada.</p><p> Acércate en nuestro <strong>nuevo horario de apertura</strong> y ¡No te olvide los guantes! </p><p>Y si quieres aprender a patinar con estilo o eres un experto y lo tuyo es el patinaje artístico o el hockey sobre hielo
<strong>no dejes de visitar nuestra sección de <a href="/inicio/manager/cursos.html">CURSOS</a> . </strong>
Hay de todos los niveles y edades.
<strong>¡Para patinar nunca es tarde!</strong>
Empezamos en <strong>octubre</strong>, ¡DESLÍZATE YA!
Y si es la primera vez que vienes. llámanos al 948 33 88 55 y <strong>reserva un monitor ARTIC</strong>,
que te acompañe y te oriente la primera hora. </p>*description]]</div><div class="content" >[[*content]]</div></div>
<div class="links">
<div class="linkscontainer" >
<div class="linksmini">
<a class="bottombar" href="/inicio/palacio_de_hielo/bienvenidos.html">
isn’t a parser error i test with it and if i unchecked put in cache all work well and if i put in cache the cache file is wrong generated, now i put with cache checked (errors) and here is the image with the two sows.
in the site i have a sinippet for the menu,
<?php
$children = $modx->getDocumentChildren(15 ,1,0,’id,menutitle,pagetitle,alias,description,longtitle,hidemenu’, ’hidemenu=0’,’menuindex ASC,pagetitle’, ’ASC’);
$childrenCount = count($children);
if($children==false) {
return ’’;
}
$menu .= ’<div class="menu">’;
for($x=0; $x<$childrenCount; $x++) {
if ($children[$x][’id’]==$modx->documentObject[’id’]||$children[$x][’id’]==$modx->documentObject[’parent’]){
$menu .= ’<div id="menu’.$x.’" class="mainmenu"><a class="selected" href="’.$modx->makeUrl($children[$x][’id’]).’">’.$children[$x][’pagetitle’].’</a><img width="50" height="50" src="[(base_url)]images/’.$children[$x][’menutitle’].’" align="middle" alt="" border="0" /></div>’;
}else{
$menu .= ’<div class="mainmenu" id="menu’.$x.’" ><img src="[(base_url)]images/’.$children[$x][’menutitle’].’" width="30" height="30" align="middle" alt="" border="0" /><a class="noselected" href="’.$modx->makeUrl($children[$x][’id’]).’">’.$children[$x][’pagetitle’].’</a></div>’;
}}
$menu .= "</div>";
return $menu;
?>
and if i call to it [[]] all go well bit if i call to it [!!] the problems in the picture shows, i surf in the core code for look in document.parser.class.php and in cache.sync.class.preocessor.php to find the problem but i couldent find it
Could be a snippet problem? i use this snipet for a lot of tieme and never go bad by his easy code, i dont understand whats happend.?
hi
xyz, it looks to me like there are some HTML + snippet call errors in the "cached" code. Could you please paste the *original* page source? (the page source that you put into MODx)
I’m wondering if it’s just some badly formed HTML that is killing the parser.