Using the Free 2.6 version
OS: windows XP
browser: IE and FF
Earlier the file was uploading into the proper folder, but the status bar popup has never displayed (get a 404 error).
Also all of a sudden, I've been getting "Maximum upload size exceeded".
So two things aren't working: The status bar and the upload.
http://test.swrpgrc.com/images/photos/upload_form.html
Here's the config file code
Code: Select all
package XUploadConfig;
BEGIN
{
use Exporter;
@XUploadConfig::ISA = qw( Exporter );
@XUploadConfig::EXPORT = qw( $c );
}
our $c=
{
# Directory for temporary using files
temp_dir => '/home/www/test.swrpgrc.com/images/photos/Unfinished/',
# Directory for uploaded files
target_dir => '/home/www/test.swrpgrc.com/images/photos/images/',
# Path to the template using for upload status window
templates_dir => '/home/www/test.swrpgrc.com/cgi-bin/Templates/',
# Allowed file extensions delimited with '|'
ext_allowed => 'jpg|jpeg|gif|bmp',
# URL to send all input values from upload page
url_post =>
# The link to redirect after complete upload
# This setting can be submitted from HTML form, then it will have priority
redirect_link => 'http://test.swrpgrc.com/images/photos/upload_form.html',
# Max length of uploaded filenames(without ext). Longer filenames will be cuted.
max_name_length => 64,
# Type of behavior when uploaded file already exist on disc. Available 3 modes: Rewrite/Rename/Warn
copy_mode => 'Rename',
# Maximum total upload size in Kbytes
max_upload_size => 70000000,
# Time to keep temp upload files on server, sec (24 hours = 86400 seconds)
temp_files_lifetime => 86400,
};
1;