XUpload - upload_form2 template, get xstatus.js jscript errors

Posts: 1
Joined: Feb 18, 2008 12:02 pm

upload_form2 template, get xstatus.js jscript errors

#1 Postby sjmncat » Feb 18, 2008 12:16 pm

Love your 3.0 code. Keep up the fine work!!

Had trouble with upload_status.cgi showing progress with the upload_form2.html which I think is due that it uses a named template instead of defaulting.

It appears to be a bug in parameter name in this line:

Code: Select all

upload_status.cgi:my $tmpl_name = $cgi->param('tmpl');
I changed to this and it began to display progress like the other input form methods:

Code: Select all

upload_status.cgi:my $tmpl_name = $cgi->param('tmpl_name'); 

User avatar
Posts: 2186
Joined: Mar 22, 2006 1:39 pm

#2 Postby PilgrimX182 » Feb 18, 2008 1:19 pm

Nopes. tmpl_name transforms to tmpl in xupload.js

Anyway, thanks for this report, I've looked through code and found some dirty regression bugs.

Posts: 5
Joined: Apr 23, 2008 11:16 am

#3 Postby edwinost » Apr 23, 2008 12:05 pm

This edit in upload_status.cgi helped me with the same problem!