Page 11 of 13 FirstFirst ... 910111213 LastLast
Results 101 to 110 of 127

Thread: Enable Upload Progress Bar

  1. #101
    Join Date
    Oct 2007
    Posts
    126

    Default Re: Enable Upload Progress Bar

    I have my board up and running on Dreamhost. vShare is installed and running. But users upload multiple copies of videos because they are not notified that the upload has begun. I am attempting to activate the progress bar. The 505/404 errors occur for me. I have rechecked all permissions and they are at 777. I am sure the problem is my upload and temp directory paths in the cgi folder.

    Does anyone know for sure what they should look like for Dreamhost?

    This is what the paths look like for what I see when using FTP.
    /myroot/rootofmywebsite/allthevsharefiles/cgi-bin/uudefault_config.pm

    Does the import folder path on my server help with the answer?
    /home/.bobby/myusername/mywebsite.net/templates_c/import

    Thanks
    CasselmanCanada.com (free access)


  2. #102
    Join Date
    Apr 2007
    Posts
    2,202

    Default Re: Enable Upload Progress Bar

    .pl files need 755 permission. If perl is working, you will see page like

    http://video.bizhat.com/cgi-bin/uu_upload.pl

    When you go to the uu_upload.pl on on your site.

  3. #103
    Join Date
    Oct 2007
    Posts
    126

    Default Re: Enable Upload Progress Bar

    Yes, I saw the same error on my site as I saw when I clicked your link. However I went through and checked all the permissions again. Found one not right. Changed and then I saw the upload progress bar.

    OK, I thought everything was working fine but the file appears to upload and goes nowhere. So now I need to figure out where the upload is going. The paths look right but something is wrong. Turn off the progress bar in settings and uploads do work.

    After an upload the upload page was loading again so now after a change the redirect url is 'http://www.mywebsite.net/index.php', Since this works I am not sure why the upload path does not work as it is identical except for video instead of index.php.

    BTW, my import folder and import video feature do not work yet either.

    Again, I am using Dreamhost as my provider.
    CasselmanCanada.com (free access)


  4. #104
    Join Date
    Oct 2007
    Posts
    126

    Default Re: Enable Upload Progress Bar

    More on my Progress Bar problems... Nobody has offered any help so I had to work on it myself...

    I knew the problems were all path related, but because I am on Dreamhost I was not sure what to change. The solution really came from viewing the import folder path and this gave me the full path on Dreamhost's servers. So now my uudefault_config.pm file shows an upload dir of /home/.bobby/myusername/myvsharedir/video/
    And the real goofy one is the redirect_url which is ../upload.php
    Of course the path_to_upload has the full "http://www.mywebsite/video/"

    Once all these paths were correct my other problem of an error because of uploading filenames with spaces was corrected! Users can now upload files with many spaces and they can have the progress bar and information displayed to them during the upload. There is a 3 or 4 second delay with a blank screen showing immediately after the upload but then they are given the standard confirmation screen. During this delay there is a massive processor surge as something like a java script puts a big load on the user's terminal.

    So there is progress. I am still working on things such as importing videos through admin but that will come.
    CasselmanCanada.com (free access)


  5. #105
    Join Date
    Oct 2007
    Posts
    9

    Default Re: Enable Upload Progress Bar

    Hallo
    I enable the bar but I receive this error

    "Cannot find flenght file"

    What is it?

  6. #106
    Join Date
    Apr 2007
    Posts
    2,202

    Default Re: Enable Upload Progress Bar

    Quote Originally Posted by robaldo
    Hallo
    I enable the bar but I receive this error

    "Cannot find flenght file"

    What is it?

    This is mostly caused by wrong configuration or server block access to find file.

    Use real path in the configuration files, not symlink.

    http://docs.buyscripts.in/wiki/Upload_Progress_Bar
    http://uber-uploader.sourceforge.net/?section=flength

  7. #107
    Join Date
    Oct 2007
    Posts
    9

    Default Re: Enable Upload Progress Bar

    I added at the end

    <IfModule mod_security.c>
    SetEnvIfNoCase Content-Type \
    "^multipart/form-data;" "MODSEC_NOPOSTBUFFERING=Do not buffer file uploads"
    </IfModule>

    <IfModule mod_gzip.c>
    mod_gzip_on No
    </IfModule>

    I checked /incluedes/config.php and use real path

    $config['basedir'] = "/home/CPANELNAME/public_html";
    $config['baseurl'] = "http://www.MYSITE.com";

    but still having this error.. What else can I check?
    The host is hostonnet, and the other script I installed in another domain (2.4) works fine

  8. #108
    Join Date
    Nov 2007
    Posts
    8

    Default Re: Enable Upload Progress Bar

    When I press Upload nothings happen. no progress bar or .....

  9. #109
    Join Date
    Nov 2007
    Posts
    8

    Default Re: Enable Upload Progress Bar

    this is my content of uu_defualt_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 => $ENV{'DOCUMENT_ROOT'} . '/templates_c/',
    upload_dir => $ENV{'DOCUMENT_ROOT'} . '/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.tubeirani.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| mp3|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],[email protected]',
    from_email_address => '[email protected]',
    };

    1;

  10. #110
    Join Date
    Nov 2007
    Posts
    1

    Default Re: Enable Upload Progress Bar

    Hello,

    I'm using the upload meter and it works great for me. My problem is that I want to change a few very basic things.

    I have a cookie set for 'company' and another for 'oos_number'.
    I have updated the uu_default_config.pm file so perl reads these cookies so they can be used in the path for where to store the file and for re-directing after the upload completes.

    When I use the script with the following changes below, the progress meter doesn't show up.... it does however upload the file to the correct folder and it also re-directs to the correct place.

    I have tried uploading any size of file from 19k to 110MB. The file uploads but the progress meter doesn't show.

    If I remove my customizations and revert to the original, the progress bar shows again.

    Please take a look at me uu_default_config.pm file below and see if you have any idea on what is wrong here.... I've spent hours on it.

    Thanks
    Marcel.



    package uu_default_config;
    use strict;
    use Exporter;

    #HERE ARE THE LINES I'VE ADDED
    # Read Cookies set by PHP to determine file path
    use CGI qw(:all); # I ADDED THIS LINE
    my $da = new CGI;
    my $company = $da->cookie('company');
    my $oos_number = $da->cookie('oos_number');

    @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 => '/tmp/',
    upload_dir => $ENV{'DOCUMENT_ROOT'} . '/uploads/' . $company . '/' . $oos_number . '/',
    unique_upload_dir => 0,
    unique_upload_dir_length => 16,
    unique_file_name => 0,
    unique_file_name_length => 16,
    max_upload => 124857600,
    overwrite_existing_files => 0,
    redirect_after_upload => 1,
    param_dir => '/tmp/',
    pass_param_dir => 0,
    redirect_url => '/review.php?oos_number=' . $oos_number,
    redirect_using_js_html => 1,
    redirect_using_html => 0,
    redirect_using_js => 0,
    redirect_using_location => 0,
    get_data_speed => 1000,
    disallow_extensions => '(sh|php|php3|php4|php5|py|shtml|phtml|cgi|pl|plx| htaccess|htpasswd)',
    allow_extensions => '(jpg|jpeg|gif|bmp)',
    normalize_file_names => 1,
    normalize_file_delimiter => '_',
    normalize_file_length => 48,
    link_to_upload => 0,
    path_to_upload => 'http://'. $ENV{'SERVER_NAME'} . '/uploads/' . $company . '/' . $oos_number . '/',
    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],[email protected]',
    from_email_address => '[email protected]',
    log_uploads => 0,
    log_params => 0,
    log_dir => '/tmp/uu_logs/',
    };

    1;

Page 11 of 13 FirstFirst ... 910111213 LastLast

Similar Threads

  1. Upload Progress help
    By chris34470 in forum Installation Support
    Replies: 4
    Last Post: 08-25-2008, 01:33 PM
  2. NICHE VIDEO SCRIPT: How to enable User Profile, Upload, etc
    By grynmoors in forum Installation Support
    Replies: 1
    Last Post: 03-17-2008, 12:01 AM
  3. upload progress bar
    By bigbuttsTV in forum Fixed Bugs
    Replies: 3
    Last Post: 08-14-2007, 09:54 AM
  4. upload progress bar
    By hake in forum Fixed Bugs
    Replies: 15
    Last Post: 07-17-2007, 12:32 AM
  5. Upload Progress Bar
    By sam in forum Feature Requests
    Replies: 5
    Last Post: 06-12-2007, 12:19 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •