Results 1 to 4 of 4

Thread: creating an admin through the database

  1. #1
    sarmenhb is offline Sugar Community Member
    Join Date
    Jan 2008
    Posts
    24

    Default creating an admin through the database

    i'm setup as an administrator and when i log in the admin button isnt visible on the far right.
    a past employee has setup this system for us.

    and when i login and enter this at the end of the url ( ?module=Administration&action=index )
    it says unauthorized access.

    what settings do i put in the users table in the database??

    i dont want to reinstall the application because it has been customized by a past employee (custom programmed)

  2. #2
    eggsurplus's Avatar
    eggsurplus is offline Sugar Community Member
    Join Date
    Dec 2005
    Location
    Minnesota
    Posts
    2,343

    Default Re: creating an admin through the database

    The only thing that i know of is to set the is_admin column to 1. You can also do this through the front-end by checking the Administrator checkbox for a user.

  3. #3
    sarmenhb is offline Sugar Community Member
    Join Date
    Jan 2008
    Posts
    24

    Default Re: creating an admin through the database

    the is_admin is set to 1 and for some reason it still wont work...

    anyone have any idea?

    thanks

    ps: this is the main admin login for sugar, i dont know what the past employee did.

  4. #4
    sarmenhb is offline Sugar Community Member
    Join Date
    Jan 2008
    Posts
    24

    Default Re: creating an admin through the database

    i found the problem he had set the column for is_admin to tinyint instead of varchar so i switched it to varchar and for the value i put on.

    and that seemed to work.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Problem on Step 7 of Install
    By ChrisA2107 in forum Installation and Upgrade Help
    Replies: 2
    Last Post: 2007-08-20, 08:31 AM
  2. problemi step 6 di SugarSuite-Full-4.0.1h
    By lucia in forum Italiano
    Replies: 0
    Last Post: 2006-12-27, 08:50 AM
  3. Replies: 1
    Last Post: 2006-10-12, 12:07 AM
  4. 4.0.1 Installation Problem
    By clawton in forum Help
    Replies: 14
    Last Post: 2006-02-13, 04:17 PM
  5. Fatal error: Max
    By spokes2k4 in forum Help
    Replies: 3
    Last Post: 2006-01-15, 03:50 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •