Page 1 of 2 12 LastLast
Results 1 to 10 of 13

Thread: error 500 on upload

  1. #1

    Default error 500 on upload

    Everything installed ok and seems fine, but when uploading a video get a status message of error 500. In checking logs on server see...

    [2007-10-09 15:20:16]: error: file has no execute permission: (/home/mmotion/public_html/vhsare/cgi-bin/uu_upload.pl)
    [2007-10-09 15:20:16]: error: file has no execute permission: (/home/mmotion/public_html/vhsare/cgi-bin/uu_ini_status.pl)

    Obviously a permissions thing but where?

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

    Default Re: error 500 on upload

    You need to chmod the .pl files 755

    chmod == change permission, most FTP software have option to do this.

  3. #3

    Default Re: error 500 on upload

    Ok - changed the permissions and now getting new error - "can not find flength of file"

  4. #4

    Default Re: error 500 on upload

    UPDATE - found post about this error and edited pm file. Now get progress bar and seems to be ok to upload entire file and then spits out this error....

    Fatal error: Class 'ffmpeg_movie' not found in /home/mmotion/public_html/vhsare/include/functions_upload.php on line 174

    ffmpeg is on server and works fine as I had purchased an earlier copy of this script for another client which runs on same server.
    it is in usr/bin/ffmpeg

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

    Default Re: error 500 on upload

    Quote Originally Posted by musicandmotion
    Ok - changed the permissions and now getting new error - "can not find flength of file"
    Post the content of cgi-bin/uu_default_config.pm and include/config.php (removed mysql login details before posting).

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

    Default Re: error 500 on upload

    Quote Originally Posted by musicandmotion
    Fatal error: Class 'ffmpeg_movie' not found in /home/mmotion/public_html/vhsare/include/functions_upload.php on line 174
    ffmpeg-php is not working on your server.

    Download the script available at

    Create Thumbnail - START

    and try it on your server to see ffmpeg-php is properly installed on your server.

  7. #7

    Default Re: error 500 on upload

    /home/mmotion/public_html/vhsare/include/config.php (note it is vhsare not vshare)

    $language = "en";

    $config = array();
    $config['ffmpeg'] = "/usr/local/bin/ffmpeg";
    $config['mplayer'] = "/usr/bin/mplayer";
    $config['mencoder'] = "/usr/bin/mencoder";
    $config['flvtool'] = "/usr/bin/flvtool2";
    $config['basedir'] = "/home/mmotion/public_html/vhsare";
    $config['baseurl'] = "http://www.music-and-motion.com/vhsare";

    include($config['basedir'] . "/include/vshare.php");


    /home/mmotion/public_html/vhsare/cgi-bin/uu_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/mmotion/public_html/vhsare/templates_c/',
    upload_dir => '/home/mmotion/public_html/vhsare/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.music-and-motion.com/vhsare/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://www.music-and-motion.comvhsare/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;

  8. #8

    Default Re: error 500 on upload

    Hate to sound stupid but downloaded zip file for test of ffmpeg and ffmpeg_php_info.php is not in that file

  9. #9
    Join Date
    Oct 2007
    Posts
    3

    Default Re: error 500 on upload

    got same error solve that but still getting error like
    ERROR: Failed to mkdir /home/public_html/templates_c/: No such file or directory

    my uu_default_config.pm file contents are below




    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/public_html/templates_c/',
    upload_dir => '/home/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.cricketclips4u.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://www.cricketclips4u.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],[email protected]',
    from_email_address => '[email protected]',
    };

    1;
    Your favourite Cricket clips @ http://www.cricketclips4u.com

  10. #10
    Join Date
    Oct 2007
    Posts
    3

    Default Re: error 500 on upload

    Look like this forum is dead, might be admin don't have interest to rise his business.

    i don't got any replay , plz any one help me to solve my issue.
    Your favourite Cricket clips @ http://www.cricketclips4u.com

Page 1 of 2 12 LastLast

Similar Threads

  1. Upload error
    By alex clone111 in forum Bug Reports
    Replies: 4
    Last Post: 02-10-2009, 09:50 PM
  2. upload-error
    By jonny23 in forum General Discussions
    Replies: 11
    Last Post: 05-23-2008, 09:24 AM
  3. Error: 500 Internal Server Error on Upload
    By zmoore in forum Installation Support
    Replies: 1
    Last Post: 11-21-2007, 09:06 AM
  4. Upload Error
    By shopgood in forum General Discussions
    Replies: 2
    Last Post: 09-21-2007, 01:01 AM
  5. upload error
    By jonny23 in forum General Discussions
    Replies: 1
    Last Post: 08-22-2007, 05:47 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
  •