Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - Question about the latest WWF release
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Question about the latest WWF release

 Post Reply Post Reply Page  <123>
Author
Scotty32 View Drop Down
Moderator Group
Moderator Group


Joined: 30 November 2002
Location: Manchester, UK
Status: Offline
Points: 1682
Post Options Post Options   Thanks (0) Thanks(0)   Quote Scotty32 Quote  Post ReplyReply Direct Link To This Post Posted: 12 July 2009 at 5:20pm
I suspect it would be required for MSSQL and MySQL to write the settings to the config files.
S2H.co.uk - WebWiz Mods and Skins

For support on my mods + skins, please use my forum.
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: 12 July 2009 at 6:36pm
Originally posted by iSec iSec wrote:

Ok it works now... thanks again guys.

However, I noticed that the upgrade wizard will NOT run unless the IUSER account has write/modify permission to the 'database' folder. I understand why this would be required for a forum that uses MS Access, but I'm using MS-SQL... why is this required? Can someone explain this please?


Hi iSec
I had no issues like you described when I ran the update on one of our test forums
I downloaded the files, unzipped and then uploaded all of them into the forum directory, ran the wizard page and filled in the info - I use SQL Server (not access) so I did not change any permissions anywhere

It worked with no problems and no issues. The permissions only need to be set as you correctly say if you are using Access and provided you popped a dot in either of the other two options, SQL or mySQL, then there should not have been any problems
Hope that helps
Back to Top
Nick-V View Drop Down
Senior Member
Senior Member


Joined: 26 October 2002
Location: United Kingdom
Status: Offline
Points: 319
Post Options Post Options   Thanks (0) Thanks(0)   Quote Nick-V Quote  Post ReplyReply Direct Link To This Post Posted: 12 July 2009 at 6:42pm

I believe that write and modify permissions need to be set to the \forum\database folder so that IUSER can write the database setup details entered in the wizard to the asp connection file. The database used is irrelevant.

If write and modify permissions already existed for IUSER to that folder then check your other folders as your setup may be insecure.

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: 12 July 2009 at 6:56pm
Thanks Nick - but the permissions on that folder are normal. You would only need IUSER permissions if you were using the access database within that folder itself, otherwise the folder remains locked as such

I'm pretty certain (well almost Wink) that the setup files run from the main forum folder and providing write and read modifications are set correctly depending on the database being used) then there should be no issues. I suppose if I get time I will try a access install and not set the permissions correctly on the database - in theory this would then produce an error

As I said, I was actually connecting to a SQL database and so when I entered the connection details, I was already connecting to an existing database
Back to Top
Nick-V View Drop Down
Senior Member
Senior Member


Joined: 26 October 2002
Location: United Kingdom
Status: Offline
Points: 319
Post Options Post Options   Thanks (0) Thanks(0)   Quote Nick-V Quote  Post ReplyReply Direct Link To This Post Posted: 12 July 2009 at 8:14pm

I use MS SQL - no access database. I am quite certain that IUSER had read-only permissions to the \database folder and therefore the upgrade wizard failed as it could not write the database info to the asp files therein. I provided write/modify permissions and it worked.

Read permissions for IUSER is the default (not write/modify) and recommended setting for all other folders to prevent hacking.

The WWF instructions tell you to change permissions:

"5. The forums database folder located at forum/database needs to have read, write, and modify permissions set on it. Check with your web host that you have these permissions set, or if running the server yourself have a look at Setting Read, Write, and Modify Permissions."

Back to Top
Nick-V View Drop Down
Senior Member
Senior Member


Joined: 26 October 2002
Location: United Kingdom
Status: Offline
Points: 319
Post Options Post Options   Thanks (0) Thanks(0)   Quote Nick-V Quote  Post ReplyReply Direct Link To This Post Posted: 12 July 2009 at 8:27pm

For simplicity, let's just say that following the documented upgrade instructions works fine. Again, they are at http://www.webwiz.net/webwizforums/kb/default.asp.

Bruce, as a result of this discussion I have just set IUSER permissions for \database back to read-only as I believe they only need to be write/modify for the upgrade wizard to function at upgrade time.

Can you please confirm this (all works fine here) and indeed consider if this action should actually be recommended for security reasons (MS SQL and MySQL not Access). I suspect any Access database should actually be elsewhere to be safe.

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

Joined: 13 February 2005
Status: Offline
Points: 1140
Post Options Post Options   Thanks (0) Thanks(0)   Quote iSec Quote  Post ReplyReply Direct Link To This Post Posted: 12 July 2009 at 8:59pm
Yes... the wizard fails if write/modify permissions aren't set for the database folder (the wizard actually says that when it errors out).
 
The suggestions you guys posted all make sense, but how come this was not mentioned anywhere in the release announcement or in a separate topic?!
 
I hope that Bruce will clarify these questions, including the one mentioned by Nick-V, that the write/modify permissions be removed after completing the update wizard.
"When it gets dark enough, you can see the stars"
-Charles A. Beard
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: 14 July 2009 at 9:50am
Yes read and write permissions are needed on the forums database folder when you run the wizard after it is complete you can put it back to read only.

If I tell you how the update wizard works then it may make more sense. Rather than having to manually edit the database connection file in notepad and save and upload it the setup wizard now writes the settings for you to the database/database_settings.asp file.
Back to Top
 Post Reply Post Reply Page  <123>

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.