ABHIONLINUX
Site useful for linux administration and web hosting

Showing posts with label flength phpmotion. Show all posts
Showing posts with label flength phpmotion. Show all posts

2010/09/25

Phpmotion : Uploading video asks .pl-File to download

When we try to upload videos in to phpmotion, it will be asking to download uu_upload.pl.

If you are getting the download an upload script fo video, it means that your site is not executing the script but it is treating as plain text type doc. what we have to do is to make your site to run .pl and .cgi files.

For this, you need to check the permission of cgi-bin folder and files inside it,. it should be 755.

To make your cgi and pl files to be run in your site, you need to add the following lines in your htaccess.
===============================
AddHandler cgi-script .cgi .pl

Options +ExecCGI


Options +ExecCGI
===============================

2010/05/29

Video uploading throws error -- Failed to find flength file.

This is a well known error with the uploader component (which is commonly used by many scripts like clipshare, phpmotion etc). This is just a cosmetic error and nothing to do with the real uploading process. The best "workaround" for this issue is to disable the error message. To do so, locate the file cgi-bin/uu_ini_status.pl inside your script folder and change the value of my $flength_file_exists from 0 to 1.

The bad news is, you won't see the upload status counter. The good news is, your upload process will work just fine!