Custom Built 'Upload Video Form' is not uploading anything

Posted by abrarburk 
This forum is currently read only. You can not log in or make any changes. This is a temporary situation.
Now, this forum is in read-only mode. You find details Details hereContinue on /r/PirateBox
Custom Built 'Upload Video Form' is not uploading anything
February 08, 2019 10:54AM
Hey All,

My first post on this forum. I have been playing around with the piratebox, building some video sharing and viewing functionalities for some folks who work in rural india. As part of that, I made my own 'upload video' form using php. (since i wanted add a few more functionalities.

This form works well when I tested it on my laptop (by generating a local host via MAMP). The videos were uploading just fine.

However, now that I have put the code on the Pi, it doesnt seem to work anymore. I sshed into the box and went into the file /opt/piratebox/conf/lighttpd/lighttpd.conf and changed the line
server.max-request-size = 5120
to
server.max-request-size = 51200

Still doesn't work.

What is frustrating me is that a few months ago, I had fiddled around with something and made this custom upload work. However, I just can't remember anymore :/.

Could someone help me out with this??

Thanks!
Abrar



Edited 1 time(s). Last edit at 02/08/2019 10:55AM by abrarburk.
Re: Custom Built 'Upload Video Form' is not uploading anything
February 08, 2019 11:15AM
Okay okay,

So I managed to remember the fix.

I had to go to /etc/php/php/ini

and increase the

upload_max_filesize

&
post_max_size

and nonw it works!

Stupid of me tongue sticking out smiley
Re: Custom Built 'Upload Video Form' is not uploading anything
February 25, 2019 07:32AM
Not stupid, but pretty common problem . There are 3 configuration items to be changed, which is confusing.