eXtplorer - a PHP-based File Manager: Atesin Djhttps://extplorer.net/https://extplorer.net/favicon.ico?16960560042017-12-31T05:11:31ZeXtplorer - a PHP-based File Manager
Redmine eXtplorer - PHP-based File Manager - Help: RE: PHP Error when trying to use eXtplorer?https://extplorer.net/boards/1/topics/209?r=212#message-2122017-12-31T05:11:31ZAtesin Dj
<p>i had the same problem... after cracking my head on the screen i found some suggestion on stack exchange that lead me to php.net Array page</p>
<p>php <= 5.3 (as in centos 6) does not support 'array dereferencing' that is calling an element directly from a function that returns an array, something like</p>
<p>$my_array_element = my_function_that_returns_an_array($blah)[$my_desired_index];</p>
<p>you should use instead</p>
<p>$my_temp_array = my_function_that_returns_an_array($blah);<br />$my_array_element = $my_temp_array[$desired_index];</p>
<p>more info = <a class="external" href="http://php.net/manual/en/language.types.array.php">http://php.net/manual/en/language.types.array.php</a> example <a class="issue tracker-1 status-1 priority-4 priority-default" title="Fehler: context menu download seems to be broken (Neu)" href="https://extplorer.net/issues/7">#7</a></p>
<p>specifically, i fixed this by editing some files, i dont know if the issue are replicated somewhere else</p>
<p>libraries/standalone.php on line 232<br />< $this->_userstate[$var_name] = $iFilter->sanitize( array($this->_userstate[$var_name]) )[0];</p>
<blockquote>
<p>$tmp_arr = $iFilter->sanitize( array($this->_userstate[$var_name]) );$this->_userstate[$var_name] = $tmp_arr<sup><a href="#fn0">0</a></sup>;</p>
</blockquote>
<p>include/functions.php on line 1192<br />< $return = $noHtmlFilter->sanitize( array($return) )[0];</p>
<blockquote>
<p>$tmp_arr = $noHtmlFilter->sanitize( array($return) );$return = $tmp_arr<sup><a href="#fn0">0</a></sup>;</p>
</blockquote> eXtplorer - PHP-based File Manager - Fehler #338 (Neu): problem with sub directories with same namehttps://extplorer.net/issues/3382017-02-02T14:45:32ZAtesin Dj
<p>/vhosts/domain/subdomain/*</p>
<p>/www/netgamer/www/forum/plugins/*</p>
<p>(note the 'www' directories) for ease and security, i set the root path as /www/ so i can manage all my vhosts with 1 extplorer installation</p>
<p>in this case when i try to install plugins, i cannot browse the subdirectories, when i double click it tries to change the name instead</p>
<p>also when i click the 'help/about' button, a message popups: 'the directory //netgamer/www/www/forum does not exists', i had to rename my vhosts dir to access subdirs (centos7 + nginx + explorer 2.1.9)</p>
<p>'hide pattern' option does not work either, i used to hide ^extplorer$ for security reasons, but doesnt work anymore</p>