Results 1 to 7 of 7

Thread: htaccess / SugarCrm is shown without stylesheet

  1. #1
    fovea is offline Junior Member
    Join Date
    Aug 2011
    Posts
    1

    Default htaccess / SugarCrm is shown without stylesheet

    Hello,

    I installed sugarcrm 6.2.1 communty edition on my apache server.
    Host = hostgator

    The installation was done in a subfolder of my webserver. Installation worked fine.

    In the htaccess file i had to put DirectoryIndex index.php, to not get the "Index Of" page of this folder..

    Now when i load my sugarCrm page, the page loads without the Stylesheet.

    Is there anything else i have to add to the htaccess, or do i have to do something else to get the page displayed correctly...

    The problem also persists after logging in...

    Thanks for your help

    fovea

  2. #2
    vladimirn is offline Sugar Community Member
    Join Date
    Jul 2011
    Posts
    11

    Default Re: htaccess / SugarCrm is shown without stylesheet

    I am facing same problem here, on same host, any solution?

  3. #3
    Blake Peterson is offline Sugar Community Member
    Join Date
    Aug 2011
    Posts
    32

    Default Re: htaccess / SugarCrm is shown without stylesheet

    Can you check that the urls in the <HEAD> section of your webpage do not resolve to 404 not found.

    If they do - it could be a permissions issue.

    let me know.

    Blake

  4. #4
    Angel's Avatar
    Angel is offline Sugar Community Member
    Join Date
    Jul 2005
    Location
    Los Angeles
    Posts
    4,813

    Default Re: htaccess / SugarCrm is shown without stylesheet

    Regards,

    Angel Magaņa
    Co-Author: Implementing SugarCRM 5.x (Packt Publishing -- Sept. 2010)
    Blog: http://cheleguanaco.blogspot.com.
    Twitter: @cheleguanaco.

    ________
    | Projects: |_____________________________________
    |
    | CandyWrapper (.NET Wrapper for SugarCRM SOAP API). Source now available on GitHub!
    | GoldMine to SugarCRM Express Conversion. Latest: 1.0.1.7 (Nov. 3, 2009)
    | CRM SkyDialer (Skype Integration). Latest: 1.0.2 (Feb. 17, 2010)
    | Round Robin Leads Assignment
    | Phone Number Formatter
    | CaseTwit (Twitter Integration)
    ______________________________________________

  5. #5
    Blake Peterson is offline Sugar Community Member
    Join Date
    Aug 2011
    Posts
    32

    Default Re: htaccess / SugarCrm is shown without stylesheet

    I was just reading your page

    Nice.

    Couple of questions...

    is it worthwhile mentioning the change in the config file for permissions?

    Also is it just the cache folder that needs changing ? i think there are others too right?

    Blake

  6. #6
    Angel's Avatar
    Angel is offline Sugar Community Member
    Join Date
    Jul 2005
    Location
    Los Angeles
    Posts
    4,813

    Default Re: htaccess / SugarCrm is shown without stylesheet

    Thanks for the read.

    I've debated about the config.php. Reason being, I am not entirely sure it actually helps, while at the same time, I have no measurable way of knowing it doesn't cause any other problems.

    Those in favor will likely point out that it eliminates the need to have to re-apply the settings on cache at some point down the road. That's been my observation as well, but again, I don't know if I am exposing myself to other potential problems and in reality, re-applying the settings is a 10 second thing. I'd rather opt for the safer of the two options.

    The cache directory is the only one that needs to be changed as far as I know. I've used Hostgator quite often and replicate the problem on command. Same for various other hosts, so long as they are Linux.
    Regards,

    Angel Magaņa
    Co-Author: Implementing SugarCRM 5.x (Packt Publishing -- Sept. 2010)
    Blog: http://cheleguanaco.blogspot.com.
    Twitter: @cheleguanaco.

    ________
    | Projects: |_____________________________________
    |
    | CandyWrapper (.NET Wrapper for SugarCRM SOAP API). Source now available on GitHub!
    | GoldMine to SugarCRM Express Conversion. Latest: 1.0.1.7 (Nov. 3, 2009)
    | CRM SkyDialer (Skype Integration). Latest: 1.0.2 (Feb. 17, 2010)
    | Round Robin Leads Assignment
    | Phone Number Formatter
    | CaseTwit (Twitter Integration)
    ______________________________________________

  7. #7
    Blake Peterson is offline Sugar Community Member
    Join Date
    Aug 2011
    Posts
    32

    Default Re: htaccess / SugarCrm is shown without stylesheet

    I remember when I set-up Sugar for the first time

    I did chmod -R 755 in the home folder... and I still got errors. Things only started to work when I changed the permissions in the config file.

    Maybe changing the owner is what I should of done. Note to self ... next time do that

    I've never gone though an upgrade... and not too sure I want to anytime soon! LOL .. still too new at this Sugar thing !

    Blake

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. GoDaddy-SugarCRM-htaccess.txt
    By thebog in forum Installation and Upgrade Help
    Replies: 10
    Last Post: 2010-06-28, 11:10 PM
  2. stylesheet and script before doctype
    By meeric in forum General Discussion
    Replies: 1
    Last Post: 2010-05-17, 10:06 AM
  3. Campaign e-mail stylesheet
    By Trondheim in forum Developer Help
    Replies: 2
    Last Post: 2009-09-19, 01:02 AM
  4. var/data/sugarcrm/.htaccess --> Bad permissions for upgrade
    By bertleeman in forum Installation and Upgrade Help
    Replies: 1
    Last Post: 2009-07-13, 03:54 PM
  5. SugarCRM 5 and htaccess file problems
    By afeiges in forum Installation and Upgrade Help
    Replies: 1
    Last Post: 2008-01-02, 04:33 PM

Tags for this Thread

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
  •