We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 25663 MODX Staff
    • 12,272 Posts
    Beta 2 has been released. Please update your test environment and report back with results. Thanks folks!
      Ryan Thrash, MODX Co-Founder
      Follow me on Twitter at @rthrash or catch my occasional unofficial thoughts at thrash.me
      • 4041
      • 788 Posts
      This change log post got very large, so I removed it and added it to the attached text file. Many path fixes are there and I’ll update it as new areas are recognized.

      overall I like what I see so far, outstanding job fellas!
        xforum
        http://frsbuilders.net (under construction) forum for evolution
        • 20394
        • 134 Posts
        Hello,
        I did an upgrade from modx 0.9.2 to the second beta.
        In Doc Manager -> Sort Menu Items, I select a document, click on "go" and get
        Fatal error: Class ’SLLists’ not found in C:\wamp\www\modx\assets\modules\docmanager\includes\process.inc.php on line 362
          • 10487 MODX Staff
          • 1,535 Posts
          Hi mrcou, try copying over the SLLists.class.php into the /assets/docmanager/includes/ folder. I’m wondering if the file was perhaps not copied over properly during your upgrade.
            Garry Nutting
            Senior Developer
            MODX, LLC

            Email: [email protected]
            Twitter: @garryn
            Web: modx.com
            • 20394
            • 134 Posts
            Hi garryin,
            the file SLLists.class.php is indeed in my folder /assets/docmanager/includes/

            When I copy the definition of the class inside /assets/docmanager/includes/process.inc.php, everything work properly, unless perhaps the following lines appearing under the sortable list :
            jsPath = $jsPath; } function addList($list, $input, $tag = ’li’, $additionalOptions = ’’) { if ($additionalOptions != ’’) $additionalOptions = ’,’.$additionalOptions; $this->lists[] = array("list" => $list, "input" => $input, "tag" => $tag, "additionalOptions" => $additionalOptions); } function printHiddenInputs() { $inputType = ($this->debug) ? ’text’ : ’hidden’; foreach($this->lists as $list) { if ($this->debug) echo ’
            ’.$list[’input’].’: ’; $output.=""; } if ($this->debug) $output.= ’
            ’; return $output; } function printForm($action, $method = ’POST’, $submitText = ’Submit’, $submitClass = ’’,$formName = ’sortableListForm’) { $output.="
            "; $output.= $this->printHiddenInputs(); $output.= ""; if ($this->debug) { $output.= "
            "; } $output.= "
            "; return $output; } function printTopJS() { $output.=" "; return $output; } function printBottomJs() { $output=’ ’; return $output; } function getOrderArray($input,$listname,$itemKeyName = ’element’,$orderKeyName = ’order’) { parse_str($input,$inputArray); $inputArray = $inputArray[$listname]; $orderArray = array(); for($i=0;$i $inputArray[$i], $orderKeyName => $i +1); } return $orderArray; } }
              • 8382
              • 253 Posts
              Hi, All
              manager/frames/3.php line 370
                  <td width="1%" id="button7" align="right" onclick="updateTree();" title="<?php echo $_lang['sort_tree']; ?>"><img src='media/style/<?php echo $manager_theme ? "$manager_theme/":""; ?>images/sort.gif'>
              

              The last part of this line "images/sort.gif" shuld be "images/icons/sort.gif"

              Thanks wink
                • 10487 MODX Staff
                • 1,535 Posts
                Quote from: mrcou at Sep 14, 2006, 06:45 AM

                the file SLLists.class.php is indeed in my folder /assets/docmanager/includes/

                When I copy the definition of the class inside /assets/docmanager/includes/process.inc.php, everything work properly, unless perhaps the following lines appearing under the sortable list ...
                This looks like the file may have been corrupted on the upload, try reuploading the SLLists.class.php again. If not, I’ll have to run a few tests later when I finish work.
                  Garry Nutting
                  Senior Developer
                  MODX, LLC

                  Email: [email protected]
                  Twitter: @garryn
                  Web: modx.com
                  • 6726
                  • 7,075 Posts
                  I have updated a website from 0.9.2.1 to rev1417 and came accross a few problems.

                  1) my urls are appended with a phpMyAdmin parameter, like this : http://www.mysite.net/?phpMyAdmin=oC9KlztD-dmWVQPm2xxz4cZJvF
                  (It does the same on my local MAMP install and on my dedicated)


                  This is the url I get when I click Site > View Site in the manager.

                  It seems that the site_url variable got messed up after a local -> web transfer. It happened to me previously (anyone know why ?). Anyway, it’s not a beta related problem, never mind.

                  2) there is a problem with the Document Template Changer Module, I get
                  "Document Template Changer - Module runtime error:
                  An error occurred while loading the module. Please see the event log."

                  The event log says :
                  "filename: ../manager/includes/controls/datagrid.class.php, exec_fname: /home/gican/www/manager/processors/execute_module.processor.php(103) : eval()’d code, filepath: /home/gican/www/manager/processors/../manager/includes/controls/datagrid.class.php"

                  When I go to the Doc Manager Module and change templates, works just fine (BTW, why keep the Document Template changer, the Doc Manager has this feature integrated, no ?)






                    .: COO - Commerce Guys - Community Driven Innovation :.


                    MODx est l&#39;outil id
                    • 10487 MODX Staff
                    • 1,535 Posts
                    When I go to the Doc Manager Module and change templates, works just fine (BTW, why keep the Document Template changer, the Doc Manager has this feature integrated, no ?)
                    Absolutely agree, I will be deprecating the Document Template Changer module when 0.9.5 hits the final release. Not sure what causes the error at the moment, but the important thing is that the Document Manager module works okay.

                    EDIT: Problem with the existing Template Changer is an issue with the base path not being prepended to the file path for the include. It’s not MODx 0.9.5 related.
                      Garry Nutting
                      Senior Developer
                      MODX, LLC

                      Email: [email protected]
                      Twitter: @garryn
                      Web: modx.com
                      • 28346
                      • 30 Posts
                      I get this on every page of my site after upgrade to Beta2:
                      « MODx Parse Error »
                      MODx encountered the following error while attempting to parse the requested resource:
                      « PHP Parse Error »
                       
                      PHP error debug
                        Error: 	array_values() [function.array-values]: The argument should be an array	 
                        Error type/ Nr.: 	Warning - 2	 
                        File: 	D:\www\webroot\baycollege.dev\manager\includes\document.parser.class.inc.php(724) : eval()'d code	 
                        Line: 	372
                      


                      Anyone else see this?

                      Server is running Windows Server 2003 Standard with: Apache/2.2.0 (Win32); PHP/5.1.2; MySQL 5.0.20

                      This discussion is closed to further replies. Keep calm and carry on.