Closed (fixed)
Project:
DataBase File Manager
Version:
5.x-2.2
Component:
User interface
Priority:
Normal
Category:
Support request
Assigned:
Reporter:
Created:
10 Mar 2008 at 21:17 UTC
Updated:
17 Jun 2008 at 11:41 UTC
My installation of DBFM won't work and just says "Invalid directory" in a JS alert. I can't see what I'm doing wrong - the directory is "files" and the DBFM directory is "/dbfm" and the /files/dbfm directory exists (Windows, so no chmod to do, made sure it's *not* read only). Any suggestions? I can't find any discussion anywhere else.
Comments
Comment #1
hjg2000 commentedHello,
thank you for this good module - this is the right moment for me - I'm happy!
Only ... I have also this problem with "invalid directory".
The bug is perhaps:
- my Drupal have in MySQL: "$db_prefix = 'dru_';"
- DBFM create the "dbfm_perm" without "dru_" in the database
- the program look for "dru_dbfm_perm" and cannot find
- the error is "invalid directory"
Have a good day!
Hans
Comment #2
greg.harveyHi Hans,
Thanks for expanding on my issue. I, however, was not using a prefix, so the issue seems to exist whether a prefix is specified or not. =(
Comment #3
rooey commentedDBFM doesn't give a monkeys about the filesystem. It's all held in the database table (dbfm_file) did you configure via the admin screen?
What OS/platform etc?
Details!
Comment #4
greg.harveyHi - I visited the admin screen and left *everything* as default - it didn't work.
Windows XP Pro
XAMPP 1.6.2
Drupal 5.7
Don't know what else I can tell you? The message is in the first post and nothing else presented. It just didn't work. =(
Comment #5
rooey commentedSee this information:
http://drupal.org/node/236768#comment-785296
Comment #6
rooey commentedIt's also worth noting that you can NOT create root directories from any other account than the drupal "root" account (first account made with drupal).
Comment #7
ench0 commentedIf "DBFM doesn't give a monkeys about the filesystem" then why is there the following comment about the "Root directory:" field in the admin/settings/dbfm screen:
"This path is relative to "File system path" set in admin/settings/file-system and
must be preceeded with a slash."
This implies that it does actually depend/rely on the Drupal File System and is confusing to new users. Perhaps this message should read something like 'this is a virtual path, which exposes DBFM's internal file system by mapping it relative to the "File system path" set in admin/settings/file-system. This path must be preceded with a slash.'
Comment #8
ench0 commentedHmm, actually according to this: http://drupal.org/node/188506,
DBFM truly has nothing to do with the file system so my previous assumption that DBFM's file system is mapped as part of Drupal's File System is probably incorrect.
Comment #9
ench0 commentedGreg, I think I had the same problem as you and I may have found a way to fix it.
Please confirm whether your dbFM interface looked like the dbfm-no-icons.jpeg screenshot attached here: http://drupal.org/node/236768#comment-787759 . If yes then I also explain how I fixed the 'Invalid directory' problem in that same post.
I also use a XAMPP environment on Windows XP (Media Center), here's my settings:
###### ApacheFriends XAMPP (basic package) version 1.6.5 ######
+ Apache 2.2.6
+ MySQL 5.0.51
+ PHP 5.2.5 + PHP 4.4.7 + PEAR
+ PHP-Switch win32 1.0 (please use the "php-switch.bat")
+ XAMPP Control Version 2.5 from www.nat32.com
+ XAMPP Security 1.0
+ SQLite 2.8.15
+ OpenSSL 0.9.8g
+ phpMyAdmin 2.11.3
+ ADOdb 4.96
+ Mercury Mail Transport System v4.52
+ FileZilla FTP Server 0.9.24
+ Webalizer 2.01-10
+ Zend Optimizer 3.3.0
+ eAccelerator 0.9.5.2 for PHP 5.2.5 (comment out in the php.ini)
Comment #10
rooey commentedIndeed - the path specified here really is whatever you want
put something like
"filesystemofdoom" in the text box and you'll see what I mean :)
Comment #11
geoff_eagles commentedI think it's about time this was closed. Most of the problem was - I think - caused by an incorrect text description on the admin configuration page. The documentation should have made it plain that there is no longer any connection to the actual filesystem. The notional root directory is entered - without a slash - on the admin config page.
Comment #12
greg.harveyench0 makes an interesting point about the icons though. I haven't tried the "fix", but it sounds feasible...?
Comment #13
geoff_eagles commentedindeed, ench0's correct - dbFM must be able to find the icons directory in order to work.