• Welcome to PHPVIBE Forums. Please log in.

[ Video Sharing CMS v4 ] Issue with Uploading Video Files (MP4 Files) to server over estimated 650Mb

Started by PHPClient,

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

PHPClientTopic starter

I am uploading files in MP4 format only using a User Profile I created on the front end of my site.

All uploaded files UNDER 650Mb are uploading with no issue.  All files 650Mb+ are failing to upload successfully.  The process begins for a couple of seconds and then fails. (See attachment for generated ERROR message)

I will share that I have adjusted ALL needed upload parameter via PHP Config Editor on my WHM to 2500M (2.5Gb) and I have specified 2.5Gb in PHPVibe's Upload Config.

Error Log shows these errors: 2014-10-26 03:19:21.990 [INFO] [23.243.xx.xxx:49389-0#APVH_spankxxxx.com] File not found [/home/spankwankxxxxxx/public_html/413.shtml]  * I substituted "x" for sensitive info.

I am not sure if the ERROR log is associated to the upload issue, but it was the last entry in the error log for the website.

Thanks
  •  

Bob.Weston

if you have everything set correctly in the vibe settings and also cleaned the cache after changing them and it still don't work, it could also be your memory limit that is set in the php.ini. Most are set at like 32M by default. Try increasing it to like 1024M.

In the php.ini, search for:
memory_limit =
and see what it is set at, 32M is not enough.
Although I have never uploaded files that large, I have mine set at 3000.

Here are my resource limit settings in the php.ini:
;;;;;;;;;;;;;;;;;;;
; Resource Limits ;
;;;;;;;;;;;;;;;;;;;

max_execution_time = 6000
max_input_time = 60
max_input_vars = 1000
memory_limit = 3000M


Bob
  •  

PHPClientTopic starter

Thanks for providing a reply Bob.

I tried changing values for memory_limit to 1024M and 3000M (it was defaulted to 256M) and no success.

I'm going to reach out to my hosting company and see if it's maybe something on their end???

Thanks

  •  

Bob.Weston

what about your php-ini setting: post_max_size?

Try setting this to 1024 or 3000 and see if it works.
Also remember to restart httpd after each change to the php.ini

mine is currently set to 1024. I will try to upload a large file today and see what happens.
  •  

PHPClientTopic starter

post_max_size is set to 2500M (2.5Gb)

What do you mean by restarting httpd? Steps involved?

Thanks for helping out
  •  

Bob.Weston

restarting apache:

if you have command access through putty or similar software just type: service restart httpd
Through WHM it would be under "Restart Services" listed as "Httpd Server (Apache)"

If you do not see that in WHM your host has not authorized you to do so and any changes to your php.ini don't help you.
  •  

Bob.Weston

another thing you could try and do is edit your .htaccess file if you do not have permissions to do anything else on the server.. just add the following lines to the .htaccess file with the values you want to use:

php_value upload_max_filesize 3000M
php_value post_max_size 3000M
php_value max_input_time 6000
php_value max_execution_time 6000


after changing this file be sure to clean cache in moderator so the new .htaccess will be used.
  •  

Bob.Weston

I just uploaded a 695MB .avi video to my site and had no issues with my settings, it also converted fine.
  •  

Marius P.

Hi, this affect http://www.phpvibe.com/server-settings-for-large-file-uploads/
The uploader has no limitation, except the one you set in admin, but that will trigger an inside alert of passed size.
Happy with my help? Buy me a coffee.
Please, always use the search before opening a new topic! We're all here on our (limited) free time! Make sure you help yourself too!
  •  

PHPClientTopic starter

This issue was resolved.

Issue was originating with Hosting Company.

Specific fix was:

1.  Allow passive ports for FTP
2.  Switch webserver to Apache

They had me on some promotional "LiteSpeed" service that I don't think was Apache and as a result was causing this failure.


Thank for your time Mario and Bob!
  •  

Marius P.

Happy with my help? Buy me a coffee.
Please, always use the search before opening a new topic! We're all here on our (limited) free time! Make sure you help yourself too!
  •  

Similar topics (7)