| View previous topic :: View next topic |
| Author |
Message |
dinesh
Joined: 28 Aug 2008 Posts: 5
|
Posted: Aug 28, 2008 9:49 am Post subject: Integration problem |
|
|
Hi
i just purchased xupload pro, i am using windows server, my php running through apache, i have maked directory cgi-bin at my root folder, and done the changes as you mentioned in instructions, but nothing is happened, First it giving javascript error on upload_form.html, when i clicked on submit button then nothing happened.
http://www.vetspace.info/upload_form.html
http://www.vetspace.info/upload_form_tiny.html
dinesh[/quote] |
|
| Back to top |
|
 |
PilgrimX182

Joined: 22 Mar 2006 Posts: 1107 Location: Undisclosed location
|
|
| Back to top |
|
 |
dinesh
Joined: 28 Aug 2008 Posts: 5
|
Posted: Aug 28, 2008 10:50 am Post subject: |
|
|
| then what is the solution, i am using the fresh javascript file as provided in the xupload pro pack |
|
| Back to top |
|
 |
PilgrimX182

Joined: 22 Mar 2006 Posts: 1107 Location: Undisclosed location
|
Posted: Aug 28, 2008 12:26 pm Post subject: |
|
|
| Once again, it's not JS, it's upload.cgi script not working. Cause JS request it to obtain settings on init. |
|
| Back to top |
|
 |
dsjadoun
Joined: 27 Aug 2008 Posts: 5
|
Posted: Aug 28, 2008 2:48 pm Post subject: |
|
|
Hi,
I'm upgrading from free version to pro. But in pro version i'm not been able to relate which file uploaded from which input field.
Can i change something in upload.cgi to include the input field name with other variables.
for my $f (@files)
{
my @file_fields = qw(file_name file_name_orig file_status file_size file_descr file_mime);
print"<textarea name='$_\[]'>$f->{$_}</textarea>" for @file_fields;
} |
|
| Back to top |
|
 |
dsjadoun
Joined: 27 Aug 2008 Posts: 5
|
Posted: Aug 28, 2008 2:52 pm Post subject: |
|
|
Hi ,
is it safe to comment the following code in upload.cgi (latest pro version), because in my edit form none of file fields are mandatory.
#line 227
if($#files==-1)
{
&lmsg("ERROR: No files uploaded");
sleep 2;
&DelData($temp_dir);
&xmessage("ERROR: No files uploaded");
} |
|
| Back to top |
|
 |
|