Results 1 to 3 of 3

Thread: error on log in action of users module

  1. #1
    robriggen is offline Junior Member
    Join Date
    Oct 2008
    Posts
    2

    Default error on log in action of users module

    Hi,

    I can't access sugar at all due to an error with the log in. The only thing that displays on the page is:

    Fatal error: Access level to UsersController::action_default() must be public (as in class SugarController) in /var/www/html/rum.teljet.com/modules/Users/controller.php on line 36

    This happened after rolling back to a backup following a failed attempt at deploying a new module.

    Currently digging around trying to find a solution - has anyone else seen this?

  2. #2
    robriggen is offline Junior Member
    Join Date
    Oct 2008
    Posts
    2

    Default Re: [RESOLVED] error on log in action of users module

    For some strange reason the default action in the Users controller was a protected method. Rereading the error message, I changed the declaration for that method to public (as it seemed to suggest) and the page rendered normally.

    I don't know why/how the default action could have been changed to protected, any thoughts are appreciated!

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

    Default Re: error on log in action of users module

    Nice find! I would assume that the module that you attempted to install caused the change.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 6
    Last Post: 2011-02-22, 07:47 PM
  2. Module Builder
    By Olavo in forum Downloads
    Replies: 418
    Last Post: 2009-02-26, 06:36 AM
  3. Module builder not completing relationship setup?
    By purplewave in forum Developer Help
    Replies: 6
    Last Post: 2008-09-08, 12:12 PM
  4. Users module - field like reports_to
    By milosz.g in forum Developer Help
    Replies: 2
    Last Post: 2008-04-14, 03:15 PM
  5. Added New Module - Not Showing up for rest of users
    By swhitlow in forum General Discussion
    Replies: 12
    Last Post: 2007-03-20, 03:19 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
  •