XUpload - Error using XUpload 3.0 & 2.6 with Frames

XUpload related questions

Moderator: admin

Message
Author
PeterC
Posts: 10
Joined: Dec 11, 2007 5:45 pm

Error using XUpload 3.0 & 2.6 with Frames

#1 Postby PeterC » Mar 09, 2008 8:47 pm

Been running ver2.6 successfully, but am now trying to use it on a site that uses simple HTML Frames.

LH frame (SiteNav) - site navigation with all links calling data pages in the SitePage frame. (target="SitePage")

RH frame (SitePage)

Everything works fine within the SitePage frame. Upload form is called from within the SitePage frame, I successfully get the file to upload and post.cgi outputs the form data within the SitePage frame.

But this final action appears to rename the SitePage frame, as when I now select a link from the SiteNav frame it no longer opens in the SitePage frame but opens in a new window.

Any ideas what's happening?

Thanks
Peter
Last edited by PeterC on Mar 10, 2008 2:12 pm, edited 1 time in total.

PeterC
Posts: 10
Joined: Dec 11, 2007 5:45 pm

#2 Postby PeterC » Mar 09, 2008 9:15 pm

Update:
Problem exists in IE6 and IE7 but does not exist when running in Firefox!!

PeterC
Posts: 10
Joined: Dec 11, 2007 5:45 pm

#3 Postby PeterC » Mar 10, 2008 2:07 pm

Update:

Problem also exists using standard templates and xUpload 3.0

Does anyone have any ideas?

Thanks
Peter

kevvo
Posts: 6
Joined: Feb 29, 2008 2:50 pm

#4 Postby kevvo » Mar 15, 2008 7:22 pm

I had exactly the same problem with 3.0
I tried everything (including things suggested by the support here) but in the end I just had to use a pop-up window for the upload page which preserved the original frames page.

K

PeterC
Posts: 10
Joined: Dec 11, 2007 5:45 pm

#5 Postby PeterC » Mar 15, 2008 8:26 pm

Alex solved the problem for me....

In xupload.js: in these two lines replace 'name' with 'xname'

name = current.value.match([^\\\]+$/);

if(name && name!='null')fnames+=':'+name;

ie

xname = current.value.match([^\\\]+$/);

if(xname && xname!='null')fnames+=':'+xname;


Worked perfectly for me....


Return to “XUpload”

Who is online

Users browsing this forum: No registered users and 0 guests