Project

General

Profile

Bug #23335 » backend.html

Administrator Admin, 2010-08-02 16:10

 
<!DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xml:lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>

<title>TYPO3 Exception</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<style type="text/css">
.ExceptionProperty {
color: #101010;
}
pre {
margin: 0;
font-size: 11px;
color: #515151;
background-color: #D0D0D0;
padding-left: 30px;
}
</style>
</head><body>
<div style="margin: 10px; padding: 0pt; position: absolute; left: 10px; background-color: rgb(185, 185, 185); outline-color: rgb(81, 81, 81); outline-style: solid; outline-width: 1px; color: rgb(81, 81, 81); font-family: Arial,Helvetica,sans-serif; font-size: 12px;">
<div style="margin: 0pt 0pt 6px; padding: 2px; width: 100%; background-color: rgb(81, 81, 81); color: white;">Uncaught TYPO3 Exception</div>
<div style="margin: 0pt 0pt 6px; padding: 2px; width: 100%;">
<strong style="color: rgb(190, 0, 39);">#1:
PHP Catchable Fatal Error: Argument 2 passed to
t3lib_iconWorks::getSpriteIconForRecord() must be an array, null given,
called in /srv/www/www/typo3_src-4.4.1/t3lib/class.t3lib_treeview.php
on line 663 and defined in
/srv/www/www/typo3_src-4.4.1/t3lib/class.t3lib_iconworks.php line 735</strong> <br>
<br>
<span class="ExceptionProperty">t3lib_error_Exception</span> thrown in file<br>
<span class="ExceptionProperty">/srv/www/www/typo3_src-4.4.1/t3lib/error/class.t3lib_error_errorhandler.php</span> in line
<span class="ExceptionProperty">101</span>.<br>
<br>
<pre style="padding: 4px 2px; color: rgb(105, 165, 80); background-color: rgb(65, 65, 65);"><span style="color: white;">14</span> t3lib_error_ErrorHandler<span style="color: white;">::</span>handleError<span style="color: white;">(<span style="color: rgb(255, 135, 0);">4096</span><span style="color: white;">,</span> "<span style="color: rgb(255, 135, 0);" title="Argument 2 passed to t3lib_iconWorks::getSpriteIconForRecord() must be an array, null given, called in /srv/www/www/typo3_src-4.4.1/t3lib/class.t3lib_treeview.php on line 663 and defined">Argument 2 passed to t3lib_iconWorks::getSpriteIco<span style="color: white;"></span>b/class.t3lib_treeview.php on line 663 and defined</span>"<span style="color: white;">,</span> "<span style="color: rgb(255, 135, 0);" title="/srv/www/www/typo3_src-4.4.1/t3lib/class.t3lib_iconworks.php">/srv/www/www/typo3_src-4.4.1/t3lib/class.t3lib_iconworks.php</span>"<span style="color: white;">,</span> <span style="color: rgb(255, 135, 0);">735</span><span style="color: white;">,</span> <span style="color: rgb(255, 135, 0);"><em>array</em></span>)</span></pre><br><span style="font-size: 10px;">/srv/www/www/typo3_src-4.4.1/t3lib/class.t3lib_iconworks.php:</span><br><pre>00733: * @access public
00734: */
</pre><pre style="background-color: rgb(241, 241, 241); color: black;">00735: public static function getSpriteIconForRecord($table, array $row, array $options = array()) {
</pre><pre>00736: $innerHtml = (isset($options['html']) ? $options['html'] : '');
00737: $tagName = (isset($options['tagName']) ? $options['tagName'] : 'span');
</pre><br><pre style="padding: 4px 2px; color: rgb(105, 165, 80); background-color: rgb(65, 65, 65);"><span style="color: white;">13</span> t3lib_iconWorks<span style="color: white;">::</span>getSpriteIconForRecord<span style="color: white;">("<span style="color: rgb(255, 135, 0);" title="pages">pages</span>"<span style="color: white;">,</span> <span style="color: rgb(255, 135, 0);"><em>NULL</em></span><span style="color: white;">,</span> <span style="color: rgb(255, 135, 0);"><em>array</em></span>)</span></pre><br><span style="font-size: 10px;">/srv/www/www/typo3_src-4.4.1/t3lib/class.t3lib_treeview.php:</span><br><pre>00661: 'title' =&gt; ($this-&gt;showDefaultTitleAttribute ? 'UID: ' . $row['uid'] : $this-&gt;getTitleAttrib($row)),
00662: 'class' =&gt; 'c-recIcon'
</pre><pre style="background-color: rgb(241, 241, 241); color: black;">00663: ));
</pre><pre>00664:
00665: }
</pre><br><pre style="padding: 4px 2px; color: rgb(105, 165, 80); background-color: rgb(65, 65, 65);"><span style="color: white;">12</span> t3lib_treeView<span style="color: white;">::</span>getIcon<span style="color: white;">(<span style="color: rgb(255, 135, 0);"><em>NULL</em></span>)</span></pre><br><span style="font-size: 10px;">/srv/www/www/htdocs/typo3conf/ext/tt_news/lib/class.tx_ttnews_categorytree.php:</span><br><pre>00123: if ($uid) {
00124: $rootRec = $this-&gt;getRecord($uid);
</pre><pre style="background-color: rgb(241, 241, 241); color: black;">00125: $firstHtml .= $this-&gt;getIcon($rootRec);
</pre><pre>00126: } else {
00127:
</pre><br><pre style="padding: 4px 2px; color: rgb(105, 165, 80); background-color: rgb(65, 65, 65);"><span style="color: white;">11</span> tx_ttnews_categorytree<span style="color: white;">::</span>getBrowsableTree<span style="color: white;">(<span style="color: rgb(255, 135, 0);"><em>boolean</em></span>)</span></pre><br><span style="font-size: 10px;">/srv/www/www/htdocs/typo3conf/ext/tt_news/lib/class.tx_ttnews_TCAform_selectTree.php:</span><br><pre>00677:
00678: // render tree html
</pre><pre style="background-color: rgb(241, 241, 241); color: black;">00679: $treeContent = $sPageIcon.$treeViewObj-&gt;getBrowsableTree($groupByPages);
</pre><pre>00680: $this-&gt;treeObj_ajaxStatus = $treeViewObj-&gt;ajaxStatus;
00681:
</pre><br><pre style="padding: 4px 2px; color: rgb(105, 165, 80); background-color: rgb(65, 65, 65);"><span style="color: white;">10</span> tx_ttnews_TCAform_selectTree<span style="color: white;">::</span>renderCatTree<span style="color: white;">()</span></pre><br><span style="font-size: 10px;">/srv/www/www/htdocs/typo3conf/ext/tt_news/lib/class.tx_ttnews_TCAform_selectTree.php:</span><br><pre>00262:
00263: // render the tree
</pre><pre style="background-color: rgb(241, 241, 241); color: black;">00264: $treeContent = '<span id="tt_news_cat_tree">'.$this-&gt;renderCatTree().'<span>';
</span></span></pre><pre>00265:
00266: if ($defItems[0]) { // add default items to the tree table. In this case the value: "[not categorized]"
</pre><br><pre style="padding: 4px 2px; color: rgb(105, 165, 80); background-color: rgb(65, 65, 65);"><span style="color: white;">9</span> tx_ttnews_TCAform_selectTree<span style="color: white;">::</span>renderCategoryFields<span style="color: white;">(<span style="color: rgb(255, 135, 0);"><em>array</em></span><span style="color: white;">,</span> <span style="color: rgb(255, 135, 0);"><em>ux_t3lib_TCEforms</em></span>)</span></pre><pre style="padding: 4px 2px; color: rgb(105, 165, 80); background-color: rgb(65, 65, 65);"><span style="color: white;">8</span> call_user_func_array<span style="color: white;">(<span style="color: rgb(255, 135, 0);"><em>array</em></span><span style="color: white;">,</span> <span style="color: rgb(255, 135, 0);"><em>array</em></span>)</span></pre><br><span style="font-size: 10px;">/srv/www/www/typo3_src-4.4.1/t3lib/class.t3lib_div.php:</span><br><pre>05115: array(&amp;$classObj, $parts[1]),
05116: array(&amp;$params, &amp;$ref)
</pre><pre style="background-color: rgb(241, 241, 241); color: black;">05117: );
</pre><pre>05118: } else {
05119: $errorMsg = "<strong>ERROR:</strong> No method name '".$parts[1]."' in class ".$parts[0];
</pre><br><pre style="padding: 4px 2px; color: rgb(105, 165, 80); background-color: rgb(65, 65, 65);"><span style="color: white;">7</span> t3lib_div<span style="color: white;">::</span>callUserFunction<span style="color: white;">("<span style="color: rgb(255, 135, 0);" title="tx_ttnews_TCAform_selectTree-&gt;renderCategoryFields">tx_ttnews_TCAform_selectTree-&gt;renderCategoryFields</span>"<span style="color: white;">,</span> <span style="color: rgb(255, 135, 0);"><em>array</em></span><span style="color: white;">,</span> <span style="color: rgb(255, 135, 0);"><em>ux_t3lib_TCEforms</em></span>)</span></pre><br><span style="font-size: 10px;">/srv/www/www/typo3_src-4.4.1/t3lib/class.t3lib_tceforms.php:</span><br><pre>02958: $PA['pObj']=&amp;$this;
02959:
</pre><pre style="background-color: rgb(241, 241, 241); color: black;">02960: return t3lib_div::callUserFunction($PA['fieldConf']['config']['userFunc'],$PA,$this);
</pre><pre>02961: }
02962:
</pre><br><pre style="padding: 4px 2px; color: rgb(105, 165, 80); background-color: rgb(65, 65, 65);"><span style="color: white;">6</span> t3lib_TCEforms<span style="color: white;">::</span>getSingleField_typeUser<span style="color: white;">("<span style="color: rgb(255, 135, 0);" title="be_users">be_users</span>"<span style="color: white;">,</span> "<span style="color: rgb(255, 135, 0);" title="tt_news_categorymounts">tt_news_categorymounts</span>"<span style="color: white;">,</span> <span style="color: rgb(255, 135, 0);"><em>array</em></span><span style="color: white;">,</span> <span style="color: rgb(255, 135, 0);"><em>array</em></span>)</span></pre><br><span style="font-size: 10px;">/srv/www/www/typo3_src-4.4.1/t3lib/class.t3lib_tceforms.php:</span><br><pre>01018: break;
01019: case 'user':
</pre><pre style="background-color: rgb(241, 241, 241); color: black;">01020: $item = $this-&gt;getSingleField_typeUser($table,$field,$row,$PA);
</pre><pre>01021: break;
01022: case 'flex':
</pre><br><pre style="padding: 4px 2px; color: rgb(105, 165, 80); background-color: rgb(65, 65, 65);"><span style="color: white;">5</span> t3lib_TCEforms<span style="color: white;">::</span>getSingleField_SW<span style="color: white;">("<span style="color: rgb(255, 135, 0);" title="be_users">be_users</span>"<span style="color: white;">,</span> "<span style="color: rgb(255, 135, 0);" title="tt_news_categorymounts">tt_news_categorymounts</span>"<span style="color: white;">,</span> <span style="color: rgb(255, 135, 0);"><em>array</em></span><span style="color: white;">,</span> <span style="color: rgb(255, 135, 0);"><em>array</em></span>)</span></pre><br><span style="font-size: 10px;">/srv/www/www/typo3_src-4.4.1/t3lib/class.t3lib_tceforms.php:</span><br><pre>00907:
00908: // Based on the type of the item, call a render function:
</pre><pre style="background-color: rgb(241, 241, 241); color: black;">00909: $item = $this-&gt;getSingleField_SW($table,$field,$row,$PA);
</pre><pre>00910:
00911: // Add language + diff
</pre><br><pre style="padding: 4px 2px; color: rgb(105, 165, 80); background-color: rgb(65, 65, 65);"><span style="color: white;">4</span> t3lib_TCEforms<span style="color: white;">::</span>getSingleField<span style="color: white;">("<span style="color: rgb(255, 135, 0);" title="be_users">be_users</span>"<span style="color: white;">,</span> "<span style="color: rgb(255, 135, 0);" title="tt_news_categorymounts">tt_news_categorymounts</span>"<span style="color: white;">,</span> <span style="color: rgb(255, 135, 0);"><em>array</em></span><span style="color: white;">,</span> "<span style="color: rgb(255, 135, 0);" title=""></span>"<span style="color: white;">,</span> <span style="color: rgb(255, 135, 0);">0</span><span style="color: white;">,</span> "<span style="color: rgb(255, 135, 0);" title=""></span>"<span style="color: white;">,</span> "<span style="color: rgb(255, 135, 0);" title=""></span>")</span></pre><br><span style="font-size: 10px;">/srv/www/www/typo3_src-4.4.1/t3lib/class.t3lib_tceforms.php:</span><br><pre>00569: $this-&gt;palettesRendered[$this-&gt;renderDepth][$table][$parts[2]] = 1;
00570: }
</pre><pre style="background-color: rgb(241, 241, 241); color: black;">00571: $sField = $this-&gt;getSingleField($table,$theField,$row,$parts[1],0,$parts[3],$parts[2]);
</pre><pre>00572: if ($sField) { $sField.= $sFieldPal; }
00573:
</pre><br><pre style="padding: 4px 2px; color: rgb(105, 165, 80); background-color: rgb(65, 65, 65);"><span style="color: white;">3</span> t3lib_TCEforms<span style="color: white;">::</span>getMainFields<span style="color: white;">("<span style="color: rgb(255, 135, 0);" title="be_users">be_users</span>"<span style="color: white;">,</span> <span style="color: rgb(255, 135, 0);"><em>array</em></span>)</span></pre><br><span style="font-size: 10px;">/srv/www/www/typo3_src-4.4.1/typo3/alt_doc.php:</span><br><pre>00772: }
00773: } else {
</pre><pre style="background-color: rgb(241, 241, 241); color: black;">00774: $panel.= $this-&gt;tceforms-&gt;getMainFields($table,$rec);
</pre><pre>00775: }
00776: $panel = $this-&gt;tceforms-&gt;wrapTotal($panel,$rec,$table);
</pre><br><pre style="padding: 4px 2px; color: rgb(105, 165, 80); background-color: rgb(65, 65, 65);"><span style="color: white;">2</span> SC_alt_doc<span style="color: white;">::</span>makeEditForm<span style="color: white;">()</span></pre><br><span style="font-size: 10px;">/srv/www/www/typo3_src-4.4.1/typo3/alt_doc.php:</span><br><pre>00537:
00538: // Creating the editing form, wrap it with buttons, document selector etc.
</pre><pre style="background-color: rgb(241, 241, 241); color: black;">00539: $editForm = $this-&gt;makeEditForm();
</pre><pre>00540:
00541: if ($editForm) {
</pre><br><pre style="padding: 4px 2px; color: rgb(105, 165, 80); background-color: rgb(65, 65, 65);"><span style="color: white;">1</span> SC_alt_doc<span style="color: white;">::</span>main<span style="color: white;">()</span></pre><br><span style="font-size: 10px;">/srv/www/www/typo3_src-4.4.1/typo3/alt_doc.php:</span><br><pre>01487: // Main:
01488: $SOBE-&gt;init();
</pre><pre style="background-color: rgb(241, 241, 241); color: black;">01489: $SOBE-&gt;main();
</pre><pre>01490: $SOBE-&gt;printContent();
01491:
</pre><br>
</div>
</div>
</body></html>
    (1-1/1)