|
Tiki can store its uploaded files in the database in a LONGBLOB field. Storing large amounts of data in a database row can be tricky and require some fine tuning of your database parameters. You may want to switch to local disk storage as a first option.
- Go to Settings -> Control Panel -> File Galleries
- Change Storage to "Store in Directory"
- Set the "Path to store files in the file gallery" field
- Click "Apply"
You can also try to fix the problem with the database storage. If you are using database storage for large files and you are using MySQL's INNODB engine, you could be getting an error like "Row size too large". If so, try the following:
1. Add the following to the my.cnf file under mysqld section.
Copy to clipboard innodb_file_per_table
innodb_file_format = Barracuda
2. ALTER the table to use ROW_FORMAT=COMPRESSED.
Copy to clipboard ALTER TABLE nombre_tabla
ENGINE=InnoDB
ROW_FORMAT=COMPRESSED
KEY_BLOCK_SIZE=8;
Note: It is not recommended to store more files more than 100MB in a database
|