Web Wiz - Solar Powered Eco Web Hosting

  New Posts New Posts RSS Feed - file upload fails first time, no title shown
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

file upload fails first time, no title shown

 Post Reply Post Reply
MPIDR View Drop Down

Joined: 20 April 2017
Status: Offline
Points: 11
Post Options Post Options   Thanks (0) Thanks(0)   Quote MPIDR Quote  Post ReplyReply Direct Link To This Post Topic: file upload fails first time, no title shown
    Posted: 22 June 2022 at 8:27am
Dear all,

I am having three issues with file upload. Persits ASPUpload v3.1.0.4 has been installed and licensed.

1) Whenever inserting an uploaded file into a post, it fails once with this error message:

Error inserting object in current location.

Repeating exactly the same steps works.

2) Even when entering a title for the file, the file URL is shown in the post. We would like to see the title.

3) Any Internet user who knows the exact file URL, e.g. https://server.com/forum/uploads/1/file.pdf can access the file without being authenticated in the forum.

I would appreciate any help on these issues.

Best regards,
Back to Top
WebWiz-Bruce View Drop Down
Admin Group
Admin Group
Web Wiz Developer

Joined: 03 September 2001
Location: Poole
Status: Offline
Points: 9748
Post Options Post Options   Thanks (0) Thanks(0)   Quote WebWiz-Bruce Quote  Post ReplyReply Direct Link To This Post Posted: 22 June 2022 at 9:09am
1. You can get this error if the cursor is not in the editor in the place where you want the upload to be included. The editor uses the cursors location within the editor to insert the link to the uploaded file. If the cursor is not in the editor it doesn't know where to insert the link and you get the error message.

2. The Post Editor uses the browsers Reich Text Editor API, and they all behave differently. With some browsers you will need to type in the text, then highlight it, then click the file upload icon. The highlighted text will be the link to the file upload.

2. Yes, you can hot link directly to the uploaded file. There is no way to prevent this using Classic ASP alone. The only way to prevent this would be to place the forum behind a password protected folder for the website set outside the forum software.
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.06
Copyright ©2001-2023 Web Wiz Ltd.

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

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 unless otherwise stated. VAT No. GB988999105 - $, € prices shown as a guideline only.

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