• Welcome to PHPVIBE Forums. Please log in.

[ Video Sharing CMS v4 ] Video upload

Started by gix65,

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

gix65Topic starter

Currently getting failed to upload on video file, no error message at about 4% into the upload.


Checked php.ini
Checked folder permissions

Php.ini:http://www.recall-gaming.com/cgi-bin/test/info.php
  •  

Marius P.

I can't say from this what the issue might me.
All is see is that upload temp dir is missing but no sure if this causes any issues.
Have you tried with 0777 as chmod and with 0755?
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!
  •  

gix65Topic starter

Yes, don't both 777 and 775 I will try and see if temp directory is causing issue
  •  

Marius P.

Have you tried removing the .htaccess file inside /media?
Is media still your folder name in admin settings? If not, did you create that folder and chmod it writeable?
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!
  •  

gix65Topic starter

Deleted .htaccess in media, no change checked folder permissions again.
  •  

carlitos90cu

Hi, I had same problem and the problem is the hosting company. I don't know why because they have all the server requirement to run this script. So I changed to Arvixe.com in my case because I live in USA. I tryed everything to run this script in my old server but nothing. I hope my answer helps you.
  •  

Marius P.

#6
carlitos sometimes the problem is not the requirements, sometimes there are weird security rules which block ajax/html5 files uploads, and so on, there are many variables on server which can block parts/functions/executions.
We can only advise on common server setups, the normal environment needed, if they have some stuff wrong sometimes it's a real headache to figure out what's wrong.
The worst part about hosting companies is that their support blames the coding in 99% of cases, due to lack of time or to much requests they almost never investigate, even if you tell them clearly "hey, this is wrong and unproductive".
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!
  •  

Marius P.

Quote from: gix65 on
Deleted .htaccess in media, no change checked folder permissions again.

Can you try uploading an small size image instead of a video?
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!
  •  

gix65Topic starter

Image upload worked and sucessfully uploaded.
  •  

Marius P.

Then it's in best case an server upload limit issue.

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!
  •  

Marius P.

Try this


php_value post_max_size 30000M
php_value upload_max_filesize 30000M
php_value max_execution_time 20000
php_value max_input_time 20000
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!
  •  

gix65Topic starter

Interesting, those settings still have same upload fail. might just have to compress this video even more than it sets currently. didn't think a 600mb file would cause this much issue, will give it a try though.
  •  

Marius P.

Maybe you could look for a better hosting? Sometimes just asking to be switched to another server is best option.
I have 300 mb limit and I can upload 2gb files on my dedicated via this built in html5 uploader.
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!
  •  

gix65Topic starter

Well got an interesting result at least this time, 211mb video file uploaded to 100% then error 500. so may be going route of new host possibly.  or go the other route of people I trust just create them a ftp account and upload separately.
  •  

Marius P.

Error 500? Sure php_flag is removed from media folder's .htaccess?
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!
  •  

gix65Topic starter

Current .htaccess file in media folder:

RemoveHandler .php .phtml .php3
RemoveType .php .phtml
  •  

gix65Topic starter

[Sat Dec 14 16:11:53 2013] [error] [client 96.3.52.129] ModSecurity: Multipart parsing error (init): Multipart: Boundary not found in C-T. [hostname "www.recall-gaming.com"] [uri "/lib/upload.php"] [unique_id "UqzzyUIh1AsAACphDtYAAAAH"]
[Sat Dec 14 16:15:50 2013] [error] [client 96.3.52.129] ModSecurity: Multipart parsing error (init): Multipart: Boundary not found in C-T. [hostname "www.recall-gaming.com"] [uri "/lib/upload.php"] [unique_id "Uqz0tkIh1AsAAD5LzjQAAAAN"]

Seems to be the log that's occurring currently, previous log stating
[Sat Dec 14 15:34:31 2013] [error] [client 96.3.52.129] ModSecurity: Request body (Content-Length) is larger than the configured limit (536870912). [hostname "www.recall-gaming.com"] [uri "/lib/upload.php"] [unique_id "UqzrB0Ih1AsAAATuDpkAAAAN"]
[Sat Dec 14 15:45:30 2013] [error] [client 96.3.52.129] ModSecurity: Multipart parsing error (init): Multipart: Boundary not found in C-T. [hostname "www.recall-gaming.com"] [uri "/lib/upload.php"] [unique_id "UqztmkIh1AsAABMUx6UAAAAK"]
  •  

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!
  •  

gix65Topic starter

Set it to unlimited, still getting same error it appears. Thinking Will just ftp upload these files till I figure something out. Thank you very much with the help!
  •  

gix65Topic starter

Well not really sure how I got it fix, other than removing the security mod off the server, now just got to figure out how to add video categories to site.
  •  

Marius P.

Moderator -> Left side menu -> Channels -> Create
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!
  •  

gix65Topic starter

Thank you so much for all the help, think last issues I believe I can figure out is due to the script timing out somewhere on upload. It upload 100% no errors, just when saving all the additional information never saves.
  •  

Marius P.

Check if it has any error on log about this. That will give you a clue.
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!
  •  

AlexH

On your own server or VPS you can change the values ​​in php.ini as you wish. on a shared hosting even if they change, they will not take effect if the hosting company has set some limits.
for the new values added ​​to take effect  you should restart apache, which on a shared hosting is not possible.

Error 500
You get this error from following causes
low speed internet
execution time expired and the server has closed the connection.
file is too large, compared to how the hosting company allows

gix65Topic starter

Already fixed the issue, was a security issues I had running.
  •  

Similar topics (7)