Accounts Module after upgrade stopped working

Hi.

So we upgraded our test server from 7.4.3. to 7.6.2

The accounts module seems to have fallen foul of the upgrade. If I do a search on the top bar i can find out account sand see a list of them, and the accounts in the mini my accounts dashlet all show up fine.

BUT when I click on Sales / Accounts in firefox I just get a completely blank page. In IE I get the browser cannot display the page. In safari i also just get a blank page. In Chrome I get the page is not working.

Any ideas on where i go from here. I’ve looked in the suitecrm.log and cannot see anything new in there when i try opening the webpage. Anyone had any similar sort of thing where they couldn’t see the standard accounts view?

OK found the file that breaks it view.list.php in custom modules accounts view

This is the original file that broke me viewing the modules.

<?php // Attempt at setting the default sort order for Projects - ADS 10/2/15 require_once('modules/Accounts/views/view.list.php'); require_once('include/MVC/View/views/view.list.php'); require_once('custom/modules/Accounts/AccountsListViewSmarty.php'); class CustomAccountsViewList extends AccountsViewList { function CustomAccountsViewList(){ parent::AccountsViewList(); } function listViewPrepare() { if(empty($_REQUEST['orderBy'])) { $_REQUEST['orderBy'] = strtoupper('wg_revenueannual_c'); $_REQUEST['sortOrder'] = 'DESC'; } parent::listViewPrepare(); } } This version below works with 7.6.2 woohoo! :) <?php // Attempt at setting the default sort order for Projects - ADS 10/2/15 require_once('modules/Accounts/views/view.list.php'); require_once('include/MVC/View/views/view.list.php'); #require_once('custom/modules/Accounts/AccountsListViewSmarty.php'); class CustomAccountsViewList extends AccountsViewList { function listViewPrepare() { if(empty($_REQUEST['orderBy'])) { $_REQUEST['orderBy'] = strtoupper('wg_revenueannual_c'); $_REQUEST['sortOrder'] = 'DESC'; } parent::listViewPrepare(); } }