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:
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 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.