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
Invalid Upload ID

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



Joined: 11 Dec 2006
Posts: 3

PostPosted: Dec 11, 2006 9:03 pm    Post subject: Invalid Upload ID Reply with quote

When I run upload.cgi?mode=settings ... I get the following:

Invalid Upload ID
[< back]


What does this mean exactly? How do I proceed to get this XUpload working?
Back to top
View user's profile Send private message
jellybaby



Joined: 11 Dec 2006
Posts: 3

PostPosted: Dec 12, 2006 2:04 am    Post subject: Re: Invalid Upload ID Reply with quote

Not sure exactly what it meant, but it turned out that there was another real problem: the path to upload_status.cgi url in upload_form.html was somehow appending itself to the root.

Thus http://website.com/cgi-bin/upload.status.cgi was actually being changed to something more like: http://website.com/website.com/cgi-bin/upload.status.cgi

I just specified a relative path of /cgi-bin/upload_status.cgi and it is now displaying the status page.

Getting close to a fully working demo now ...
Back to top
View user's profile Send private message
PilgrimX182



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

PostPosted: Dec 12, 2006 7:04 am    Post subject: Reply with quote

Oh, upload.cgi?mode=settings is for Pro version only, will add a note about this.

http://website.com/website.com/cgi-bin/upload.status.cgi ? Lol, I guess you forgot to add https:// at the begining, anyway relative path is best for URLs cause there possible JS errors when upload form and pop-up on different domains (e.g. www.mysite.com & mysite.com, www. is like subdomain)
Back to top
View user's profile Send private message Visit poster's website AIM Address
jellybaby



Joined: 11 Dec 2006
Posts: 3

PostPosted: Dec 12, 2006 10:00 am    Post subject: Reply with quote

PilgrimX182 wrote:
Oh, upload.cgi?mode=settings is for Pro version only, will add a note about this.


That explains alot.

Well here's the progress of my demo installation woes: it works. It seems that 'both' urls need to be relative in upload_form.html

Like so:

win1 = window.open('/cgi-bin/upload_status.cgi?upload_id='+UID+'&num_files='+NF+'&css_name=');

and:

<form name="F1" enctype="multipart/form-data" action="/cgi-bin/upload.cgi?upload_id=" method="post" onSubmit="return StartUpload();" target="upload">
Back to top
View user's profile Send private message
PilgrimX182



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

PostPosted: Dec 12, 2006 3:29 pm    Post subject: Reply with quote

Greets Very Happy
Back to top
View user's profile Send private message Visit poster's website AIM Address
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