Piwigo photo gallery + VideoJS = Error: File too large

I’ve installed and configured VideoJS plugin on my self-hosted Piwigo gallery and when I tried to upload a video I got an error:

Error: File too large

To fix this issue I’ve edited the file

[your_piwigo_install]/admin/themes/default/template/photos_add_direct.tpl

and change the line:

max_file_size : '1000mb',

by adding few extra zeros

max_file_size : '10000000mb',

That fixed my issue. YMMV depending on your php.ini file config etc.

Kind regards.

Andrzej

Print Friendly, PDF & Email

AndrzejL

"Never meet Your heroes. Most of the time you'll only end up disappointed." White Polak Male Husband Employee Hetero Carnivorous Fugly Geek @$$hole with ADD Catholic “Some men just want to watch the world burn.” Fuck your pronouns

Leave a Reply

Your email address will not be published. Required fields are marked *