XUpload - Invalid Upload ID

Message
Author
jellybaby
Posts: 3
Joined: Dec 11, 2006 8:57 pm

Invalid Upload ID

#1 Postby jellybaby » Dec 11, 2006 9:03 pm

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?

jellybaby
Posts: 3
Joined: Dec 11, 2006 8:57 pm

Re: Invalid Upload ID

#2 Postby jellybaby » Dec 12, 2006 2:04 am

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/ ... 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 ...

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

#3 Postby PilgrimX182 » Dec 12, 2006 7:04 am

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

http://website.com/website.com/cgi-bin/ ... 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)

jellybaby
Posts: 3
Joined: Dec 11, 2006 8:57 pm

#4 Postby jellybaby » Dec 12, 2006 10:00 am

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">

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

#5 Postby PilgrimX182 » Dec 12, 2006 3:29 pm

Greets :D