XUpload - Integration problem

Message
Author
dinesh
Posts: 5
Joined: Aug 28, 2008 9:44 am

Integration problem

#1 Postby dinesh » Aug 28, 2008 9:49 am

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]

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

#2 Postby PilgrimX182 » Aug 28, 2008 9:59 am


dinesh
Posts: 5
Joined: Aug 28, 2008 9:44 am

#3 Postby dinesh » Aug 28, 2008 10:50 am

then what is the solution, i am using the fresh javascript file as provided in the xupload pro pack

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

#4 Postby PilgrimX182 » Aug 28, 2008 12:26 pm

Once again, it's not JS, it's upload.cgi script not working. Cause JS request it to obtain settings on init.

dsjadoun
Posts: 5
Joined: Aug 27, 2008 4:05 pm

#5 Postby dsjadoun » Aug 28, 2008 2:48 pm

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;
}

dsjadoun
Posts: 5
Joined: Aug 27, 2008 4:05 pm

#6 Postby dsjadoun » Aug 28, 2008 2:52 pm

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");
}


Return to “XUpload”



Who is online

Users browsing this forum: No registered users and 0 guests