Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - Uploading via RTE Editor - Bug?
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Uploading via RTE Editor - Bug?

 Post Reply Post Reply
Author
Eiden View Drop Down
Newbie
Newbie


Joined: 03 October 2008
Status: Offline
Points: 3
Post Options Post Options   Thanks (0) Thanks(0)   Quote Eiden Quote  Post ReplyReply Direct Link To This Post Topic: Uploading via RTE Editor - Bug?
    Posted: 03 October 2008 at 4:40pm
I thought this needed to be brought to attention incase someone else comes across this issue or it needs to be fixed in the next version.
 
I installed and setup our new Web Wiz forums but I found uploads we'ren't working from the RET Editor. i.e. you couldn't upload a file in the popup window to select your image/file. You would browse for the file and click upload, but it does nothing - simply posts back without uploading. Uploads worked when users upload in their own filemanager section first however.
 
After an extensive search I tracked down the problem to RTE_popup_adv_image.asp and RTE_popup_file_atch.asp. Some boolean conditions weren't being met in order to upload namely: blnRead, blnPost or blnReply and this is due to the forumPermissions function not being run in order to obtain these values.
To fix the issue I therefore added the following lines before it does the check for the upload of the file:
 
'read in the forum ID and message box type
intForumID = CInt(getSessionItem("FID"))

'Check the user is welcome in this forum
Call forumPermissions(intForumID, intGroupID)
 
And it now works fine.
 
Note that the non-RTE editor works ok because those pages do contain the neccessary lines of code.
 
Hope this helps
Back to Top
123Simples View Drop Down
Senior Member
Senior Member
Avatar

Joined: 08 July 2007
Location: United Kingdom
Status: Offline
Points: 1192
Post Options Post Options   Thanks (0) Thanks(0)   Quote 123Simples Quote  Post ReplyReply Direct Link To This Post Posted: 03 October 2008 at 4:42pm
Which version of the software are you referring to?
Back to Top
Eiden View Drop Down
Newbie
Newbie


Joined: 03 October 2008
Status: Offline
Points: 3
Post Options Post Options   Thanks (0) Thanks(0)   Quote Eiden Quote  Post ReplyReply Direct Link To This Post Posted: 03 October 2008 at 4:43pm
Downloaded today - 9.52
Back to Top
dotster View Drop Down
Newbie
Newbie


Joined: 03 October 2008
Status: Offline
Points: 17
Post Options Post Options   Thanks (0) Thanks(0)   Quote dotster Quote  Post ReplyReply Direct Link To This Post Posted: 03 October 2008 at 4:50pm
Man, I am so glad this was happening to someone else as well because you always wonder if it is just you.

I have been working on figuring out why uploading wasn't working in 9.52 for am hour now. I briefly messed around with it yesterday too. I suspected something was wrong with the new code and permissions since a lot of that seemed ot be different. but I hadn't dug that far yet. I would have figured it out but I am glad I don't have to keep working on it.

Thanks for posting this.

Your fix works perfectly..


Edited by dotster - 03 October 2008 at 5:05pm
Back to Top
123Simples View Drop Down
Senior Member
Senior Member
Avatar

Joined: 08 July 2007
Location: United Kingdom
Status: Offline
Points: 1192
Post Options Post Options   Thanks (0) Thanks(0)   Quote 123Simples Quote  Post ReplyReply Direct Link To This Post Posted: 03 October 2008 at 6:36pm
Error definetly exists Bruce
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: 03 October 2008 at 6:47pm
This has been fixed will be in the update in around 30 minutes
Back to Top
123Simples View Drop Down
Senior Member
Senior Member
Avatar

Joined: 08 July 2007
Location: United Kingdom
Status: Offline
Points: 1192
Post Options Post Options   Thanks (0) Thanks(0)   Quote 123Simples Quote  Post ReplyReply Direct Link To This Post Posted: 03 October 2008 at 7:12pm
Update: 9.53 Version has been released and is ready for downloading. If you have downloaded but not yet installed 9.52, please delete that download and go back to this link here and download the fixed version 9.53
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.