DokuWiki

It's better when it's simple

User Tools

Site Tools


faq:uploadcontentcheck

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
Last revisionBoth sides next revision
faq:uploadcontentcheck [2010-06-26 20:15] – created andifaq:uploadcontentcheck [2011-10-22 03:30] 99.66.112.234
Line 1: Line 1:
-====== Uploaded Content Mismatch ======+bitch
  
-:?: When I try to upload an image, I get a "The uploaded content did not match the file extension" error. How to fix this. 
- 
-:!: DokuWiki checks if uploaded files contain malicious content. To do this it needs access to uploaded file in the temporary upload directory. If your server uses PHP's open_basedir setting, you need to make sure your temporary upload directory is inside this basedir. 
- 
-You can set the option to your DokuWiki temp dir. Either in your php.ini: 
- 
-<code php> 
-upload_tmp_dir = /path/to/dokuwiki/data/tmp 
-</code> 
- 
-Or in your .htaccess file: 
- 
-<code apache> 
-php_value upload_tmp_dir /path/to/dokuwiki/data/tmp 
-</code> 
faq/uploadcontentcheck.txt · Last modified: 2011-10-22 06:20 by 24.18.132.182

Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
CC Attribution-Share Alike 4.0 International Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki