Page 2 of 2 FirstFirst 12
Results 11 to 17 of 17

Thread: ?? HOW TO display error message when file too large ??

  1. #11
    Join Date
    Sep 2008
    Posts
    1,019

    Default Re: ?? HOW TO display error message when file too large ??

    Ah ha!!! Found it!

    Open up your uu_default_config.pm file (in your CGI-BIN) directory:

    Change max_upload from 20971520000 (which is 20GB in true bytes) to 104857600 (which is 100MB in true bytes). If you attempt to upload something bigger than 100MB, the upload progress will display an error about the maximum file size being exceeded.
    vShare Solutions
    Custom vShare Modules and Services

    Now, your visitors can watch videos on your site using their mobile or tablet device with the Mobility Mod for vShare 2.8!

  2. #12
    Join Date
    May 2007
    Location
    Planet Earth
    Posts
    1,389

    Default Re: ?? HOW TO display error message when file too large ??

    Oh poo...that wasn't it either.

    Connection Interrupted
    The connection to the server was reset while the page was loading.
    The network link was interrupted while negotiating a connection. Please try again.
    I put in a support ticket to my web host, they're checking on it.
    If it's not fun, stop doing it!

  3. #13
    Join Date
    Sep 2008
    Posts
    1,019

    Default Re: ?? HOW TO display error message when file too large ??

    Which site of yours did you change? You should have gotten an error about the file being too large immediately after hitting upload. I'll post a screenshot.
    vShare Solutions
    Custom vShare Modules and Services

    Now, your visitors can watch videos on your site using their mobile or tablet device with the Mobility Mod for vShare 2.8!

  4. #14
    Join Date
    May 2007
    Location
    Planet Earth
    Posts
    1,389

    Default Re: ?? HOW TO display error message when file too large ??

    POOOOOOO I'm not getting that error. :( I get the same server error on all my vShare sites. I changed the UU file on all my sites just to see and still get that error.

    Try it on rappelzvideos.com
    If it's not fun, stop doing it!

  5. #15
    Join Date
    Sep 2008
    Posts
    1,019

    Default Re: ?? HOW TO display error message when file too large ??

    That's really weird?!? The files in your CGI-BIN are CHMOD 755 correct? Also, could you display what is listed in your uu_default_config.pm?
    vShare Solutions
    Custom vShare Modules and Services

    Now, your visitors can watch videos on your site using their mobile or tablet device with the Mobility Mod for vShare 2.8!

  6. #16
    Join Date
    May 2007
    Location
    Planet Earth
    Posts
    1,389

    Default Re: ?? HOW TO display error message when file too large ??

    Oh yeah, everything is 755..been using vShare since 2.4...the only thing I changed is the regular settings.

    Here's my uu file

    Code:
    package uu_default_config;
    use strict; 
    use Exporter;
    
    @uu_default_config::ISA = qw( Exporter );
    @uu_default_config::EXPORT = qw($config);
    
    use vars qw($config);
    use vars qw($base_dir);
    
    $base_dir = '/home/*****/public_html/rappelzvideos';
    
    $config = {
    	config_file_name         => 'uu_default_config',
    	temp_dir                 => $base_dir . '/templates_c/',
    	upload_dir               => $base_dir . '/video/',
    	unique_upload_dir        => 0,
    	unique_upload_dir_length => 16,
    	unique_file_name         => 0,
    	unique_file_name_length  => 16,
    	max_upload               => 104857600,
    	overwrite_existing_files => 0,
    	redirect_after_upload    => 1,
    	param_dir                => $base_dir . '/templates_c/',
    	pass_param_dir           => 1,
    	redirect_url             => 'http://rappelzvideos.com/upload.php',
    	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|mp3|exe|scr|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           => 0,
    	path_to_upload           => 'http://'. $ENV{'SERVER_NAME'} . '/uploads/',
    	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                  => $base_dir . '/templates_c/',
    };
    
    1;
    If it's not fun, stop doing it!

  7. #17
    Join Date
    Sep 2008
    Posts
    1,019

    Default Re: ?? HOW TO display error message when file too large ??

    This is looking as though it is going to be an issue on your particular host, so it may be best to keep that ticket you have open. What is happening is that when you post a file bigger than the maximum file size, you are supposed to get an error message about the file size being exceeded. However, what you are getting is a server connection failure. You may not have the permissions (on your server) to set the CGI POST_MAX size.
    vShare Solutions
    Custom vShare Modules and Services

    Now, your visitors can watch videos on your site using their mobile or tablet device with the Mobility Mod for vShare 2.8!

Page 2 of 2 FirstFirst 12

Similar Threads

  1. error message
    By Dowis in forum Bug Reports
    Replies: 1
    Last Post: 02-10-2009, 03:53 AM
  2. error message
    By berry05 in forum Installation Support
    Replies: 1
    Last Post: 04-12-2008, 04:38 AM
  3. Uploading large files error
    By wannaclip in forum Fixed Bugs
    Replies: 16
    Last Post: 07-07-2007, 08:51 AM
  4. Setting php.ini for Large File Uploads
    By admin in forum Frequently Asked Questions
    Replies: 0
    Last Post: 06-08-2007, 05:08 PM
  5. Won't allow large file uploads
    By mersh in forum Installation Support
    Replies: 1
    Last Post: 06-08-2007, 04:42 PM

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
  •