Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - permissions
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

permissions

 Post Reply Post Reply Page  <123>
Author
bobrobert View Drop Down
Groupie
Groupie


Joined: 15 February 2007
Status: Offline
Points: 51
Post Options Post Options   Thanks (0) Thanks(0)   Quote bobrobert Quote  Post ReplyReply Direct Link To This Post Posted: 17 September 2007 at 3:39pm
Because I deleted the permissions table I can't log into the forum Can you help a little more please? TIA

Edited by bobrobert - 17 September 2007 at 4:18pm
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: 17 September 2007 at 5:43pm
You deleted the whole table??!!

You were only meant to delete the contents of the table, not the table itself.
Back to Top
bobrobert View Drop Down
Groupie
Groupie


Joined: 15 February 2007
Status: Offline
Points: 51
Post Options Post Options   Thanks (0) Thanks(0)   Quote bobrobert Quote  Post ReplyReply Direct Link To This Post Posted: 17 September 2007 at 6:31pm
I am afraid so I take it I need a database backup? TIA
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: 17 September 2007 at 6:42pm
The other option is run this SQL to recreate the permissions table:-

CREATE TABLE [DBO].[tblPermissions] (
 [Group_ID] [int] NOT NULL DEFAULT (0),
[Author_ID] [int] NOT NULL DEFAULT (0),
[Forum_ID] [int] NOT NULL DEFAULT (0),
[View_Forum] [bit] NOT NULL ,
[Post] [bit] NOT NULL ,
[Reply_posts] [bit] NOT NULL ,
[Edit_posts] [bit] NOT NULL ,
[Delete_posts] [bit] NOT NULL ,
[Priority_posts] [bit] NOT NULL ,
[Poll_create] [bit] NOT NULL ,
[Vote] [bit] NOT NULL ,
[Attachments] [bit] NOT NULL ,
[Image_upload] [bit] NOT NULL ,
[Moderate] [bit] NOT NULL,
[Display_post] [bit] NOT NULL,
[Calendar_event] [bit] NOT NULL
) ON [PRIMARY]
Back to Top
bobrobert View Drop Down
Groupie
Groupie


Joined: 15 February 2007
Status: Offline
Points: 51
Post Options Post Options   Thanks (0) Thanks(0)   Quote bobrobert Quote  Post ReplyReply Direct Link To This Post Posted: 17 September 2007 at 6:56pm
Thanks Would you be so kind as to tell me how I know zilch about data bases TIA
Back to Top
bobrobert View Drop Down
Groupie
Groupie


Joined: 15 February 2007
Status: Offline
Points: 51
Post Options Post Options   Thanks (0) Thanks(0)   Quote bobrobert Quote  Post ReplyReply Direct Link To This Post Posted: 17 September 2007 at 7:13pm
I understand the first two parts but where do I enter "not null" and similar commands TIA
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: 18 September 2007 at 9:13am
If 1&1 give you a database tool you should be able to run this as an SQL command on the database.

However, as you need to ask, I think you maybe better off staying away from the database and request a backup from your web host.


Edited by -boRg- - 18 September 2007 at 9:14am
Back to Top
bobrobert View Drop Down
Groupie
Groupie


Joined: 15 February 2007
Status: Offline
Points: 51
Post Options Post Options   Thanks (0) Thanks(0)   Quote bobrobert Quote  Post ReplyReply Direct Link To This Post Posted: 18 September 2007 at 1:22pm
Thanks again for your help 1&1 are unable to supply a backup database Am I doomed? Anything else I can do? TIA


Edited by bobrobert - 18 September 2007 at 4:13pm
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.