We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 24075
    • 83 Posts
    Hi!
    After upgrade from 2.3.0 to 2.3.1 every my snippet message error:

    Chyba
    Kód: 404 Not Found
    {"success":false,"message":"Procesor \"getlist\" nenalezen.","total":0,"data":[],"object":[]}


    ??
    Previous 2.3.0 has no error message
      Petr Püschel, Czech Republic
      <hr>
      http://puschpull.org
      <hr>
    • Can you elaborate on the Snippet?
        • 24075
        • 83 Posts
        for example:


        <?php
        if (isset($_POST['id_galerie'])) {$id_galerie = $_POST['id_galerie']; }
        				  //$update = 1;
        				  
        if (isset($_POST['title'])) {$title = $_POST['title'];}
        if (isset($_POST['name_cz'])) {$name_cz = $_POST['name_cz'];}
        if (isset($_POST['name_lat'])) {$name_lat = $_POST['name_lat'];}
        //if (isset($_POST['kategorie'])) {$kategorie = $_POST['kategorie'];}
        //if (isset($_POST['name'])) {$name = $_POST['name'];}
        if (isset($_POST['sel_cat'])) {$kategorie = $_POST['sel_cat'];}
        if (isset($_POST['kde'])) {$kde = $_POST['kde'];}				  
        if (isset($_POST['kdy'])) {$kdy = $_POST['kdy'];}				  
        if (isset($_POST['copyright'])) {$copyright = $_POST['copyright'];}				  
        if (isset($_POST['short_text'])) {$short_text = $_POST['short_text'];}				  
        //if (isset($_POST['upload_date_time'])) {$upload_date_time = $_POST['upload_date_time'];}				  
        if (isset($_POST['display'])) {$display = $_POST['display'];}
        if (isset($_POST['permission'])) {$permission = $_POST['permission'];}
        //if (isset($_POST['picture_name'])) {$picture_name = $_POST['picture_name'];}				  
        //if (isset($_POST['path_large'])) {$path_large = $_POST['path_large'];}				  
        //if (isset($_POST['thumbs_name'])) {$thumbs_name = $_POST['thumbs_name'];}				  
        //if (isset($_POST['path_thumbs'])) {$path_thumbs = $_POST['thumbs_name'];}				  
        				  
        				  //else {$update = 0;}
        
        // echo '<br>Update: (ano či ne) '.$update.'<br>';
        
        //if ($update == 1) {
          
        
        /*
        echo '<br>Aktualizace dat v databazi<br>';
        
        echo 'Aktuálně poslední vložená data jsou:';
        echo '<br>';
        echo '-----------------------------------------------------';
        echo '<br>';
        
        echo 'ID obrázku:    <font face="Tahoma" size="3" color="#FF8C00">'.$id_galerie;
        echo '</font><br>';
        echo 'Název obrázku:    <font face="Tahoma" size="3" color="#FF8C00">'.$title;
        echo '</font><br>';
        echo 'Jméno - česky:    <font face="Tahoma" size="3" color="#FF8C00">'.$name_cz;
        echo '</font><br>';
        echo 'Jméno - latinsky:    <font face="Tahoma" size="3" color="#FF8C00">'.$name_lat;
        echo '</font><br>';
        echo 'Name:    <font face="Tahoma" size="3" color="#FF8C00">'.$name;
        echo '</font><br>';
             
        echo 'Kategorie:    <font face="Tahoma" size="3" color="#FF8C00">'.$kategorie;
        echo '</font><br>';
        echo 'sel_cat:    <font face="Tahoma" size="3" color="#FF8C00">'.$sel_cat;
        echo '</font><br>';
             
        echo 'Kde byl snímek pořízen:    <font face="Tahoma" size="3" color="#FF8C00">'.$kde;
        echo '</font><br>';
        echo 'Kdy byl snímek pořízen:    <font face="Tahoma" size="3" color="#FF8C00">'.$kdy;
        echo '</font><br>';
        echo 'Autor / copyright:    <font face="Tahoma" size="3" color="#FF8C00">'.$copyright;
        echo '</font><br>';
        echo 'Popis nahoře:    <font face="Tahoma" size="3" color="#FF8C00">'.$short_text;
        echo '</font><br>';
        echo 'Datum a čas vložení snímku:    <font face="Tahoma" size="3" color="#FF8C00">'.$upload_date_time;
        echo '</font><br>';
        echo 'Zobrazit obrázek v galerii?:    <font face="Tahoma" size="3" color="#FF8C00">'.$display;
        echo '</font><br>';
        echo 'Práva k prohlížení snímku:    <font face="Tahoma" size="3" color="#FF8C00">'.$permission;
        echo '</font><br>';
        */
        
        $path2 = MODX_CORE_PATH . 'components/ppgal/';
        $result2 = $modx->addPackage('ppgal',$path2 . 'model/','pp_');
        
        if($result2){
          if ($up = $modx->getObject('Galerie',array('id_galerie'=>$id_galerie))){
            $up->set('title',$title);
            $up->set('name_cz',$name_cz);
            $up->set('name_lat',$name_lat);
            $up->set('kategorie',$kategorie);
            $up->set('kde',$kde);
            $up->set('kdy',$kdy);
            $up->set('copyright',$copyright);
            $up->set('permission',$permission);
            $up->set('display',$display);
            $up->set('short_text',$short_text);
            $up->save();
          }
        }
        
          //}
        
        return '';
          Petr Püschel, Czech Republic
          <hr>
          http://puschpull.org
          <hr>
        • I don't understand how that snippet has any correlation to the error message.
            • 3749
            • 24,544 Posts
            Does it happen when you run the snippet, or when you try to save it.
              Did I help you? Buy me a beer
              Get my Book: MODX:The Official Guide
              MODX info for everyone: http://bobsguides.com/modx.html
              My MODX Extras
              Bob's Guides is now hosted at A2 MODX Hosting
              • 24075
              • 83 Posts
              In Manager when trying to open snippet the Editor
                Petr Püschel, Czech Republic
                <hr>
                http://puschpull.org
                <hr>
                • 24075
                • 83 Posts
                Is it weird, on another computer is this OK. No popup window with this text:
                Chyba
                Kód: 404 Not Found
                {"success":false,"message":"Procesor \"getlist\" nenalezen.","total":0,"data":[],"object":[]}
                


                both PC: W7 (one 32-bit, second 64-bit)
                Browser is Gogle Chrome
                Possible some addons for chrome (AdBlock, ...) ??
                I do not understand
                  Petr Püschel, Czech Republic
                  <hr>
                  http://puschpull.org
                  <hr>
                  • 3749
                  • 24,544 Posts
                  It sounds like a missing or corrupted file in the install, or a permissions issue with the processors directory.

                  If you can edit chunks and plugins, it's most likely a missing or corrupted file. If you can edit chunks but not plugins and snippets, it might be mod_security.
                    Did I help you? Buy me a beer
                    Get my Book: MODX:The Official Guide
                    MODX info for everyone: http://bobsguides.com/modx.html
                    My MODX Extras
                    Bob's Guides is now hosted at A2 MODX Hosting
                    • 24075
                    • 83 Posts
                    I can edit and save snippet, chunks, ... all

                    In 2.3.0 is this problem OK

                    Can I make a new upload all the files "modx-2.3.1-pl" via FTP ...
                      Petr Püschel, Czech Republic
                      <hr>
                      http://puschpull.org
                      <hr>
                      • 24075
                      • 83 Posts
                      Strange thing is that on one PC is this OK and onother no
                        Petr Püschel, Czech Republic
                        <hr>
                        http://puschpull.org
                        <hr>