Enable Upload Progress Bar
	
	
		THIS IS FOR vShare 2.3 to vShare 2.5.
FOR VSHARE 2.6, see 
http://docs.buyscripts.in/wiki/Enabl...d_Progress_Bar
Upload Progress Bar is added to vShare 2.3. By default, Upload Progress Bar is set to disabled. Upload Progress Bar will work only if you have (cgi-bin) support on your web server.
To enable upload Progress Bar, you need to make following changes
Open /include/settings/upload.php
FIND
	Code:
	
$use_upload_progress_bar = 0;
 REPLACE WITH
	Code:
	
$use_upload_progress_bar = 1;
 
Open /cgi-bin/uu_default_config.pm
FIND
	Code:
	
temp_dir                 => '/home/web/vshare/templates_c/',
 
REPLACE WITH
	Code:
	
temp_dir                 => '/path/to/templates_c/',
 On Cpanel Servers, it will be
/home/YOUR-CPANEL_USERNAME/public_html/templates_c/
FIND
	Code:
	
        upload_dir               => '/home/web/vshare/video/',
 
REPLACE WITH
	Code:
	
        upload_dir               => '/home/YOUR-CPANEL_USERNAME/public_html/video/',
 
FIND
	
	Code:
	
redirect_url             => 'http://linux/web/vshare/upload.php',
 REPLACE WITH
	Code:
	
        redirect_url             => 'http://www.yourdomain.extn/upload.php',
 This is url of upload.php on your web site.
WORKING COPY OF uu_default_config.pm used by http://video.bizhat.com
http://video.bizhat.com/doc/uu_default_config.pm.txt
Set Permissions
Perl files (CGI Scripts) only work if you set 755 permission (chmod 755) on following files. You can do this with FTP software or in Cpanel. Also the files should not change it format (UNIX format).
	Code:
	
chmod 755 /cgi-bin/uu_ini_status.pl
chmod 755 /cgi-bin/uu_upload.pl
 Common Errors and Solutions
http://docs.buyscripts.in/wiki/Upload_Progress_Bar
	 
	
	
	
		Still can't get the progress bar to work
	
	
		I'm still getting :
ERROR: Failed to load default config file uu_default_config.pm 
Even though I'm using the latest version, I downloaded the upgrade and replaced the upload.php file. Still no good.
I've modded, changed paths. I am at a complete loss for answers.
	 
	
	
	
		Still unable to get progress bar to work...
	
	
		I have tried everything listed, but till get the following errror:
ERROR: Failed to find flength file
	 
	
	
	
		Re: Still unable to get progress bar to work...
	
	
		
	Quote:
	
		
		
			
				Originally Posted by sunnyside2522
				
			
			I have tried everything listed, but till get the following errror:
ERROR: Failed to find flength file
			
		
	 
 This is caused by mod_security on the server.
See
http://uber-uploader.sourceforge.net/?section=flength
On cpanel servers, it work by default with out any change, if you use another control panel that have cgi-bin outside public_html, you need to upload .htaccess file with following content to cgi-bin folder too
	Code:
	
<IfModule mod_security.c>  
  # Turn off mod_security filtering.  
  SecFilterEngine Off  
 
  # The below probably isn't needed,  
  # but better safe than sorry.  
  SecFilterScanPOST Off  
</IfModule>  
<IfModule mod_gzip.c>  
  mod_gzip_on No  
</IfModule>