Results 1 to 3 of 3

Thread: can't change the index.php Theme

  1. #1
    p_tagliente is offline Sugar Community Member
    Join Date
    Apr 2006
    Location
    Brescia - ITALY
    Posts
    15

    Default can't change the index.php Theme

    Hi everyone,
    I can't change the login page theme of my sugar installation.

    Everytime i change it in config.php file my browser always load the "SugarLite" theme, instead "Sugar" theme and sometime, when i re-open the config.php file, i have "SugarLite" for default Theme.... (??)

    After loading the browser give me a viewing error:
    Line : 184
    Column : 6
    Error : Object Needed
    Code : 0
    USR : <my sugar installation URL>/index.php?action=Login&Module=Users

    After login I can view my sugar pages with "Sugar" theme, selecting it from the Theme Combobox befor confirming access credentials.

    Some tachnicals details:
    Sugar Ver : 4.5.1f
    OS : Red Hat Fedora 6
    PHP Ver : 5.1.4
    Apache Ver : 2.2.0
    My SQL Ver : 5.0.18

    Any ideas?

  2. #2
    sacramentojoe is offline Sugar Community Member
    Join Date
    Nov 2005
    Posts
    447

    Default Re: can't change the index.php Theme

    I believe that the entry in the config is the default for new users / people who have not logged in before.
    I think when you login with a certain theme, sugar saves this in your preferences or a cookie.
    My default theme is set to Sugar but since I've changed it to Shred when I logged in, it now logs me in as Shred each time but still displays sugar in the config.php file.

  3. #3
    p_tagliente is offline Sugar Community Member
    Join Date
    Apr 2006
    Location
    Brescia - ITALY
    Posts
    15

    Default Re: can't change the index.php Theme

    Hi Sacramento Joe,
    thank you for the post.

    I undestand what you mean but in this case we move the problem to another area.
    I log-in whit Sugar theme, but my theme preference (as a cookie or profile updeate) doesn't remain.

    After login i see sugar pages in Sugar Theme Layout, but the next time i try to login, the index.php give me the explaind error and have SugarLite Theme Layout.

    I don't think is a cookie problem: the "error" appears on all PC's i've tried.
    If "config.php" doesnt' influence the theme management for registred users, where's the problem?
    Profile DB Record? Update script for updating profile?

    I watched my sugarcrm log in debug mode ( uncommenting all LOG4PHP.PROPERTIES directives ) but ther's no warning and no errors....

    see you...
    Pierangelo

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Change Default Theme
    By aubreyisland in forum Help
    Replies: 6
    Last Post: 2009-02-24, 02:27 PM
  2. How do i change default theme?
    By patkini in forum Developer Help
    Replies: 4
    Last Post: 2007-08-15, 05:30 PM
  3. Invalid theme specified
    By kbrill in forum Feature Requests
    Replies: 0
    Last Post: 2006-08-06, 01:58 AM
  4. changing the theme for the login screen
    By gekido in forum Help
    Replies: 1
    Last Post: 2005-08-13, 11:39 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
  •