Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - Error in WWF 9.69 code: file_browser.asp
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Error in WWF 9.69 code: file_browser.asp

 Post Reply Post Reply
Author
MaximeRoy77 View Drop Down
Groupie
Groupie
Avatar

Joined: 21 November 2010
Location: Québec, Canada
Status: Offline
Points: 54
Post Options Post Options   Thanks (0) Thanks(0)   Quote MaximeRoy77 Quote  Post ReplyReply Direct Link To This Post Topic: Error in WWF 9.69 code: file_browser.asp
    Posted: 25 November 2010 at 3:34pm
/file_browser.asp, Line 242

self.parent.document.getElementById('fileNameDisplay').innerHTML = fileName;

Should be

self.parent.document.getElementById('fileName').innerHTML = fileName;


Otherwise replacing your actual avatar from one of the uploaded list does not work !

Geek


Back to Top
WebWiz-Bruce View Drop Down
Admin Group
Admin Group
Avatar
Web Wiz Developer

Joined: 03 September 2001
Location: Bournemouth
Status: Offline
Points: 9844
Post Options Post Options   Thanks (0) Thanks(0)   Quote WebWiz-Bruce Quote  Post ReplyReply Direct Link To This Post Posted: 25 November 2010 at 4:10pm
If you change this then  you would break the file upload manager.

Does this error only happen when uploading an avatar?
Back to Top
WebWiz-Bruce View Drop Down
Admin Group
Admin Group
Avatar
Web Wiz Developer

Joined: 03 September 2001
Location: Bournemouth
Status: Offline
Points: 9844
Post Options Post Options   Thanks (0) Thanks(0)   Quote WebWiz-Bruce Quote  Post ReplyReply Direct Link To This Post Posted: 25 November 2010 at 5:55pm
Found the problem, the upload_avatars.asp file needed some re-coding to work with the file_bowser.asp which had been updated to add new features for the File Manager.

If you change the file_browser.asp file in the way you suggest you will end up breaking this for other parts of your forum where the file browser is also used.
Back to Top
MaximeRoy77 View Drop Down
Groupie
Groupie
Avatar

Joined: 21 November 2010
Location: Québec, Canada
Status: Offline
Points: 54
Post Options Post Options   Thanks (0) Thanks(0)   Quote MaximeRoy77 Quote  Post ReplyReply Direct Link To This Post Posted: 26 November 2010 at 6:55pm
Hi,

Actually I don't know what to do else, it's the only way it works, fast and quick for the AVATAR. I  did not test it for other upload features.

Can you provide and updated version of upload_avatars.asp so I can revert back to the original file_browser.asp

Thanks




Edited by MaximeRoy77 - 02 December 2010 at 8:57pm
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.08
Copyright ©2001-2026 Web Wiz Ltd.


Become a Fan on Facebook Follow us on X Connect with us on LinkedIn Web Wiz Blogs
About Web Wiz | Contact Web Wiz | Terms & Conditions | Cookies | Privacy Notice

Web Wiz is the trading name of Web Wiz Ltd. Company registration No. 05977755. Registered in England and Wales.
Registered office: Web Wiz Ltd, Unit 18, The Glenmore Centre, Fancy Road, Poole, Dorset, BH12 4FB, UK.

Prices exclude VAT at 20% unless otherwise stated. VAT No. GB988999105 - $, € prices shown as a guideline only.

Copyright ©2001-2026 Web Wiz Ltd. All rights reserved.