Hello,

We have installed filebrowser manager on www.sharedbans.com and clicking on a directory works fine but then as soon as the file itself comes it thinks its a directory aswell??

http://www.sharedbans.com/filebrowser/sharedbans+plugins/cvar-x

Try clicking the zip file in there and then it says:
cvarx-rc1.zip directory
Unable to get files for this directory

Any idea how that is possible or are there also alternatives for this like a download manager?

Comments

mrmachine’s picture

I get the same problem. I'm using PHP5, i've read that there are problems with this version and filebrowser?

apg’s picture

I also have had similar experiences. After installing the filebrowser module, and navigating to /filebrowser I received the error:
Unable to get files for this directory

Since I knew the directory was empty, I cp'd a file or two to the root dir defined in admin>>settings>>filebrowser. Upon browsing to the url /filebrowser I was then greeted with the multiple occurances of the error messages:
Message array_merge() [function.array-merge]: Argument #2 is not an array in /var/www/drupal/modules/filebrowser.module on line 242
Message Invalid argument supplied for foreach() in /var/www/drupal/includes/theme.inc on line 749

This is with a fresh install of drupal 4.7, gentoo distro with: dev-db/postgresql-8.0.4, net-www/apache-2.0.55-r1, dev-lang/php-5.1.2

hope this helps...

-al

marczeeee’s picture

I have the same errors, I installed the filebrowser plugin under Drupal 4.7 and when I try to open the files directory, it drops me a lot of errors like these:

# warning: array_merge() [function.array-merge]: Argument #2 is not an array in /var/www/web/proginf/modules/filebrowser/filebrowser.module on line 259.
# warning: array_merge() [function.array-merge]: Argument #2 is not an array in /var/www/web/proginf/modules/filebrowser/filebrowser.module on line 244.


# warning: Invalid argument supplied for foreach() in /var/www/web/proginf/modules/filebrowser/filebrowser.module on line 137.
# warning: Invalid argument supplied for foreach() in /var/www/web/proginf/includes/theme.inc on line 749.

There are exactly 7 of each error. My system is a Debian, with Apache 2.0.55, php 5.1.2 and mysql 5.0.21. Any ideas about how to solve this problem?