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

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.”

Leave a Reply

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

This site uses Akismet to reduce spam. Learn how your comment data is processed.