• Welcome to PHPVIBE Forums. Please log in.

[ Video Sharing CMS v4 ] Bad Response: 500 Internal Server Error

Started by maniacboxer,

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

maniacboxerTopic starter

Hello

When i load video i get this message :  Bad Response: 500 Internal Server Error
Have can i solved.

My video size : 49 mb
  •  

AlexH

When you upload a video?

what is your net speed?

check max time execution and max file upload.

maniacboxerTopic starter

I'm sending sample error.

8 mb speed.

max upload : 1 gb

max time execution: 90sec
  •  

AlexH

set max_execution_time to 600  or 1200 sec.
check folder permision.
what browser you use?

maniacboxerTopic starter

  •  

AlexH

ask your host provider if server run on su_php or dso.
is run on su_php, then you must set folder permision 755.
give me your url to upload a test files if you what.

PHPVibe A.

What's in the error_log, that will tell us what's wrong.
Could be permissions issues, but thouse do not happen on large files only, but on all, did you try an small file?
if the small file works, there is an restriction somewhere, like alex explained.

maniacboxerTopic starter

When i make file permission to 755. (File size : 3mb) İf you want i can give admin info and you can try.
  •  

PHPVibe A.

So if you make it 0755 the small file goes but large file doesn't?
Are you using fast/cgi as i see this mode has issues with large file uploads.
Can you put in phpinfo() somewhere so we can see what's going on on the server?

maniacboxerTopic starter

i tried 755 and 777 still did not work. Even tried 3 mb file but still it doesnt upload.
http://video.spordede.com/phpinfo.php
  •  

PHPVibe A.


AlexH

edit your php.ini
max_execution_time: try to 300 or 600
memory_limit: try to 256 or 512MB
post_max_size: try to 512 or 1024mb
upload_max_filesize: try to 512 or 1024

AlexH


ronyhage

I am having the same issue, where can I find php.in? my upload size is 1GB and I am not able to upload a video from PC.

Please note I am no coder.
  •  

grantj21

I'm having the same issue here 500 error when uploading videos, this is after a reinstall of the server because the cron's on this script killed my whole database. Question why is it so hard on the cpu I'm running a 3.4 GHz+ 8 core 32mb ram and running one cron uses 73% that's not right is it?
  •  

AlexH

Quote from: grantj21 on
I'm having the same issue here 500 error when uploading videos, this is after a reinstall of the server because the cron's on this script killed my whole database. Question why is it so hard on the cpu I'm running a 3.4 GHz+ 8 core 32mb ram and running one cron uses 73% that's not right is it?

It depends on many factors. Do not think it's just a cron.
- The task that you perform
- Number of tasks executed simultaneously
- from where you Import 
- Number of clips imported simultaneously
- etc.

exemple
If you have 10 auto import youtube and import at the same time every 100 clips, it is normal cpu or ram to climb.
100 X 10 = 1000 clips

grantj21

Quote from: AlexH on
It depends on many factors. Do not think it's just a cron.
- The task that you perform
- Number of tasks executed simultaneously
- from where you Import 
- Number of clips imported simultaneously
- etc.

exemple
If you have 10 auto import youtube and import at the same time every 100 clips, it is normal cpu or ram to climb.
100 X 10 = 1000 clips
OK I understand when you put it that way so less cronjobs and no more than one at a time, and space them out more.
What about the 500 error the file isn't even uploading and yes my post and max_file upload this set to 2gb and I can upload images but not videos or mp3. My php.ini file is here http://www.zulubee.co.uk/ini.php may be you can see if anything is missing but I don't think so?
  •  

AlexH

try to upload 5-12Mb mp4 files.
what is yout Lan Speed?

max_execution_time value must be same on max_input_time.
Now you have max_input_time: 60 and max_execution_time: 1200

grantj21

No upload but a lot of error's

[30-Mar-2014 22:40:01 Europe/Berlin] PHP Warning:  session_start() [<a href='function.session-start'>function.session-start</a>]: Cannot send session cookie - headers already sent in /home/zulubee/public_html/load.php on line 3
[30-Mar-2014 22:40:01 Europe/Berlin] PHP Warning:  session_start() [<a href='function.session-start'>function.session-start</a>]: Cannot send session cache limiter - headers already sent (output started at /home/zulubee/public_html/load.php:3) in /home/zulubee/public_html/load.php on line 3
[30-Mar-2014 22:45:01 Europe/Berlin] PHP Warning:  session_start() [<a href='function.session-start'>function.session-start</a>]: Cannot send session cookie - headers already sent in /home/zulubee/public_html/load.php on line 3
[30-Mar-2014 22:45:01 Europe/Berlin] PHP Warning:  session_start() [<a href='function.session-start'>function.session-start</a>]: Cannot send session cache limiter - headers already sent (output started at /home/zulubee/public_html/load.php:3) in /home/zulubee/public_html/load.php on line 3
[30-Mar-2014 22:50:01 Europe/Berlin] PHP Warning:  session_start() [<a href='function.session-start'>function.session-start</a>]: Cannot send session cookie - headers already sent in /home/zulubee/public_html/load.php on line 3
[30-Mar-2014 22:50:01 Europe/Berlin] PHP Warning:  session_start() [<a href='function.session-start'>function.session-start</a>]: Cannot send session cache limiter - headers already sent (output started at /home/zulubee/public_html/load.php:3) in /home/zulubee/public_html/load.php on line 3
[30-Mar-2014 22:55:01 Europe/Berlin] PHP Warning:  session_start() [<a href='function.session-start'>function.session-start</a>]: Cannot send session cookie - headers already sent in /home/zulubee/public_html/load.php on line 3
[30-Mar-2014 22:55:01 Europe/Berlin] PHP Warning:  session_start() [<a href='function.session-start'>function.session-start</a>]: Cannot send session cache limiter - headers already sent (output started at /home/zulubee/public_html/load.php:3) in /home/zulubee/public_html/load.php on line 3
[30-Mar-2014 23:00:01 Europe/Berlin] PHP Warning:  session_start() [<a href='function.session-start'>function.session-start</a>]: Cannot send session cookie - headers already sent in /home/zulubee/public_html/load.php on line 3
[30-Mar-2014 23:00:01 Europe/Berlin] PHP Warning:  session_start() [<a href='function.session-start'>function.session-start</a>]: Cannot send session cache limiter - headers already sent (output started at /home/zulubee/public_html/load.php:3) in /home/zulubee/public_html/load.php on line 3
[30-Mar-2014 23:05:01 Europe/Berlin] PHP Warning:  session_start() [<a href='function.session-start'>function.session-start</a>]: Cannot send session cookie - headers already sent in /home/zulubee/public_html/load.php on line 3
[30-Mar-2014 23:05:01 Europe/Berlin] PHP Warning:  session_start() [<a href='function.session-start'>function.session-start</a>]: Cannot send session cache limiter - headers already sent (output started at /home/zulubee/public_html/load.php:3) in /home/zulubee/public_html/load.php on line 3
[30-Mar-2014 23:05:40 Europe/Berlin] PHP Notice:  Undefined variable: channel in /home/zulubee/public_html/com/com_channel.php on line 5
[30-Mar-2014 23:07:07 Europe/Berlin] PHP Notice:  Undefined variable: channel in /home/zulubee/public_html/com/com_channel.php on line 5
[30-Mar-2014 23:07:46 Europe/Berlin] PHP Notice:  Undefined variable: channel in /home/zulubee/public_html/com/com_channel.php on line 5
[30-Mar-2014 23:07:49 Europe/Berlin] PHP Notice:  Undefined variable: channel in /home/zulubee/public_html/com/com_channel.php on line 5
[30-Mar-2014 23:10:01 Europe/Berlin] PHP Warning:  session_start() [<a href='function.session-start'>function.session-start</a>]: Cannot send session cookie - headers already sent in /home/zulubee/public_html/load.php on line 3
[30-Mar-2014 23:10:01 Europe/Berlin] PHP Warning:  session_start() [<a href='function.session-start'>function.session-start</a>]: Cannot send session cache limiter - headers already sent (output started at /home/zulubee/public_html/load.php:3) in /home/zulubee/public_html/load.php on line 3
[30-Mar-2014 23:15:01 Europe/Berlin] PHP Warning:  session_start() [<a href='function.session-start'>function.session-start</a>]: Cannot send session cookie - headers already sent in /home/zulubee/public_html/load.php on line 3
[30-Mar-2014 23:15:01 Europe/Berlin] PHP Warning:  session_start() [<a href='function.session-start'>function.session-start</a>]: Cannot send session cache limiter - headers already sent (output started at /home/zulubee/public_html/load.php:3) in /home/zulubee/public_html/load.php on line 3
[30-Mar-2014 23:15:50 Europe/Berlin] PHP Notice:  Undefined variable: channel in /home/zulubee/public_html/com/com_channel.php on line 5
[30-Mar-2014 23:19:29 Europe/Berlin] PHP Notice:  Undefined variable: channel in /home/zulubee/public_html/com/com_channel.php on line 5
[30-Mar-2014 23:20:01 Europe/Berlin] PHP Warning:  session_start() [<a href='function.session-start'>function.session-start</a>]: Cannot send session cookie - headers already sent in /home/zulubee/public_html/load.php on line 3
[30-Mar-2014 23:20:01 Europe/Berlin] PHP Warning:  session_start() [<a href='function.session-start'>function.session-start</a>]: Cannot send session cache limiter - headers already sent in /home/zulubee/public_html/load.php on line 3
[30-Mar-2014 23:23:11 Europe/Berlin] PHP Notice:  Undefined variable: channel in /home/zulubee/public_html/com/com_channel.php on line 5
[30-Mar-2014 23:23:26 Europe/Berlin] PHP Notice:  Undefined variable: channel in /home/zulubee/public_html/com/com_channel.php on line 5
[30-Mar-2014 23:25:01 Europe/Berlin] PHP Warning:  session_start() [<a href='function.session-start'>function.session-start</a>]: Cannot send session cookie - headers already sent in /home/zulubee/public_html/load.php on line 3
[30-Mar-2014 23:25:01 Europe/Berlin] PHP Warning:  session_start() [<a href='function.session-start'>function.session-start</a>]: Cannot send session cache limiter - headers already sent in /home/zulubee/public_html/load.php on line 3
[30-Mar-2014 23:28:38 Europe/Berlin] PHP Notice:  Undefined variable: channel in /home/zulubee/public_html/com/com_channel.php on line 5
[30-Mar-2014 23:29:36 Europe/Berlin] PHP Notice:  Undefined variable: channel in /home/zulubee/public_html/com/com_channel.php on line 5
[30-Mar-2014 23:30:01 Europe/Berlin] PHP Warning:  session_start() [<a href='function.session-start'>function.session-start</a>]: Cannot send session cookie - headers already sent in /home/zulubee/public_html/load.php on line 3
[30-Mar-2014 23:30:01 Europe/Berlin] PHP Warning:  session_start() [<a href='function.session-start'>function.session-start</a>]: Cannot send session cache limiter - headers already sent in /home/zulubee/public_html/load.php on line 3
[30-Mar-2014 23:31:30 Europe/Berlin] PHP Notice:  Undefined variable: channel in /home/zulubee/public_html/com/com_channel.php on line 5
[30-Mar-2014 17:34:59 America/New_York] PHP Warning:  strtotime() [<a href='function.strtotime'>function.strtotime</a>]: It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'America/New_York' for 'EDT/-4.0/DST' instead in /home/zulubee/public_html/lib/functions.php on line 163
[30-Mar-2014 23:35:01 Europe/Berlin] PHP Warning:  session_start() [<a href='function.session-start'>function.session-start</a>]: Cannot send session cookie - headers already sent in /home/zulubee/public_html/load.php on line 3
[30-Mar-2014 23:35:01 Europe/Berlin] PHP Warning:  session_start() [<a href='function.session-start'>function.session-start</a>]: Cannot send session cache limiter - headers already sent in /home/zulubee/public_html/load.php on line 3
[30-Mar-2014 23:36:22 Europe/Berlin] PHP Notice:  Undefined variable: channel in /home/zulubee/public_html/com/com_channel.php on line 5
[30-Mar-2014 23:37:08 Europe/Berlin] PHP Notice:  Undefined variable: channel in /home/zulubee/public_html/com/com_channel.php on line 5
[30-Mar-2014 23:40:01 Europe/Berlin] PHP Warning:  session_start() [<a href='function.session-start'>function.session-start</a>]: Cannot send session cookie - headers already sent in /home/zulubee/public_html/load.php on line 3
[30-Mar-2014 23:40:01 Europe/Berlin] PHP Warning:  session_start() [<a href='function.session-start'>function.session-start</a>]: Cannot send session cache limiter - headers already sent in /home/zulubee/public_html/load.php on line 3
[30-Mar-2014 23:41:00 Europe/Berlin] PHP Notice:  Undefined offset: 1 in /home/zulubee/public_html/lib/functions.user.php on line 87
[30-Mar-2014 23:41:00 Europe/Berlin] PHP Warning:  mcrypt_decrypt() [<a href='function.mcrypt-decrypt'>function.mcrypt-decrypt</a>]: The IV parameter must be as long as the blocksize in /home/zulubee/public_html/lib/functions.user.php on line 88
[30-Mar-2014 23:41:00 Europe/Berlin] PHP Notice:  Undefined offset: 1 in /home/zulubee/public_html/lib/functions.user.php on line 222
[30-Mar-2014 23:41:00 Europe/Berlin] PHP Notice:  Undefined offset: 1 in /home/zulubee/public_html/lib/functions.user.php on line 87
[30-Mar-2014 23:41:00 Europe/Berlin] PHP Warning:  mcrypt_decrypt() [<a href='function.mcrypt-decrypt'>function.mcrypt-decrypt</a>]: The IV parameter must be as long as the blocksize in /home/zulubee/public_html/lib/functions.user.php on line 88
[30-Mar-2014 23:41:00 Europe/Berlin] PHP Notice:  Undefined offset: 1 in /home/zulubee/public_html/lib/functions.user.php on line 222
[30-Mar-2014 23:41:02 Europe/Berlin] PHP Notice:  Undefined offset: 1 in /home/zulubee/public_html/lib/functions.user.php on line 87
[30-Mar-2014 23:41:02 Europe/Berlin] PHP Warning:  mcrypt_decrypt() [<a href='function.mcrypt-decrypt'>function.mcrypt-decrypt</a>]: The IV parameter must be as long as the blocksize in /home/zulubee/public_html/lib/functions.user.php on line 88
[30-Mar-2014 23:41:02 Europe/Berlin] PHP Notice:  Undefined offset: 1 in /home/zulubee/public_html/lib/functions.user.php on line 222
[30-Mar-2014 23:42:45 Europe/Berlin] PHP Notice:  Undefined variable: channel in /home/zulubee/public_html/com/com_channel.php on line 5
  •  

grantj21

Right the first site is still the same but site two I just uploaded a 10mb video and its playing just fine, so site one has a script issue right as there on the same "server"
  •  

grantj21

I found that site one is misconfiguration on the server and isn't in the right home director? don't ask me I haven't a clue how it got there our how its still working. once I backup I'll remove the domain and reinstall, that should fix that and hopefully the upload issue as well. I will update you.
  •  

PHPVibe A.

Quote from: AlexH on
100 X 10 = 1000 clips

1000 clips  = aprox 1050 requests to Youtube, and pages to process.

PHPVibe A.

Quote from: grantj21 on
No upload but a lot of error's


I don't see anything else except some broken cookies related errors.

PHPVibe A.

@AlexH you know we are advising them but if they have an security module forcing limits, they can tweak all they want cause they will not be able to upload until that's setup to allow it.

Also FastCGI has a tone of issues with file uploads https://www.google.com/search?q=fastcgi+upload+large+files

ronyhage

I am still having this issue, I am not a coder and Alex advised me to speak with my host company, but how should I tell them about this problem in their technical language?
  •  

Similar topics (7)