Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - Can't overwrite existing files
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Forum LockedCan't overwrite existing files

 Post Reply Post Reply
Author
JimJeroo View Drop Down
Newbie
Newbie


Joined: 10 January 2007
Status: Offline
Points: 3
Post Options Post Options   Thanks (0) Thanks(0)   Quote JimJeroo Quote  Post ReplyReply Direct Link To This Post Topic: Can't overwrite existing files
    Posted: 10 January 2007 at 3:09pm
Hi there,

nice bit of software so far, I can create new files and open existing ones but I can't seem to be able to overwite them once I've made changes. I get a message saying something like 'Either a file of the same name already exists or an error was found in the file name entered. Page has been saved as 'test41.html' (or something'.

Any ideas what's going wrong?

Any help greatly appreciated, cheers :)

Jim
Back to Top
MortiOli View Drop Down
Senior Member
Senior Member
Avatar

Joined: 26 May 2002
Location: United Kingdom
Status: Offline
Points: 514
Post Options Post Options   Thanks (0) Thanks(0)   Quote MortiOli Quote  Post ReplyReply Direct Link To This Post Posted: 10 January 2007 at 8:51pm
In RTE_Configuration\RTE_Setup.asp there are a number of configurations which you can change.
 
Around line 125, you should find this;
 
Const blnOverWriteFiles = false 'Set this to true only if you wish the user to overwrite saved files
 
Set this to true to allow file overwritting.


Edited by MortiOli - 10 January 2007 at 8:51pm
Back to Top
JimJeroo View Drop Down
Newbie
Newbie


Joined: 10 January 2007
Status: Offline
Points: 3
Post Options Post Options   Thanks (0) Thanks(0)   Quote JimJeroo Quote  Post ReplyReply Direct Link To This Post Posted: 10 January 2007 at 11:15pm
Thanks for the reply Mort :)

After making that change I'm now getting an error messages when I try to save:

Microsoft VBScript runtime error '800a0046'

Permission denied

/ww2/RTE_popup_save_file.asp, line 159


Any clues? Thanks!


Back to Top
MortiOli View Drop Down
Senior Member
Senior Member
Avatar

Joined: 26 May 2002
Location: United Kingdom
Status: Offline
Points: 514
Post Options Post Options   Thanks (0) Thanks(0)   Quote MortiOli Quote  Post ReplyReply Direct Link To This Post Posted: 11 January 2007 at 12:29pm
Do you have write permission on the folder that you've trying to save the file to?
 
You may need to ask your host.
Back to Top
JimJeroo View Drop Down
Newbie
Newbie


Joined: 10 January 2007
Status: Offline
Points: 3
Post Options Post Options   Thanks (0) Thanks(0)   Quote JimJeroo Quote  Post ReplyReply Direct Link To This Post Posted: 11 January 2007 at 12:55pm
Originally posted by MortiOli MortiOli wrote:

Do you have write permission on the folder that you've trying to save the file to?
 
You may need to ask your host.


I've given the folder write permissions, had a play around this morning and it seems I can overwrite files if I remove the '.html' etc from the file name in the 'File Name' box in the pop-up window. It's fiddly but it looks like it's working...

Cheers Big%20smile
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: 11 January 2007 at 1:14pm
Make sure you also have modify permissions as well as write
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.