Loading...
 
Skip to main content

Features / Usability


Upload files: Change Database to file directory

Dear community,

I am currently using tikiwiki 2.0. For file uploads I am using the database, unfortunately files that are larger than 1MB can not be uploaded.

What I have done so far:

- read through the following link http://doc.tikiwiki.org/tiki-index.php?page=File%20Gallery%20Config&redirectpage=File%20Galleries%20Config#Storing_files_on_a_directoryQuestion

- made the following changes in my php.ini file:
--> max_execution_time = 60
--> max_input_time = 60
--> memory_limit = 64M
--> post_max_size = 60M
--> file_uploads = On
--> upload_max_filesize = 60M

But even after making those changes to my php.ini file, I am still not able to upload files larger than 1MB.

So now I want to try a different path. I want to use a file directory instead of the database.

Now I have tried this, and as I mentioned, I have read through the documentation.

I still do not know which way the file path needs to be written:

like this? c:\programs\files\

I absolutely have to idea which way I should write the path.

I am thankful for every answer that gets be closer to solving my issue.

Thanks in advance.

Harry

>
>But even after making those changes to my php.ini file, I am still not able to upload files larger than 1MB.
>

What error message are you getting?

>
>I still do not know which way the file path needs to be written:
>

The path can be absolute, or relative to your Tiki installation. For example, if you installed Tiki in http://www.yourdomain.com/tiki you could create a new folder named files and place it in your tiki directory. Then your directory path would be files/. Please see the docsQuestion for details.


HTH,

-RickQuestion
Need more help? Try TikiWiki for Dummies SmartiesQuestion or read my Tiki Blog or visit my UserPage


Hello Rick,

first of all thanks for the reply.

When I have it set on database, and I try to upload a file into my file gallery, it basically shows me "this site can not be displayed" (you have probably seen this before if you do not have internet connection or something like that). It works fine for all files smaller than 1MB though.

I have changed the file directory to the following: http://"ip-address"/tikiwiki-2.0/files/Question

this is the message I receive now (even for files which are smaller than 1MB)

__Errors detected
Cannot write to this file:http://"ip-address"/tikiwiki-2.0/files/d25d9d4b7c8b16f1d149fb0272d067db__

I checked the security for the "files" folder, it has read / write access

I am really running out of ideas 😑