Forums / Upgrading to 1.5.x / After upgrade from 1.5.6b to 1.5.8a the admin takes a long time to load

After upgrade from 1.5.6b to 1.5.8a the admin takes a long time to load

Views: 1,203

Results 1 to 3 of 3
31 Aug 2024, 5:53 PM
#1
clam_man avatar

clam_man

New Zenner

Join Date:
Jun 2019
Location:
Austin TX
Posts:
65
Plugin Contributions:
0

After upgrade from 1.5.6b to 1.5.8a the admin takes a long time to load

PHP version is 8.0.30 as it is what is compatible with the template we are using (Wokiee Template). I've created scripts to manually handle the old database differences and I've got everything uploaded. Transactions and automated emailing systems work fine. My issue is that when I login to the admin side, the index.php file takes a good 20+ seconds to load. I've tried creating an enable_debug_logging.php in the extra_configures directory with:

define('DEBUG_FOPEN_WRITES', true);
define('DEBUG_LOG_TO_CONSOLE', true);```

I've also tried modifiying the configure.php file in that admin includes directory to include `define('STORE_DB_TRANSACTIONS', 'false');` and I'm not seeing anything logged to /cache/ about it. Is there something I can do to see why only that page takes so long to load? Everything else in admin is working fine.
31 Aug 2024, 6:04 PM
#2
gothstone avatar

gothstone

Zen Follower

Join Date:
Jun 2005
Posts:
330
Plugin Contributions:
0

Re: After upgrade from 1.5.6b to 1.5.8a the admin takes a long time to load

2 + 2 = 5 for extremely large values of 2

Pez Collectors Store •••••••• My Plugins List

31 Aug 2024, 9:03 PM
#3
clam_man avatar

clam_man

New Zenner

Join Date:
Jun 2019
Location:
Austin TX
Posts:
65
Plugin Contributions:
0

Re: After upgrade from 1.5.6b to 1.5.8a the admin takes a long time to load

The issue was the RecentOrdersDashboardWidget.php file, more specifically it was the $includeAttributesInPopoverRows. I changed this line:

$includeAttributesInPopoverRows = $includeAttributesInPopoverRows ?? true;

To instead be:

$includeAttributesInPopoverRows = false;

My admin loads pretty much instantly now. I'm not sure what that being set to true was even accomplishing because there were no 'popovers' on hover for any of the items on the admin index.php dashboard. There also aren't any javascript errors if those were being populated with a JS library so who knows? Thank you for the fix though!