| View previous topic :: View next topic |
| Author |
Message |
jellybaby
Joined: 11 Dec 2006 Posts: 3
|
Posted: Dec 11, 2006 9:03 pm Post subject: Invalid Upload ID |
|
|
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 |
|
 |
jellybaby
Joined: 11 Dec 2006 Posts: 3
|
Posted: Dec 12, 2006 2:04 am Post subject: Re: Invalid Upload ID |
|
|
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 |
|
 |
PilgrimX182

Joined: 22 Mar 2006 Posts: 1107 Location: Undisclosed location
|
Posted: Dec 12, 2006 7:04 am Post subject: |
|
|
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 |
|
 |
jellybaby
Joined: 11 Dec 2006 Posts: 3
|
Posted: Dec 12, 2006 10:00 am Post subject: |
|
|
| 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 |
|
 |
PilgrimX182

Joined: 22 Mar 2006 Posts: 1107 Location: Undisclosed location
|
Posted: Dec 12, 2006 3:29 pm Post subject: |
|
|
Greets  |
|
| Back to top |
|
 |
|
|
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
|