Frequently Asked Questions » History » Version 10
Sören Eberhardt-Biermann, 09/08/2016 11:19 AM
added webdav url
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 | 9 | Sören Eberhardt-Biermann | <pre> |
39 | $GLOBALS['home_dir'] = !empty( $_SERVER['DOCUMENT_ROOT'] ) ? $_SERVER['DOCUMENT_ROOT'] : '.'; |
||
40 | </pre> |
||
41 | 1 | Sören Eberhardt-Biermann | |
42 | *to* (Joomla! > 1.5) |
||
43 | 9 | Sören Eberhardt-Biermann | <pre> |
44 | $GLOBALS['home_dir'] = JPATH_SITE; |
||
45 | </pre> |
||
46 | 1 | Sören Eberhardt-Biermann | |
47 | or (else) |
||
48 | 9 | Sören Eberhardt-Biermann | <pre> |
49 | $GLOBALS['home_dir'] = '/my/real/homepath'; |
||
50 | </pre> |
||
51 | 4 | Sören Eberhardt-Biermann | |
52 | 7 | Sören Eberhardt-Biermann | h2. Where can I directly retrieve the source code of eXtplorer? |
53 | 4 | Sören Eberhardt-Biermann | |
54 | You can download the latest code from the "eXtplorer SVN Repository":https://extplorer.net/svn/extplorer/trunk. |
||
55 | 6 | Sören Eberhardt-Biermann | |
56 | 8 | Sören Eberhardt-Biermann | h2. How do I enable WebDAV? |
57 | 1 | Sören Eberhardt-Biermann | |
58 | 10 | Sören Eberhardt-Biermann | Your host doesn't need to enable WebDAV apache or nginx modules! |
59 | 8 | Sören Eberhardt-Biermann | In the file /config/conf.php please change the line |
60 | <pre> |
||
61 | $GLOBALS['allow_webdav'] = 0; |
||
62 | </pre> |
||
63 | |||
64 | to |
||
65 | |||
66 | <pre> |
||
67 | $GLOBALS['allow_webdav'] = 1; |
||
68 | </pre> |
||
69 | |||
70 | When you're using Joomla! you can now start using WebDAV and log in with your Joomla! user credentials. |
||
71 | If you're using eXtplorer as standalone script, you must create a database for eXtplorer. |
||
72 | 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. |
||
73 | After that please enter the details of your database in these lines of the file */config/conf.php*: |
||
74 | |||
75 | <pre> |
||
76 | $GLOBALS['DB_HOST'] = 'localhost'; |
||
77 | $GLOBALS['DB_NAME'] = 'DATABASENAME (e.g. webdav)'; |
||
78 | $GLOBALS['DB_USER'] = 'USERNAME'; |
||
79 | $GLOBALS['DB_PASSWORD'] = ''; |
||
80 | $GLOBALS['DB_TYPE'] = 'mysql'; |
||
81 | </pre> |
||
82 | 10 | Sören Eberhardt-Biermann | |
83 | The Server URL you need to use WebDAV then is |
||
84 | |||
85 | https://yourserver.com/extplorerurl/webdav.php |
||
86 | 8 | Sören Eberhardt-Biermann | |
87 | Now you're ready for WebDAV! |