Project

General

Profile

Frequently Asked Questions » History » Version 8

Sören Eberhardt-Biermann, 04/27/2015 08:41 AM
added WebDAV

1 1 Sören Eberhardt-Biermann
h1. Frequently Asked Questions
2
3
You are looking for help? Try our answers to the most Frequently Asked Questions
4
5 7 Sören Eberhardt-Biermann
h2. How can I upload larger Files / Raise the Upload Limit?
6 1 Sören Eberhardt-Biermann
7
This is a limitation set in the PHP Configuration. You can change it using .htaccess files or by simply adjusting the Value in the php.ini. Read more: [[large_uploads|How to optimize your PHP installation to handle large file uploads]].
8
9 7 Sören Eberhardt-Biermann
h2. Where can I create files and directories?
10 1 Sören Eberhardt-Biermann
11
You can find a button to create a new file or directory in the toolbar (the white button with a small star). Sometimes you have no permission to add a file or dir in the directory you are currently in. Go one level up and try to chmod the directory and make it writable for you if that is possible.
12
13 7 Sören Eberhardt-Biermann
h2. I can't change the permissions (chmod) on a file/directory - the link is grayed out. What's wrong?
14 1 Sören Eberhardt-Biermann
15
You must change the permissions using the alternative file mode: "File" or "FTP". Why? The process your PHP/Apache runs under on the webserver has its own user account. But the file/directory you are trying to chmod is owned by another user account on the webserver - usually your FTP user account. So if the chmod-link is grayed out in "File Mode" you can change the permissions on that file/directory using the "FTP Mode". If both modes don't allow access to the file, the file is owned by yet another user account on the webserver. Ask the server admin to change this.
16
17 7 Sören Eberhardt-Biermann
h2. I can't delete or rename a file - the links are grayed out. What's wrong?
18 1 Sören Eberhardt-Biermann
19
You don't have the appropriate permissions to modify anything (create, rename, delete) in the directory you are in. Go up one directory level and change the directory permissions. If you can't - see the Question before.
20
21 7 Sören Eberhardt-Biermann
h2. How can I change the owner of a file/directory?
22 1 Sören Eberhardt-Biermann
23 7 Sören Eberhardt-Biermann
Well, you can't - as long as you're not root (server-admin). Unix-based OS don't allow chown to be executed by a "normal" user. An easy way to solve the problem is to download the files, delete them and upload them back again using FTP or eXtplorer (just where you want to edit the files from).
24 1 Sören Eberhardt-Biermann
25 7 Sören Eberhardt-Biermann
h2. How can I make a certain directory including all files accessible to my users? I want to use it as an upload/download-platform for other users.
26 1 Sören Eberhardt-Biermann
27
eXtplorer allows you to add users and allow them to browse files and download. Just use the "Admin" section of eXtplorer.
28
29 7 Sören Eberhardt-Biermann
h2. Can I upload directories or unpack archives containing directories?
30 1 Sören Eberhardt-Biermann
31
You can't "upload a directory", but you can upload an archive file holding a directory structure (with files too). If you have uploaded that file just right-click it and select "Extract". After that eXtplorer will extract the archive and create the directory structure from the archive in the directory it is extracted to. Existing files with the same name are overwritten if they are writable.
32 3 Sören Eberhardt-Biermann
33 7 Sören Eberhardt-Biermann
h2. On Joomla! : OMG - Users are able to view the document root of my web server!
34 3 Sören Eberhardt-Biermann
35
If you run a normal Apache/PHP5 Installation, PHP functions can access the whole document root. It's possible to trick extplorer users so they can only view their own web directory, but that's just eye cosmetics.
36
If you run multiple Joomla! or eXtplorer instances used by different people, you should change the configuration or your webserver to either use FastCGI with PHP-CGI or suPHP/mod_suphp.
37
If you are not willing to or can't establish such safety measures on your server, you can just modify the file _*/includes/init.php*_ and change the code near line 70:
38
@$GLOBALS['home_dir'] = !empty( $_SERVER['DOCUMENT_ROOT'] ) ? $_SERVER['DOCUMENT_ROOT'] : '.';@
39
40 8 Sören Eberhardt-Biermann
*to* (Joomla! > 1.5)
41 3 Sören Eberhardt-Biermann
@$GLOBALS['home_dir'] = JPATH_SITE;@
42
43
or (else)
44
@$GLOBALS['home_dir'] = '/my/real/homepath';@
45 4 Sören Eberhardt-Biermann
46 7 Sören Eberhardt-Biermann
h2. Where can I directly retrieve the source code of eXtplorer?
47 4 Sören Eberhardt-Biermann
48
You can download the latest code from the "eXtplorer SVN Repository":https://extplorer.net/svn/extplorer/trunk.
49 6 Sören Eberhardt-Biermann
50 8 Sören Eberhardt-Biermann
h2. How do I enable WebDAV?
51 1 Sören Eberhardt-Biermann
52 8 Sören Eberhardt-Biermann
In the file /config/conf.php please change the line
53
<pre>
54
$GLOBALS['allow_webdav'] = 0;
55
</pre>
56
57
to 
58
59
<pre>
60
$GLOBALS['allow_webdav'] = 1;
61
</pre>
62
63
When you're using Joomla! you can now start using WebDAV and log in with your Joomla! user credentials.
64
If you're using eXtplorer as standalone script, you must create a database for eXtplorer.
65
So if you actually decide to enable the WebDAV interface in standalone mode, you must first of all create a new database by using the instructions from the file "*webdav_table.sql.php*", which can be found in the eXtplorer directory.
66
After that please enter the details of your database in these lines of the file */config/conf.php*:
67
68
<pre>
69
$GLOBALS['DB_HOST'] = 'localhost';
70
$GLOBALS['DB_NAME'] = 'DATABASENAME (e.g. webdav)';
71
$GLOBALS['DB_USER'] = 'USERNAME';
72
$GLOBALS['DB_PASSWORD'] = '';
73
$GLOBALS['DB_TYPE'] = 'mysql';
74
</pre> 
75
76
Now you're ready for WebDAV!