Upload Form Not Saving File on Server

I hope I’m posting this in the correct place and that I can get some help here.

I have a form to upload an mp3 to the server. I works great on my dev site using MAMP, but when I test it live on my site, the file doesn’t save. I don’t get any errors, my success message even displays, but there is nothing saved. Like I said, every thing works great on my test site and the live site acts like everything worked, but there is no file saved. I first posted the page back in May and it worked then, but I have gone back to refine it a bit when I discovered this problem. Any ideas? Could it have something to do with my server config in cpanel?

I probably should add that I am getting no errors when I use the debugging tools.

Most likely a file size limit on your server. Try a very small file and see if that helps.

I am using very small mp3’s. The are all around 7MBs.

By default, PHP file upload size is set to maximum 2MB file on the server, but you can increase or decrease the maximum size of file upload using the PHP configuration file ( php. ini ), this file can be found in different locations on different Linux distributions.

Not sure about node.js

That was totally it!!! I had previously changed that limit, but apparently somewhere along the way, that got reset back to 2MB. Thank you Brad!

1 Like