close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Solution to issue regarding uploading video/audio

Thread began 1/08/2010 12:11 pm by StephenMartin | Last modified 1/08/2010 1:38 pm by Eric Mittman | 1020 views | 1 replies |

StephenMartin

Solution to issue regarding uploading video/audio

Eric was a great in finding a solution to my problem. Thank you, Eric! Below is his resolution.

"There may be a problem with your php configuration in regards to the maximum file size, or possibly the server timeout.

You can check on these settings by creating a phpinfo page. This is a page that lists your servers settings for php. To create a page like this you just need to add this code to the top of any php page:

<?php phpinfo(); ?>

When you save the page and upload it to your server browse to it to see the info. In here you will want to check for the following settings:

upload_max_filesize
max_execution_time

By default these values are set to 2MB and 30 secs. If the file you are trying to upload is larger than this size or would take longer than the allowed time to upload then you will encounter a problem like you are experiencing.

To adjust the file size setting you will need to edit this in the php.ini file. If you do not have access to this or cannot edit the value then you will need to speak to your hosting provider to see if they can make this update for your or allow you to do it. For the execution time you can add in a php function on the page that will allow the script on the page to run for a longer time, here is what that function looks like:

<?php set_time_limit(<number of seconds to allow>); ?>

There is another test you can run on the upload to help determine if it the file type that is not allowed. If you can upload an very small mp3 file it would help to determine if the extension is part of the problem or the file size. I'm including a small sample mp3 that I found that you can use for this test, it is very small only about 65k.

Please run these tests to see what settings you have and if you can upload a small mp3 and let us know the result."

Sign in to reply to this post

Eric Mittman

Just to further clarify about the smaller mp3 file, you can do a test like this with any file that is smaller than the 2MB limit to test if the file type is being restricted or if it is the size of the file that is being restricted.

Sign in to reply to this post

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...