We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 32982
    • 674 Posts
    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]
      Jabiertxof (formerly XYZVISUAL)
      My bussines: http://marker.es
      https://www.youtube.com/user/jabiertxof/videos
      • 22303 MODX Staff
      • 10,725 Posts
      I haven’t seen or heard of anything like this, and I’m not seeing a problem at the URL?

      Of course I say that, and the next visit it’s blank. You must be working on it. wink
        • 32982
        • 674 Posts
        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
          Jabiertxof (formerly XYZVISUAL)
          My bussines: http://marker.es
          https://www.youtube.com/user/jabiertxof/videos
          • 32982
          • 674 Posts
          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
            Jabiertxof (formerly XYZVISUAL)
            My bussines: http://marker.es
            https://www.youtube.com/user/jabiertxof/videos
            • 32982
            • 674 Posts
            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 &iexcl;esperamos que te entusiasme!
            <strong>An&iacute;mate a patinar </strong>con tus amigos, pareja o familia en esta nueva temporada.</p><p> Ac&eacute;rcate en nuestro <strong>nuevo horario de apertura</strong> y &iexcl;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&iacute;stico o el hockey sobre hielo
            <strong>no dejes de visitar nuestra secci&oacute;n de <a href="/inicio/manager/cursos.html">CURSOS</a> . </strong>
            Hay de todos los niveles y edades.
            <strong>&iexcl;Para patinar nunca es tarde!</strong>
            Empezamos en <strong>octubre</strong>, &iexcl;DESL&Iacute;ZATE YA!
            Y si es la primera vez que vienes. ll&aacute;manos al 948 33 88 55 y <strong>reserva un monitor ARTIC</strong>,
            que te acompa&ntilde;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 &iexcl;esperamos que te entusiasme!
            <strong>An&iacute;mate a patinar </strong>con tus amigos, pareja o familia en esta nueva temporada.</p><p> Ac&eacute;rcate en nuestro <strong>nuevo horario de apertura</strong> y &iexcl;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&iacute;stico o el hockey sobre hielo
            <strong>no dejes de visitar nuestra secci&oacute;n de <a href="/inicio/manager/cursos.html">CURSOS</a> . </strong>
            Hay de todos los niveles y edades.
            <strong>&iexcl;Para patinar nunca es tarde!</strong>
            Empezamos en <strong>octubre</strong>, &iexcl;DESL&Iacute;ZATE YA!
            Y si es la primera vez que vienes. ll&aacute;manos al 948 33 88 55 y <strong>reserva un monitor ARTIC</strong>,
            que te acompa&ntilde;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">
              Jabiertxof (formerly XYZVISUAL)
              My bussines: http://marker.es
              https://www.youtube.com/user/jabiertxof/videos
              • 22303 MODX Staff
              • 10,725 Posts
              Quote from: xyzvisual at Sep 29, 2006, 12:13 PM

              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
              Hmm, I’m still not seeing the issue, and I’ve clicked every link on that page. The content looks like it’s not styled properly, but I don’t see any parser errors or any problems with the cache document you posted. ?? This could be only occuring for you because you are logged into the manager and you likely have some PHP errors/warnings occuring in a snippet? What is the parser error you are seeing?
                • 32982
                • 674 Posts
                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.
                  Jabiertxof (formerly XYZVISUAL)
                  My bussines: http://marker.es
                  https://www.youtube.com/user/jabiertxof/videos
                  • 32982
                  • 674 Posts
                  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
                    Jabiertxof (formerly XYZVISUAL)
                    My bussines: http://marker.es
                    https://www.youtube.com/user/jabiertxof/videos
                    • 13003
                    • 18 Posts
                    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.