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
Bookmarks