Skip to content
Snippets Groups Projects
Commit 2a75c0d0 authored by Frank Karlitschek's avatar Frank Karlitschek
Browse files

merge Adityas improvements

parent bc8e899d
No related branches found
No related tags found
No related merge requests found
<?php
?>
<?php
?>
<?php
$CONFIG_ADMINLOGIN='admin-username';
$CONFIG_ADMINPASSWORD='password';
$CONFIG_DATADIRECTORY='write/absolute-drectory/path/here/';
$CONFIG_HTTPFORCESSL=false;
$CONFIG_DATEFORMAT='j M Y G:i';
$CONFIG_DBHOST='localhost';
$CONFIG_DBNAME='owncloud-db-name';
$CONFIG_DBUSER='user-name';
$CONFIG_DBPASSWORD='password';
?>
1. I am not able to upload large files. Is that not supported by ownCloud?
Ofcourse it is supported. The problem lies with the PHP configuration. If you have access to php.ini file (which resides in /etc/php5/apache2 folder) then you can fix this issue by changing the following lines :
; Maximum allowed size for uploaded files.
upload_max_filesize = 2M
In place of 2M write the maximum size you want to be allowed.
2. I tried to install the ownCloud in some XYZ directory but its not working.
Unfortunately ownCloud can be installed into your default Apache directory only which is /var/www/ for most of the distributions.
......@@ -5,7 +5,19 @@ sqlite
== SETUP ==
Place owncloud in a subdirectory of your web server. Go to that directory with
a web browser and the first run wizard should take it from there.
Set up your paths in:
config/config.php
Check out config/config.sample.php for details if you want to set config.php manually.
Your data will be in:
$CONFIG_DATADIRECTORY = '/www/testy';
Apache needs to have write permissions to this directory.
And the ownCloud path is:
$CONFIG_DOCUMENTROOT = '/www/owncloud/htdocs';
The ownCloud checkout should be in the root of "htdocs".
Both are absolute paths, so if your server is in /var/www, you need to add the /var
== Database ==
The database is sqlite. If you are having trouble make sure that the line
......@@ -18,3 +30,7 @@ appears in your php.ini
Please help improving this documentation!
Create merge requests at gitorious.org/owncloud .
Read the FAQs for some common problems.
For support check out our IRC at Freenode : Channel #owncloud
Mailing list at https://mail.kde.org/mailman/listinfo/owncloud
......@@ -28,14 +28,16 @@ if(isset($_GET['dir'])) $dir=$_GET['dir']; else $dir='';
if(isset($_GET['file'])) {
OC_FILES::get($dir,$_GET['file']);
OC_FILES::get($dir,$_GET['file']);
OC_FILES::get($dir,$_GET['file']);
echo('heya');
}else{
OC_UTIL::addscript('js/ajax.js');
OC_UTIL::showheader();
OC_FILES::showbrowser($CONFIG_DATADIRECTORY,$dir);
echo('hi');
echo('<br /><br /><p class="hint">Hint: Mount it via webdav like this: <a href="webdav://'.$_SERVER["HTTP_HOST"].$WEBROOT.'/webdav/owncloud.php">webdav://'.$_SERVER["HTTP_HOST"].$WEBROOT.'/webdav/owncloud.php</a></p>');
OC_UTIL::showfooter();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment