I see blank screen when I open Studio or any other tabs in Administration

Except Repair and Rebuild , I can see only blank screen when I open Studio , module builder or any other tabs on administration. 

Please assist me here . It's quite urgent.

> Administration

>Studio  (This is when I opened Studio)

  • Did you try to do the quick repair & rebuild + clear cache ? That generally solves most issues. 

    Otherwise check your platform's setup against the requirements : support.sugarcrm.com/.../

    If it does not help, SugarCRM support is helpful. 

    Damien Pochon

    CRM & Digital consultant @ ITS4U Group

  • I was using this for last 2 months.  It was perfectly fine. From today I got this issue. 

    I tried with both the things (Repair & Rebuild + cache). But still it's not working 

    Please suggest some solution . Quite Urgent

  • That's going to be a bit too much for my functional expertise, sorry. 

    Check the server (PHP, Apache) logs for errors that could point you in the right direction. Also check the Sugar logs (admin > configuration > logs). 

    Otherwise, Sugar Support people are good :)

    Good luck!

    Damien Pochon

    CRM & Digital consultant @ ITS4U Group

  • Hi Gautam,

    1. Did you tried deploying any customizations on this instance today.

    2. Please check the permissions for the Sugar Folder and make sure everything is properly set.

    3. Try accessing the instance in various browsers and check if the issue still happens.

    4. Can you also please check if you are getting any errors in the console, sugar logs, and error logs.

    5. Please check the logs first thoroughly, which helps you to debug the issue. 

    Attach the logs if you see any errors. Don't worry let us narrow down and fix the issue.

  • var/log/apache2/error.log

    <<Error Logs >>


    [Mon May 31 14:27:52.323763 2021] [php7:warn] [pid 17409] [client 34.229.223.210:63025] PHP Warning: unlink(cache/themes/RacerX/pathCache.php): Permission denied in /var/www/html/sugarcrm/include/SugarTheme/SugarTheme.php on line 330, referer: 18.232.89.200/.../index.php
    [Mon May 31 14:27:52.323857 2021] [php7:warn] [pid 17409] [client 34.229.223.210:63025] PHP Warning: unlink(cache/themes/RacerX/spriteCache.php): Permission denied in /var/www/html/sugarcrm/include/SugarTheme/SugarTheme.php on line 332, referer: 18.232.89.200/.../index.php
    [Mon May 31 14:28:46.406471 2021] [php7:error] [pid 17409] [client 34.205.175.239:54590] PHP Fatal error: Smarty error: unable to write to $compile_dir '/var/www/html/sugarcrm/cache/smarty/templates_c'. Be sure $compile_dir is writable by the web server user. in /var/www/html/sugarcrm/vendor/Smarty/Smarty.class.php on line 1095, referer: http://18.232.89.200/sugarcrm/index.php?module=Administration&action=index&bwcFrame=1

    1. We were trying to add custom button in module. Due to which entire subpanel and edit button stops coming. So we move the backup solution. After this issue happens. 

  • Hi Gautam,

    1. As a first step, remove the files added for this customization.

    2. Move the cache folder in the sugar root directory to cache_bkp. create a new cache folder.

    3. Give proper ownership and permissions to the Sugar root directory.

    4. Perform the Repair and Rebuild to the instance. 

    5. Try accessing the instance in the incognito window and check.

  • Rights are given as : rwxrwxrwx root

    Also issue is same for different browsers as well

  • It looks like you have a permissions issue as said. Your files and directories should be owned by apache, not root, and I would recommend against a 777 setting as it would grant way too much access to all users.

    If you are an on-site customer you can use each of the following from the root of SugarCRM application to set ownership and permissions, then do a QRR:

    Permissions:

    ---------------------------------

    sudo chown -R  apache:apache *

    sudo find . -type d -exec chmod 775 {} \;

    sudo find . -type f -exec chmod 664 {} \;

    These in turn set your ownership and group to apache on all directories and files.

    Sets permissions of 775 on all direcotries, and 664 on all files.

  •   and  

    Issue Solved : No Blank screen. Able To use Studio and other tabs properly.

    Cause of issue : Sugarcrm root folder not given correct permission. 

    Appreciated your time and suggestions . Thank You