Blank admin pannel after upgrading to 7.12

After upgrading from 7.8 to 7.12 (going through first through 7.10, when I now try to access the Adminstration pannel, it just appears blanc.
The console shows the following error message:

GET https://intranet.accensit.es/sugar/index.php?module=Administration&action=index 500 (Internal Server Error)

That’s is related to file permissions most of the time

I am in the same situation, I already checked the permissions and seemed to be fine.
Here is a list of the permissions in my modules/Administration directory (in case you can see any permissions set incorrectly)
-rw-r–r-- 1 www-data www-data 2669 dic 22 15:50 action_view_map.php
-rw-r–r-- 1 www-data www-data 8913 dic 22 15:50 Administration.php
-rw-r–r-- 1 www-data www-data 4368 dic 22 15:45 AODAdmin.php
-rw-r–r-- 1 www-data www-data 976 abr 29 2019 AODAdmin.tpl
-rw-r–r-- 1 www-data www-data 15912 dic 22 15:50 AOPAdmin.php
-rw-r–r-- 1 www-data www-data 13678 dic 22 15:50 AOPAdmin.tpl
-rw-r–r-- 1 www-data www-data 4677 dic 22 15:50 AOSAdmin.php
-rw-r–r-- 1 www-data www-data 3486 dic 22 15:50 AOSAdmin.tpl
-rw-r–r-- 1 www-data www-data 6118 dic 22 15:50 Async.php
-rw-r–r-- 1 www-data www-data 3929 dic 22 15:50 BusinessHours.php
-rw-r–r-- 1 www-data www-data 1345 dic 22 15:50 BusinessHours.tpl
-rw-r–r-- 1 www-data www-data 4193 dic 22 15:50 callJSRepair.php
-rw-r–r-- 1 www-data www-data 2697 dic 22 15:50 clear_chart_cache.php
-rw-r–r-- 1 www-data www-data 20246 dic 22 15:50 Common.php
-rw-r–r-- 1 www-data www-data 6686 dic 22 15:50 controller.php
-rw-r–r-- 1 www-data www-data 2631 dic 22 15:50 CustomizeFields.php
-rw-r–r-- 1 www-data www-data 3379 dic 22 15:50 Development.php
-rw-r–r-- 1 www-data www-data 3711 dic 22 15:50 DiagnosticDelete.php
-rw-r–r-- 1 www-data www-data 3177 dic 22 15:50 DiagnosticDownload.php
-rw-r–r-- 1 www-data www-data 3781 dic 22 15:50 Diagnostic.php
-rw-r–r-- 1 www-data www-data 27526 dic 22 15:50 DiagnosticRun.php
-rw-r–r-- 1 www-data www-data 6102 dic 22 15:50 Diagnostic.tpl
-rw-r–r-- 1 www-data www-data 4156 dic 22 15:50 DisplayWarnings.php
-rw-r–r-- 1 www-data www-data 2389 dic 22 15:50 ElasticSearchSettings.php
-rw-r–r-- 1 www-data www-data 7204 dic 22 15:50 expandDatabase.php
-rw-r–r-- 1 www-data www-data 2819 dic 22 15:50 ExportCustomFieldStructure.php
-rw-r–r-- 1 www-data www-data 3082 dic 22 15:50 Forms.php
-rw-r–r-- 1 www-data www-data 6143 dic 22 15:50 GoogleCalendarSettingsHandler.php
-rw-r–r-- 1 www-data www-data 2552 dic 22 15:50 GoogleCalendarSettings.php
-rw-r–r-- 1 www-data www-data 5836 dic 22 15:50 GoogleCalendarSettings.tpl
-rw-r–r-- 1 www-data www-data 3956 dic 22 15:50 ImportCustomFieldStructure.php
-rw-r–r-- 1 www-data www-data 2589 dic 22 15:50 index.html
-rw-r–r-- 1 www-data www-data 6120 dic 22 15:50 index.php
-rw-r–r-- 1 www-data www-data 3195 dic 22 15:50 index.tpl
drwxr-xr-x 2 www-data www-data 4096 jun 22 2012 javascript/
drwxr-xr-x 2 www-data www-data 4096 jun 22 2012 language/
-rw-r–r-- 1 www-data www-data 5400 dic 22 15:50 Locale.php
-rw-r–r-- 1 www-data www-data 8361 dic 22 15:50 Locale.tpl
-rw-r–r-- 1 www-data www-data 2176 dic 22 15:50 Menu.php
drwxr-xr-x 2 www-data www-data 4096 jun 22 2012 metadata/
-rw-r–r-- 1 www-data www-data 2107 dic 22 15:50 ncc_config.php
-rw-r–r-- 1 www-data www-data 9073 dic 22 15:50 PasswordManager.php
-rw-r–r-- 1 www-data www-data 2995 dic 22 15:50 PasswordManagerSecurity.tpl
-rw-r–r-- 1 www-data www-data 38443 dic 22 15:50 PasswordManager.tpl
drwxrws— 3 www-data www-data 4096 dic 22 15:50 PDF/
-rw-r–r-- 1 www-data www-data 2372 dic 22 15:50 PDFSettings.php
-rw-r–r-- 1 www-data www-data 19267 dic 22 15:50 QuickRepairAndRebuild.php
-rw-r–r-- 1 www-data www-data 2875 dic 22 15:50 RebuildAudit.php
-rw-r–r-- 1 www-data www-data 3837 dic 22 15:50 RebuildConfig.php
-rw-r–r-- 1 www-data www-data 2772 dic 22 15:50 RebuildDashlets.php
-rw-r–r-- 1 www-data www-data 2263 dic 22 15:50 RebuildExpressionPlugins.php
-rw-r–r-- 1 www-data www-data 3758 dic 22 15:50 RebuildFulltextIndices.php
-rw-r–r-- 1 www-data www-data 2508 dic 22 15:50 RebuildJSLang.php
-rw-r–r-- 1 www-data www-data 5478 dic 22 15:50 RebuildRelationship.php
-rw-r–r-- 1 www-data www-data 3688 dic 22 15:50 RebuildSchedulers.php
-rw-r–r-- 1 www-data www-data 2499 dic 22 15:50 RebuildSprites.php
-rw-r–r-- 1 www-data www-data 3574 dic 22 15:50 RepairActivities.php
-rw-r–r-- 1 www-data www-data 8149 dic 22 15:50 repairDatabase.php
-rw-r–r-- 1 www-data www-data 6540 dic 22 15:50 RepairFieldCasing.php
-rw-r–r-- 1 www-data www-data 2939 dic 22 15:50 RepairIE.php
-rw-r–r-- 1 www-data www-data 11394 dic 22 15:50 RepairIndex.php
-rw-r–r-- 1 www-data www-data 4484 dic 22 15:50 RepairJSFile.php
-rw-r–r-- 1 www-data www-data 3968 dic 22 15:50 RepairSeedUsers.php
-rw-r–r-- 1 www-data www-data 5289 dic 22 15:50 repairSelectModule.php
-rw-r–r-- 1 www-data www-data 2574 dic 22 15:50 repairUniSearch.php
-rw-r–r-- 1 www-data www-data 4221 dic 22 15:50 RepairUploadFolder.php
-rw-r–r-- 1 www-data www-data 3817 dic 22 15:50 RepairXSS.php
-rw-r–r-- 1 www-data www-data 3146 dic 22 15:50 Save.php
drwxrws— 4 www-data www-data 4096 dic 22 15:50 Search/
-rw-r–r-- 1 www-data www-data 2375 dic 22 15:50 SearchSettings.php
-rw-r–r-- 1 www-data www-data 21665 dic 22 15:50 SugarSpriteBuilder.php
drwxrws— 2 www-data www-data 4096 dic 22 15:45 SyncInboundEmailAccounts/
-rw-r–r-- 1 www-data www-data 3435 dic 22 15:50 SyncInboundEmailAccounts.php
drwxr-xr-x 2 www-data www-data 4096 dic 22 15:45 templates/
-rw-r–r-- 1 www-data www-data 2926 dic 22 15:50 undoupdateclass.php
-rw-r–r-- 1 www-data www-data 5513 dic 22 15:50 updateclass.php
-rw-r–r-- 1 www-data www-data 4645 dic 22 15:50 Updater.html
-rw-r–r-- 1 www-data www-data 4339 dic 22 15:50 Updater.php
-rw-r–r-- 1 www-data www-data 13666 dic 22 15:50 updater_utils.php
-rw-r–r-- 1 www-data www-data 6507 dic 22 15:50 updateTimezonePrefs.php
-rw-r–r-- 1 www-data www-data 3325 dic 22 15:50 UpgradeAccess.php
-rw-r–r-- 1 www-data www-data 6397 dic 22 15:50 upgrade_custom_relationships.php
-rw-r–r-- 1 www-data www-data 5512 dic 22 15:50 UpgradeFields.php
-rw-r–r-- 1 www-data www-data 11470 dic 22 15:50 UpgradeHistory.php
-rw-r–r-- 1 www-data www-data 2216 dic 22 15:50 UpgradeIISAccess.php
-rw-r–r-- 1 www-data www-data 12227 dic 22 15:50 Upgrade.php
-rw-r–r-- 1 www-data www-data 20882 dic 22 15:50 UpgradeWizard_commit.php
-rw-r–r-- 1 www-data www-data 8006 dic 22 15:50 UpgradeWizardCommon.php
-rw-r–r-- 1 www-data www-data 15405 dic 22 15:50 UpgradeWizard.php
-rw-r–r-- 1 www-data www-data 21829 dic 22 15:50 UpgradeWizard_prepare.php
-rw-r–r-- 1 www-data www-data 5910 dic 22 15:50 vardefs.php

I am not saying those permissions are wrong, but they are quite different from the recommended ones.

When you go in Admin / Schedulers, the crontab instructions at the bottom, what do they say?

I can’t go to Admin/Schedulers since my Admin page is empty… :thinking:

You need to find out which Linux user your Apache is running under. If it’s not www-data you need to fix ownerships.

And try using the recommended permissions, check the installation guide.

I have already checked and my Apache server is running as user www-data.
just in case I run the following commands from the suitecrm root directory to ensure that all the permissinos were set correctly :
sudo chmod -R 755 .
sudo chmod -R 775 cache custom modules themes data upload config_override.php

The behaviour is exactly the same. I get a blank admin pannel. Only the Administration title displays.

I have activated the display errors in php.ini and I get the following error message when accessing the Administration section:

1. **Deprecated** : Methods with the same name as their class will not be constructors in a future version of PHP; AccPr_Payments has a deprecated constructor in **/var/www/html/sugar/modules/AccPr_Payments/AccPr_Payments.php** on line **41**

2. **Deprecated** : Methods with the same name as their class will not be constructors in a future version of PHP; AccPr_Payments_sugar has a deprecated constructor in **/var/www/html/sugar/modules/AccPr_Payments/AccPr_Payments_sugar.php** on line **44**

3. **Fatal error** : Uncaught Error: Call to undefined method Basic::Basic() in /var/www/html/sugar/modules/AccPr_Payments/AccPr_Payments_sugar.php:70 Stack trace: #0 /var/www/html/sugar/modules/AccPr_Payments/AccPr_Payments.php(44): AccPr_Payments_sugar->AccPr_Payments_sugar() #1 /var/www/html/sugar/include/MVC/SugarModule.php(113): AccPr_Payments->AccPr_Payments() #2 /var/www/html/sugar/modules/Users/User.php(2002): SugarModule->loadBean() #3 /var/www/html/sugar/modules/Users/User.php(2070): User->_getModulesForACL('dev') #4 /var/www/html/sugar/modules/Administration/metadata/adminpaneldefs.php(443): User->getDeveloperModules() #5 /var/www/html/sugar/modules/Administration/index.php(63): require('/var/www/html/s...') #6 /var/www/html/sugar/include/MVC/View/SugarView.php(823): include_once('/var/www/html/s...') #7 /var/www/html/sugar/include/MVC/View/views/view.classic.php(72): SugarView->includeClassicFile('modules/Adminis...') #8 /var/www/html/sugar/include/MVC/View/SugarView.php(210): ViewClassic->display() #9 /var/www/html/s in **/var/www/html/sugar/modules/AccPr_Payments/AccPr_Payments_sugar.php** on line **70**

I understand this is not a permissions issue.

I managed to access the Administration panel after removing the directories of two custom modules I created way back using the Module Builder.
Now I get an error when I try to access the module builder because it can not find the custom module directories.

Any suggestion on how to “upgrade” the custom modules to avoid the errors I was getting?

Have you been checking the PHP error logs? (not just suitecrm.log)

You were probably getting a PHP Fatal error coming from one of the custom modules.

The correct fix is to contact the module authors and ask them to make it compatible.

If for some reason you have to do this on your own, start from the error message; sometimes it’s simple to fix, some syntactic issue due to PHP version upgrade or something. Other times it can get more complex, and require knowledge of the module.

The modules that I had to remove are custom modules I build using the suite stuidio build in tools.

The error is related to a call to an undefined method ( Basic())

In my case the problem was fixed by removing some custom modules.