SibSoft Ltd.
Development Services
software products
 RegisterRegister    SearchSearch   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
EZYWebhost - Cheap XUpload & XFileSharing 100% campatible hosting

AJAX upload progress bar

File sharing script
Integration problem

 
Post new topic   Reply to topic    SibSoft Ltd Forum Index -> XUpload
View previous topic :: View next topic  
Author Message
dinesh



Joined: 28 Aug 2008
Posts: 5

PostPosted: Aug 28, 2008 9:49 am    Post subject: Integration problem Reply with quote

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
View user's profile Send private message MSN Messenger
PilgrimX182



Joined: 22 Mar 2006
Posts: 1055
Location: Undisclosed location

PostPosted: Aug 28, 2008 9:59 am    Post subject: Reply with quote

JS error cause can't run .cgi:
http://www.vetspace.info/cgi-bin/upload.cgi?mode=settings
Back to top
View user's profile Send private message Visit poster's website AIM Address
dinesh



Joined: 28 Aug 2008
Posts: 5

PostPosted: Aug 28, 2008 10:50 am    Post subject: Reply with quote

then what is the solution, i am using the fresh javascript file as provided in the xupload pro pack
Back to top
View user's profile Send private message MSN Messenger
PilgrimX182



Joined: 22 Mar 2006
Posts: 1055
Location: Undisclosed location

PostPosted: Aug 28, 2008 12:26 pm    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website AIM Address
dsjadoun



Joined: 27 Aug 2008
Posts: 5

PostPosted: Aug 28, 2008 2:48 pm    Post subject: Reply with quote

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
View user's profile Send private message
dsjadoun



Joined: 27 Aug 2008
Posts: 5

PostPosted: Aug 28, 2008 2:52 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    SibSoft Ltd Forum Index -> XUpload All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group