Fatal error: Class ’SLLists’ not found in C:\wamp\www\modx\assets\modules\docmanager\includes\process.inc.php on line 362
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; } }
<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'>
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.
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 ...
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.
« 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
This discussion is closed to further replies. Keep calm and carry on.