Author Topic: [HOW TO] Upload progress bar Error - ERROR: Failed to find flength file  (Read 13593 times)

inmotion

  • Administrator
  • Hero Member
  • *****
  • Posts: 2788
  • PHPmotion Developer
    • PHPmotion Demo
What this solution fixes:

1) Progress bar on uploading is not showing

2) You are getting an error when uploading "Failed to find flength file"

-------------------------------------------------------------------------------------------------------------------------------------

You will need NotePad or similar text editor to do this.

Step 1) Open Notepad and create new document


Spep 2) Copy and paste the information below into Notepad

Quote
php_value upload_max_filesize 100M
php_value post_max_size 100M
php_value output_buffering on
php_value max_execution_time 1000
php_value max_input_time 1000
php_value session.gc_maxlifetime 14400

RewriteEngine On


# Turn off mod_security filtering.
SecFilterEngine Off

# The below probably isn't needed,
# but better safe than sorry.
SecFilterScanPOST Off

Step 3) When saving the file, select the "All types" option and save the file with the name   .htaccess

This step is very important, this file unlike other normal files e.g file.txt actually has an extension "htaccess" and no name as such, so the "dot" is the the first part of the files name.


Step 4) Upload this file to your FTP main directory


IMPORTANT

Uploading .htaccess files with some webhosts may cause an error with the site. If this is the case simply delete the file from your FTP



« Last Edit: July 31, 2007, 04:30:27 PM by inmotion »