Video Upload 503 errors

So far all I've been able to find in the forums, on the getting a video to upload, is to put a php.ini file on the root directory with the following lines

upload_max_filesize=300M
post_max_size=300M

I've done this and still get an error 503 when attempting to upload a 83MB flv video

Has anyone overcome this problem?  or

Is there a way for me to FTP the video file to the server, and then point my Dolphin video module to the file location?

any help is much appreciated

Quote · 15 Mar 2010

Answer about from you hosting provider. maybe they disallow this option in you php.ini. or flash uploader can't transfer big file like as you

PS: If possible do not write me personally, please try to ask on the forum first
Quote · 16 Mar 2010

I've also tried the "regular" uploader, with no luck

 

Is there a way I can FTP the video up and point Dolphin to it?

Quote · 16 Mar 2010

I was able to upload a small 20k video as a test, using the "regular" upload function

 

In FTP I see the video has no file extention, its' just named "1"

what format is it?

can I change my 80mb flv to whatever format "1" is, and uploadit it, overlaying "1"?

 

I'm getting desperate on how to get videos to upload to my site

 

Quote · 17 Mar 2010

I was able to upload a small 20k video as a test, using the "regular" upload function

In FTP I see the video has no file extention, its' just named "1"

what format is it?

can I change my 80mb flv to whatever format "1" is, and uploadit it, overlaying "1"?

I'm getting desperate on how to get videos to upload to my site

the answer to this is NO, if you upload another video that is processed then you will have just what you see there. have you checked your phpinfo() is the 20mb the setting on the server?

CRON JOB settings check them.

Regards,

DosDawg

When a GIG is not enough --> Terabyte Dolphin Technical Support - Server Management and Support
Quote · 17 Mar 2010

My phpinfo() says

upload_max_filesize=300M
post_max_size=300M
file_uploads ON
memory_limit 128M

what does the cron job have to do with the upload?

 

Quote · 18 Mar 2010

what does the cron job have to do with the upload?

The cron job processes the video upload.

BoonEx Certified Host: Zarconia.net - Fully Supported Shared and Dedicated for Dolphin
Quote · 18 Mar 2010

Check the post that I have regarding Cron Jobs. Take a look at possibly adding the path to your php.ini file in the cron job command. It seems the cron is not processing the video completely.

Chris

Nothing to see here
Quote · 18 Mar 2010

I think am on the right track thanks to your help...

The cron job sends an email

<f alt="red">register_globals is On (warning, you should have this param in Off state, or your site will unsafe)</font> <br />
Please go to the <br />
<a href="http://www.boonex.com/trac/dolphin/wiki/GenDolTShooter">Dolphin Troubleshooter</a> <br />
and solve the problem.

I added the "-c /home/mysite/public_html/members/php.ini" part of the command and no output is sent.. Is this normal?

 

/public_html/members/php.ini contains the lines

safe_mode = Off
get_magic_quotes_gpc = On
allow_url_include = Off
register_globals = Off

Quote · 18 Mar 2010

I think am on the right track thanks to your help...

The cron job sends an email

<f alt="red">register_globals is On (warning, you should have this param in Off state, or your site will unsafe)</font> <br />
Please go to the <br />
<a href="http://www.boonex.com/trac/dolphin/wiki/GenDolTShooter">Dolphin Troubleshooter</a> <br />
and solve the problem.

I added the "-c /home/mysite/public_html/members/php.ini" part of the command and no output is sent.. Is this normal?

/public_html/members/php.ini contains the lines

safe_mode = Off
get_magic_quotes_gpc = On
allow_url_include = Off
register_globals = Off

It's normal for no email to be sent by the cron job if there is nothing to process, from what I've seen.

BoonEx Certified Host: Zarconia.net - Fully Supported Shared and Dedicated for Dolphin
Quote · 18 Mar 2010

It seems the cron job is working.. I uploaded a 430kb test video and received output from the cron job , but this hasn't corrected the large file upload problem

Even before the cron job ran, I could see the small test file in the /flash/modules/video/files folder

When I attempt to  upload 80MB file, the flash upload reports a 503 error, and the regular up load never terminates (I let it run for 2 hours, before shutting down the site). I don't see a file in the /flash/modules/video/files folder

Is there anything within Dolphin that limits file upload size?  my php parameters are set to 300MB

Quote · 18 Mar 2010

Just wondering since it hasnt been mentioned yet. What is you maximum execution time set at? Go to your admin panel>tools> host tools then click host params.

Example, my host has mine set to 16000 for 410M post_max_size.

I can upload 50-70MB video files with no problem. Maybe you are timing out.

Chris

Nothing to see here
Quote · 18 Mar 2010

currently set to 600 seconds for max_execution_time and max_input_time

is that too short?

Quote · 18 Mar 2010

Hehe. Well not for a small video its not. If you have access to the php.ini file in the root of the dolphin install, I would suggest bumping that up a bit. You will never get a 80MB file with that setting.

If you can edit it, starting with changing the max time to something like this:

Edit/Removed since forum is removing the code.

Chris

Nothing to see here
Quote · 18 Mar 2010

I've set to 16000 and trying again.. it's still cranking away I'll let you know if it suceeeds :)

Quote · 18 Mar 2010

so far the "regular" upload has been running for an hour.. there are no new files in /flash/modules/video/files

I have a sneaking suspicion that the upload will fail

 

Is there another parameter in Dolphin or on my server I can alter to get large file uploads to work?

Quote · 18 Mar 2010

Thats around 4.5 hrs.  Should be plenty of time :D  Uploading is generally slower than downloading, so 600 seconds would have been too small a number for a 80MB file.

:-)
Quote · 18 Mar 2010

The Upload has now been running for almost 4 hours..  I don't think it's going to work

The cron job is now working (a 432kb file processed)

my php.ini looks like this and phpinfo confirms it..

safe_mode = Off
get_magic_quotes_gpc = On
allow_url_include = Off
register_globals = Off
upload_max_filesize=300M
post_max_size=300M
max_executi alt=16000
max_input_time=16000

Is there something I'm missing in my confiuration?

Quote · 18 Mar 2010

OK. Im going to have to check a few things. I will PM you.

Nothing to see here
Quote · 18 Mar 2010

I appreciate the time you guys have spent on this,  I can't be the only user on HostGator using Apache?

maybe there a way to use embed for my own videos that have been FTP'ed up to my server?

Quote · 20 Mar 2010

If your php is running in cgi mode (whatever that means) then that php.ini file will need to be in almost every directory.

Quote · 20 Mar 2010

I don't have the php.ini file in every directory, but just about.. I had to place it in most directories just to get D& to function, and to get capcha to work

Quote · 20 Mar 2010

503 errors in the HTTP cycle

Any client (e.g. your Web browser or our CheckUpDown robot) goes through the following cycle when it communicates with the Web server:

  • Obtain an IP address from the IP name of the site (the site URL without the leading 'http://'). This lookup (conversion of IP name to IP address) is provided by domain name servers (DNSs).
  • Open an IP socket connection to that IP address.
  • Write an HTTP data stream through that socket.
  • Receive an HTTP data stream back from the Web server in response. This data stream contains status codes whose values are determined by the HTTP protocol. Parse this data stream for status codes and other useful information.

This error occurs in the final step above when the client receives an HTTP status code that it recognises as '503'.

Fixing 503 errors

The Web server is effectively 'closed for repair'. It is still functioning minimally because it can at least respond with a 503 status code, but full service is impossible i.e. the Web site is simply unavailable. There are a myriad possible reasons for this, but generally it is because of some human intervention by the operators of the Web server machine. You can usually expect that someone is working on the problem, and normal service will resume as soon as possible.

Please contact the system operators of the Web site (e.g. your ISP) to determine why the service is down. They will be in a much better position to help you than we are for this type of error.

PLEASE NOT THIS IS NOT A PROBLEM WITH DOLPHIN, THIS IS AN ISSUE AT YOUR HOST or YOUR DEDICATED SERVER.

If you want i can take alook for you please c alt=]

 

MSN = Lee@vilayer.com

Skype = lee.netarus

Googletalk = lee@vilayer.com

 

I DO NOT CHARGE ANY MONEY AT ALL i am just wanting to help the community out !

Best Regards,

Lee

Quote · 20 Mar 2010

I opened a ticket with HostGator, gave them evrything I've tried so far...

we'll see what they say...  One of these days I'll have the solution, and I'll post it, so no one else has to go through this Tongue out

Quote · 20 Mar 2010

Made bunches of progress Smile

 

First if you are changing you php configuration, you need to restart Apache (assuming your server is running Apache)

Second.. If you are using Apache with mod_security the upload will not work,

you need to put the following in your .htaccess file to disable mod_security:

SecFilterEngine Off
SecFilterScanPOST Off

so now the 80MB flv uploads, and a play button exists on the video (after making the video "active") but the time length shows as 0:00 

When I press the play button, I get a brief loading message, then a black screen,  the video does not play


Quote · 21 Mar 2010

Made bunches of progress Smile

First if you are changing you php configuration, you need to restart Apache (assuming your server is running Apache)

Second.. If you are using Apache with mod_security the upload will not work,

you need to put the following in your .htaccess file to disable mod_security:

SecFilterEngine Off
SecFilterScanPOST Off

so now the 80MB flv uploads, and a play button exists on the video (after making the video "active") but the time length shows as 0:00

When I press the play button, I get a brief loading message, then a black screen,  the video does not play

Try changing the permissions for the directories. This issue can happen (where the media doesn't play) when the permissions for the directories are either inadequate, or configured in a way that the server doesn't allow. For example, the proper permissions for most people for directories is 755. So you don't end up wasting any time, try to change the permissions first for only the directories of the video application (./flash/video/files, etc.).

BoonEx Certified Host: Zarconia.net - Fully Supported Shared and Dedicated for Dolphin
Quote · 21 Mar 2010

 

 

Try changing the permissions for the directories. This issue can happen (where the media doesn't play) when the permissions for the directories are either inadequate, or configured in a way that the server doesn't allow. For example, the proper permissions for most people for directories is 755. So you don't end up wasting any time, try to change the permissions first for only the directories of the video application (./flash/video/files, etc.).

 

That was the last piece of the puzzle..

./flash/video/files was set to 777, changed it to 755 and the video plays Cool

Thank you everyone... could have never got this working without you!

Quote · 21 Mar 2010
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.