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?
XUpload - Invalid Upload ID
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/ ... 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 ...
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 ...
- PilgrimX182
- Posts: 2186
- Joined: Mar 22, 2006 1:39 pm
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)
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)
That explains alot.PilgrimX182 wrote:Oh, upload.cgi?mode=settings is for Pro version only, will add a note about this.
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">