Print Page | Close Window

v7 file upload bug

Printed From: Web Wiz Forums
Category: Web Wiz Web App Support Forums
Forum Name: Web Wiz Forums
Forum Description: Support forum for Web Wiz Forums application.
URL: https://forums.webwiz.net/forum_posts.asp?TID=34
Printed Date: 28 March 2026 at 10:23pm
Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com


Topic: v7 file upload bug
Posted By: fernan82
Subject: v7 file upload bug
Date Posted: 10 February 2003 at 9:22pm

borq my forum is doing it again, when i tried to upload a zip file it'll do as if i was trying to upload a pic.....

http://uz.dyndns.info:82/v7/ - http://uz.dyndns.info:82/v7/




Replies:
Posted By: WebWiz-Bruce
Date Posted: 11 February 2003 at 10:52am

The file upload and image upload are two completly different files so it's almost impossible for the code to get mixed up.

I did look at your forum but didn't discover the problem myself.

Do you have more details such as web browser, editor used, which button you clicked on, file name upload, file type, etc.



-------------
https://www.webwiz.net/web-wiz-forums/forum-hosting.htm" rel="nofollow - Web Wiz Forums Hosting
https://www.webwiz.net/web-hosting/windows-web-hosting.htm" rel="nofollow - ASP.NET Web Hosting


Posted By: fernan82
Date Posted: 11 February 2003 at 11:45am
Well man its happening, i can tell what's causing it cuz it happens whenever it wants to do it....... it's not that the code is getting mixed up, but when you look at it on the WYSIWYG editor it looks like a white square, then if i hit the post button nothing comes up on the message body, but then if i look it in the database this is what it says on the message body: <A href="uploads/999_test.zip"></A>, and the file was uploaded it's didn't makes the hyperlink right...... if you don't believe and you still got your test forum look at my test post in your database and you'll see it has a code like that one..........


Posted By: WebWiz-Bruce
Date Posted: 11 February 2003 at 11:49am

Looks more like a browser problem then with the insert link active x, this is why I probally can't replicate it in my own browser.

Which version of IE are you using and on what system.



-------------
https://www.webwiz.net/web-wiz-forums/forum-hosting.htm" rel="nofollow - Web Wiz Forums Hosting
https://www.webwiz.net/web-hosting/windows-web-hosting.htm" rel="nofollow - ASP.NET Web Hosting


Posted By: fernan82
Date Posted: 11 February 2003 at 11:57am

IE 6 on Win2k....

<edit> also my site is in my trusted zone w/ all the security settings to low.......



Posted By: WebWiz-Bruce
Date Posted: 11 February 2003 at 12:14pm

Try replacing the JavaScript in the lines 193 to 199 of the upload_files.asp file that reads:-

<script  language="JavaScript">
 window.opener.frames.message.focus();
 window.opener.frames.message.document.execCommand('InsertImage', false, '');
 window.opener.frames.message.document.execCommand('createLink', false, '<% = strFileUploadPath & "/" & strFileName %>');
 window.opener.frames.message.document.execCommand('paste', false, '<% = strFileName %>');
 window.close();
</script>

With the following:-

<script  language="JavaScript">
 window.opener.frames.message.focus();
 var htmlLink= window.opener.frames.message.document.selection.createRange()
 htmlLink.pasteHTML('<a href="<% = strFileUploadPath & "/" & strFileName %>"><% = strFileName %></a>');
 window.opener.frames.message.document.execCommand('paste', false, '');
 window.close();
</script>



-------------
https://www.webwiz.net/web-wiz-forums/forum-hosting.htm" rel="nofollow - Web Wiz Forums Hosting
https://www.webwiz.net/web-hosting/windows-web-hosting.htm" rel="nofollow - ASP.NET Web Hosting


Posted By: jatchoum.ca
Date Posted: 11 February 2003 at 12:34pm
Borg, is V7 Beta 3 that you are going to upload today will include the SQL version?


Posted By: fernan82
Date Posted: 11 February 2003 at 12:36pm
Alright, thanks, I changed it and so far it hasn't been doing it, i'll let you know if it does again.........


Posted By: WebWiz-Bruce
Date Posted: 11 February 2003 at 12:48pm
Do you mean it it's working OK now?

-------------
https://www.webwiz.net/web-wiz-forums/forum-hosting.htm" rel="nofollow - Web Wiz Forums Hosting
https://www.webwiz.net/web-hosting/windows-web-hosting.htm" rel="nofollow - ASP.NET Web Hosting


Posted By: WebWiz-Bruce
Date Posted: 11 February 2003 at 12:49pm

Originally posted by jatchoum.ca jatchoum.ca wrote:

Borg, is V7 Beta 3 that you are going to upload today will include the SQL version?

I don't think I'll have time to upload beta 3 today, also still working on a few bits for it.



-------------
https://www.webwiz.net/web-wiz-forums/forum-hosting.htm" rel="nofollow - Web Wiz Forums Hosting
https://www.webwiz.net/web-hosting/windows-web-hosting.htm" rel="nofollow - ASP.NET Web Hosting


Posted By: jatchoum.ca
Date Posted: 11 February 2003 at 12:51pm

:(, I understand...

But is it going to include the SQL version?

Subliminal message...sql...sql...sql...

 



Posted By: fernan82
Date Posted: 11 February 2003 at 12:54pm

Originally posted by -boRg- -boRg- wrote:

Do you mean it it's working OK now?

Yea it's working fine right know but it wasn't doing all the time before so I"m not sure if it'll start doing it again but i've tried a few times now and it seems to be working OK now....



Posted By: WebWiz-Bruce
Date Posted: 11 February 2003 at 12:57pm

The new code works in a completly different way so it should function OK.

Beta 3 of the forum will include an SQL server version.



-------------
https://www.webwiz.net/web-wiz-forums/forum-hosting.htm" rel="nofollow - Web Wiz Forums Hosting
https://www.webwiz.net/web-hosting/windows-web-hosting.htm" rel="nofollow - ASP.NET Web Hosting


Posted By: jatchoum.ca
Date Posted: 11 February 2003 at 1:03pm

YEA!!!

Waiting impatiently :)


Thanks BoRg!!!



Posted By: fernan82
Date Posted: 11 February 2003 at 2:25pm
Originally posted by -boRg- -boRg- wrote:

The new code works in a completly different way so it should function OK.

Beta 3 of the forum will include an SQL server version.

Will you still do anymore changes to the db or will be safe to upgrade our dbs when it comes out?



Posted By: WebWiz-Bruce
Date Posted: 11 February 2003 at 2:27pm
There maybe a few more changes to the db, quite a few people have asked that showing moderators on the main forum page be an option in the admin section.

-------------
https://www.webwiz.net/web-wiz-forums/forum-hosting.htm" rel="nofollow - Web Wiz Forums Hosting
https://www.webwiz.net/web-hosting/windows-web-hosting.htm" rel="nofollow - ASP.NET Web Hosting


Posted By: fernan82
Date Posted: 11 February 2003 at 2:31pm
ok, thanks....



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.08 - https://www.webwizforums.com
Copyright ©2001-2026 Web Wiz Ltd. - https://www.webwiz.net