Mediawiki/Common Problems

From r00tedvw.com wiki
(Difference between revisions)
Jump to: navigation, search
Line 1: Line 1:
;Cannot Upload files - Error: Could not create directory "mwstore://local-backend/local-public/3/3c".  Change ownership and provide write access to apache2 user, generally www-data, for images directory which is generally at /var/www/%mediawiki directory%/images/
+
;Cannot upload files - Error: Could not create directory "mwstore://local-backend/local-public/3/3c".  Change ownership and provide write access to apache2 user, generally www-data, for images directory which is generally at /var/www/%mediawiki directory%/images/
 
  sudo chown root:www-data images
 
  sudo chown root:www-data images
 
  sudo chmod 775 images
 
  sudo chmod 775 images
 +
<br\>
 +
;Cannot upload file larger than 2MB
 +
:go to the wiki site configuration file, ie. /etc/apache2/sites-available/mediawiki, and add the following lines anywhere within <Virtual Host>
 +
php_value upload_max_filesize 20M
 +
php_value post_max_size 20M

Revision as of 00:42, 20 November 2012

Cannot upload files - Error
Could not create directory "mwstore://local-backend/local-public/3/3c". Change ownership and provide write access to apache2 user, generally www-data, for images directory which is generally at /var/www/%mediawiki directory%/images/
sudo chown root:www-data images
sudo chmod 775 images


Cannot upload file larger than 2MB
go to the wiki site configuration file, ie. /etc/apache2/sites-available/mediawiki, and add the following lines anywhere within <Virtual Host>
php_value upload_max_filesize 20M
php_value post_max_size 20M
Personal tools
Namespaces

Variants
Actions
Navigation
Mediawiki
Confluence
DevOps Tools
Ubuntu
Ubuntu 22
Mac OSX
Oracle Linux
AWS
Windows
OpenVPN
Grafana
InfluxDB2
TrueNas
OwnCloud
Pivotal
osTicket
OTRS
phpBB
WordPress
VmWare ESXI 5.1
Crypto currencies
HTML
CSS
Python
Java Script
PHP
Raspberry Pi
Canvas LMS
Kaltura Media Server
Plex Media Server
MetaSploit
Zoneminder
ShinobiCE
Photoshop CS2
Fortinet
Uploaded
Certifications
General Info
Games
Meal Plans
NC Statutes
2020 Election
Volkswagen
Covid
NCDMV
Toolbox