Page 1 of 2 12 LastLast
Results 1 to 10 of 17
Like Tree6Likes

Thread: Messed up CSS after clean install?

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

    Default Messed up CSS after clean install?

    I'm trying to install version 6.3.0 beta1 and I did a completely clean install (as I have never used sugar before).

    After installation, it's like all of the CSS links are broken because the display is all messed up. See the attached screenshot.


    Thoughts?
    Attached Images Attached Images  

  2. #2
    sts's Avatar
    sts
    sts is offline Sugar Community Member
    Join Date
    Aug 2010
    Posts
    977

    Default Re: Messed up CSS after clean install?

    Please have a look at this blog post: Angel's Blog: SugarCRM Troubleshooting: Formatting Woes
    Stefan Ulrich Sauer
    System Analyst

    Devoteam Danet GmbH
    Gutenbergstraße 10
    D-64331 Weiterstadt
    Germany
    email: Stefan-Ulrich.Sauer@devoteam.com
    http://www.devoteam.de

  3. #3
    gtilflm is offline Junior Member
    Join Date
    Aug 2011
    Posts
    2

    Default Re: Messed up CSS after clean install?

    Yeah, I ended up finding something after I posted that led me to that solution.

    New problem though. Sometimes there are "undefined" messages in certain places. Again, chmodding helped to reduce that, but it's still there. Any ideas?

    Thanks.

  4. #4
    rafael.q.g@hotmail.com's Avatar
    rafael.q.g@hotmail.com is offline Sugar Community Member
    Join Date
    Jun 2011
    Location
    Florianópolis - Brazil
    Posts
    782

    Default Re: Messed up CSS after clean install?

    As a workaround try to access admin area (even with t)his broken layout) and change your theme preferences. Maybe another theme could works.
    Rafael Queiroz Gonçalves
    Advanced OMG UML Certified Professional
    Sun Certified Enterprise Architect for the Java Platform
    Sun Certified Programmer for the Java 2 Platform
    IBM Certified Advanced Application Developer - Lotus Notes and Domino
    IBM Certified Application Developer - IBM WebSphere Portlet Factory
    Computer Science Mastering / UFSC - PPGCC

  5. #5
    sts's Avatar
    sts
    sts is offline Sugar Community Member
    Join Date
    Aug 2010
    Posts
    977

    Default Re: Messed up CSS after clean install?

    In version 6 community edition there is only ONE theme ...

    In > 90% of those errors it's a problem with file access permissions.
    Stefan Ulrich Sauer
    System Analyst

    Devoteam Danet GmbH
    Gutenbergstraße 10
    D-64331 Weiterstadt
    Germany
    email: Stefan-Ulrich.Sauer@devoteam.com
    http://www.devoteam.de

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

    Default Re: Messed up CSS after clean install?

    Yes this is a permissions issue (99% sure).

    Check your config.php file. I had this problem until i used the following settings

    PHP Code:
      'default_permissions' => 
      array (
        
    'dir_mode' => 1533,
        
    'file_mode' => 509,
        
    'user' => '',
        
    'group' => '',
      ), 
    Thanks

    Blake

  7. #7
    Chris_C's Avatar
    Chris_C is offline Sugar Community Member
    Join Date
    Jun 2011
    Location
    Connecticut
    Posts
    227

    Angry Re: Messed up CSS after clean install?

    Quote Originally Posted by gtilflm View Post
    I'm trying to install version 6.3.0 beta1 and I did a completely clean install (as I have never used sugar before).

    After installation, it's like all of the CSS links are broken because the display is all messed up. See the attached screenshot.


    Thoughts?
    OMG. Same bug when I installed 6.3.0 beta 2 today, brand new install into an empty folder. It looked like a disaster.

    C'mon Sugar team !

    I took a closer look at the broken link for the company logo graphic, just to see what was going on....

    The graphic, my custom PNG file, showed a 403 error in the browser - access denied, but when I look at the file on the linux server, the image file was set to a perfectly acceptable permission...?!

    So I ran a php script that sets all file permissions to 644 and folder permissions to 755.

    Now the sugar login screen looks perfect.

    I don't know if this is a full complete solution for all screens and all functions. So I will try it out and see if any more 403 errors show up...

  8. #8
    Chris_C's Avatar
    Chris_C is offline Sugar Community Member
    Join Date
    Jun 2011
    Location
    Connecticut
    Posts
    227

    Angry Re: Messed up CSS after clean install?

    I just posted a reply to this with a solution.

    What happened to my post ?

  9. #9
    sts's Avatar
    sts
    sts is offline Sugar Community Member
    Join Date
    Aug 2010
    Posts
    977

    Default Re: Messed up CSS after clean install?

    Hi Chris,

    since you have less than 10 posts now all your posts (until you reach your 10th post) will be checked for spam, advertising, etc. before putting them into the forum. This takes some time so your post came a bit later into the forum.
    (for details see here: SugarCRM Forums - Announcements in Forum : Announcements)

    Regards
    Stefan
    Stefan Ulrich Sauer
    System Analyst

    Devoteam Danet GmbH
    Gutenbergstraße 10
    D-64331 Weiterstadt
    Germany
    email: Stefan-Ulrich.Sauer@devoteam.com
    http://www.devoteam.de

  10. #10
    Chris_C's Avatar
    Chris_C is offline Sugar Community Member
    Join Date
    Jun 2011
    Location
    Connecticut
    Posts
    227

    Default Re: Messed up CSS after clean install?

    Thanks Stefan.

    Here is a script I adapted, to reset permissions so that Sugar can run on typical shared hosting.

    The challenge this code overcomes is that the apache user is different from the shared hosting user's account, so permissions need to be looser for Sugar webserver and php interpreter (running as the apache username) to have permission to read the Sugar PHP source code files, CSS/javascript, and graphic image files (which belong to the customer's shared hosting account username).

    Note: This code resets all the SugarCRM PHP source code, CSS, Javascript, and image files, located inside selected SugarCRM subdirectories, according to the recommendation of Clint on this thread: http://www.sugarcrm.com/forums/f3/in...89/index2.html

    You can save this PHP code file to the top folder of your SugarCRM installation.

    For example: for company.com with a SugarCRM instance located at: www . company . com / crm (remove spaces), you would upload this PHP code file to the location on your shared server account with the pathname being something like: "/home/(share hosting account username)/public_html/crm/fix-permissions.php".

    Once uploaded, to run the PHP script, just go in your browser to the link http : // www . company . com / crm / fix-permissions.php (once again...remove spaces)

    The Script will run, and as it runs, it will display a list the files and directories it's fixing the permissions of.
    Attached Files Attached Files
    Last edited by Chris_C; 2011-08-25 at 10:49 AM. Reason: improve on some awkward wording.
    sts likes this.

Page 1 of 2 12 LastLast

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Clean install of 6.2.1 problems
    By dmgimbut in forum Installation and Upgrade Help
    Replies: 22
    Last Post: 2011-11-18, 05:46 AM
  2. Fresh install, messed up UI layout.
    By alatteri in forum Installation and Upgrade Help
    Replies: 2
    Last Post: 2011-02-04, 07:24 PM
  3. Can you do clean install but keep old DB?
    By al3 in forum Installation and Upgrade Help
    Replies: 8
    Last Post: 2010-02-12, 10:25 AM
  4. Replies: 2
    Last Post: 2009-09-11, 04:32 PM
  5. clean install using old DB?
    By janislanka in forum General Discussion
    Replies: 1
    Last Post: 2006-01-10, 07:56 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
  •