Hi,
i ve follow the tutorial,and this is what i got:
Progress:
ERROR: Failed to find flength file
any ideas how i can fix that?
best regards
Hi,
i ve follow the tutorial,and this is what i got:
Progress:
ERROR: Failed to find flength file
any ideas how i can fix that?
best regards
One of the reason for this error is wrong path in
uu_default_config.pm
Can you post content of this file ?
hi,
here is the file:
package uu_default_config;
use strict;
use Exporter;
@uu_default_config::ISA = qw( Exporter );
@uu_default_config::EXPORT = qw($config);
use vars qw($config);
$config = {
config_file_name => 'uu_default_config',
temp_dir => '/public_html/template_c/',
upload_dir => '/public_html/video/',
unique_upload_dir => 0,
unique_upload_dir_length => 16,
unique_file_name => 0,
unique_file_name_length => 16,
max_upload => 20971520000,
overwrite_existing_files => 0,
redirect_after_upload => 1,
redirect_url => 'http://glissemagtv.com/upload.php',
redirect_using_js_html => 1,
redirect_using_html => 0,
redirect_using_js => 0,
redirect_using_location => 0,
delete_param_file => 1,
get_data_speed => 1000,
disallow_extensions => '(sh|php|php3|php4|php5|py|shtml|phtml|cgi|pl|plx| htaccess|htpasswd)',
allow_extensions => '(3gp)|(mp4)|(mov)|(asf)|(avi)|(flv)|(wmv)|(mpg)|( mpeg)|(mpeg4)|(xvid)|(divx)|(3gpp)',
normalize_file_names => 1,
normalize_file_delimiter => '_',
normalize_file_length => 32,
link_to_upload => 1,
path_to_upload => 'http://linux/web/vshare/video/',
send_email_on_upload => 0,
html_email_support => 0,
link_to_upload_in_email => 0,
email_subject => 'Uber File Upload',
to_email_address => '[email protected]',
from_email_address => '[email protected]',
};
1;
i just treid another video 12 mb and i got the error sayin that it can fine template_c,but the path is correct???!!!
weird
thx for your time
herve
Path is not correct
temp_dir => '/public_html/template_c/',
it should be some thing like
/home/user/public_html/template_c/
What path you set in include/config.php ?
basedir
ok i ve found the error:
/home/glisvcom/public_html
i fix that tomorrow, thx for your help!
hi,
working like a charm now :)
i ll check with cirtex what goes on with the connection reset :)
thxx a lot
2.5 is available now for upgrade?
best regards
hi,
now the progress bar works like a charm (uploaded a 32 mb vid) but now it s another major bug that i have.
Once the video is uploaded i get redirected to the login page!!! In wich i can t login cause i am already logged in.....
I login after as admin for see where is the video but it s nowhere,not in the innactive list,not playin,no mail received sayin that i got a new video upload, any idea how fix that?
I ve set redirect to "0" but then i get a page with the filename and that s it and no video brodcasted or as inactive
best regards
herve
For redirect to login page after upload, see
http://docs.buyscripts.in/wiki/After_up ... login_page
If you can get it fixed, post content of the two files.
hi admin,
all i have now is a blank white page with as url:
http://www.glissemagtv.com/upload.php?rnd_id=1pySGC2e
config.php:
$language = "en";
$config = array();
$config['ffmpeg'] = "/usr/bin/ffmpeg";
$config['mplayer'] = "/usr/bin/mplayer";
$config['mencoder'] = "/usr/bin/mencoder";
$config['flvtool'] = "/usr/bin/flvtool2";
$config['basedir'] = "/home/glisvcom/public_html";
$config['baseurl'] = "http://www.glissemagtv.com";
include($config['basedir'] . "/include/vshare.php");
default_config.pm
package uu_default_config;
use strict;
use Exporter;
@uu_default_config::ISA = qw( Exporter );
@uu_default_config::EXPORT = qw($config);
use vars qw($config);
$config = {
config_file_name => 'uu_default_config',
temp_dir => '/home/glisvcom/public_html/template_c/',
upload_dir => '/home/glisvcom/public_html/video/',
unique_upload_dir => 0,
unique_upload_dir_length => 16,
unique_file_name => 0,
unique_file_name_length => 16,
max_upload => 20971520000,
overwrite_existing_files => 0,
redirect_after_upload => 1,
redirect_url => 'http://www.glissemagtv.com/upload.php',
redirect_using_js_html => 1,
redirect_using_html => 0,
redirect_using_js => 0,
redirect_using_location => 0,
delete_param_file => 1,
get_data_speed => 1000,
disallow_extensions => '(sh|php|php3|php4|php5|py|shtml|phtml|cgi|pl|plx| htaccess|htpasswd)',
allow_extensions => '(3gp)|(mp4)|(mov)|(asf)|(avi)|(flv)|(wmv)|(mpg)|( mpeg)|(mpeg4)|(xvid)|(divx)|(3gpp)',
normalize_file_names => 1,
normalize_file_delimiter => '_',
normalize_file_length => 32,
link_to_upload => 1,
path_to_upload => 'http://glissemagtv.com/video/',
send_email_on_upload => 0,
html_email_support => 0,
link_to_upload_in_email => 0,
email_subject => 'Uber File Upload',
to_email_address => '[email protected]',
from_email_address => '[email protected]',
};
1;
i am despaired :'(
thx for your priceless time
Yes, Admin is great, any time he can spare to help you will definately assist. ADMIN ROCKS!!!! HE SAVED MY SITE!!!!
Bookmarks