Hello,
We are interested in purchasing your program, but are having some difficulty getting the progress bar to show.
Here is the page we are working with:
http://www.waywithwordsonline.com/upload_form.html
Below are our settings:
xuploadconfig.pm:
# Directory for temporary using files
temp_dir => '/home/waywithw/waywithwordsonline.com/upload/tmp',
# Directory for uploaded files
target_dir => '/home/waywithw/waywithwordsonline.com/upload/files',
# Path to the template using for upload status window
templates_dir => '/home/waywithw/waywithwordsonline.com/cgi-bin/templates',
.htaccess
<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>
all .cgi fiels are set at CHMOD 755
cgi-bin is set at CHMOD 755
root/upload, root/upload/tmp and root/upload/files are all set at CHMOD 777
See any issues there?
Maris
XUpload - Problem with progress bar
- PilgrimX182
- Posts: 2186
- Joined: Mar 22, 2006 1:39 pm
A bit rare problem, it is solved in Pro version.
Here goes quick hack:
in upload.cgi add this link before "opendir(DIR, $dir) || die"Error2";"
should help
Here goes quick hack:
in upload.cgi add this link before "opendir(DIR, $dir) || die"Error2";"
Code: Select all
return unless -d $dir;
- PilgrimX182
- Posts: 2186
- Joined: Mar 22, 2006 1:39 pm
You've added code to the wrong place. Should add to line 167:
change
to
change
Code: Select all
sub SaveFile2
{
my ($temp,$dir,$fname) = @_;
rename($temp,"$dir/$fname");
}
Code: Select all
sub SaveFile2
{
my ($temp,$dir,$fname) = @_;
return unless -d $dir;
rename($temp,"$dir/$fname");
}