Troubleshooting a Blank Admin Dashboard After Updating: Step-by-Step Guide

thumb_up 1  ·  sell Blank admin dashboard after updating troubleshooting, Resolving issues with dashboard display post-update, Troubleshooting blank admin dashboard errors

Symptom

If none of the Admin Dashboard widgets are loading after you update WHMCS, there may be a problem with the table collation values.

Cause

To gather more information about the cause of the issue:

  1. Go to Configuration > System Settings > General Settings (Setup > General Settings prior to WHMCS 8.0) and choose the Other tab.
  2. Enable SQL Debug.
  3. Return to the Admin Dashboard. The problem will persist.
  4. Go to Configuration > System Logs (Utilities > Logs > Activity Log prior to WHMCS 8.0).
  5. Make a note of any MySQL® errors. For example:

    Smarty Error: SQLSTATE[HY000]: General error: 1267 Illegal mix of collations (latin1_general_ci,IMPLICIT) and (latin1_swedish_ci,IMPLICIT) for operation '=' (SQL: select count(tblorders.id) as aggregate from tblordersinner join tblorderstatuses on tblorders.status = tblorderstatuses.title where tblorderstatuses.showpending = 1)

    or

    Smarty Error: SQLSTATE[HY000]: General error: 1267 Illegal mix of collations (utf8_general_ci,IMPLICIT) and (utf8_unicode_ci,IMPLICIT) for operation '=' (SQL: select count(tblorders.id) as aggregate from tblordersinner join tblorderstatuses on tblorders.status = tblorderstatuses.title where tblorderstatuses.showpending = 1)

Solution

To resolve the error, edit the MySQL database structure to ensure that both the tables have the same collation setting.

Before you make changes to the database, you must back it up.

If, after you make these changes, the error persists, or if you are not comfortable making these changes to your WHMCS database, create a support ticket with technical support.

Examples

The examples below describe two possible scenarios for this issue.

Example 1

In this example, the following collation settings are different:

  • tblorders = latin1_general_ci
  • tblorderstatuses = latin1_swedish_ci

For success, these values must match.

To do this, you could run the following command against the database:

ALTER TABLE tblorderstatuses CONVERT TO CHARACTER SET latin1 COLLATE latin1_general_ci;
 

Example 2

In this example, the following collation settings are different:

  • tblorders = utf8_general_ci
  • tblorderstatuses = utf8_unicode_ci

For success, these values must match.

To do this, you could run the following command against the database:

ALTER TABLE tblorders CONVERT TO CHARACTER SET utf8 COLLATE utf8_unicode_ci;
 
 
 
The End! should you have any inquiries, we encourage you to reach out to the Vercaa Support Center without hesitation.

Was this answer helpful?

Related Articles

description

Step-by-Step Guide to Installing WHMCS

To start using WHMCS, you will need to install it on your server. You may need help from your hosting provider or system administrator…

arrow_forward
description

Configuring cPanel Site Software for WHMCS Integration: A How-To Guide

You can install WHMCS using cPanel's Site Software feature. Before you can perform the installation, a WHM user must enable WHMCS…

arrow_forward
description

Effortless WHMCS Installation Using cPanel Site Software: A Step-by-Step Tutorial

You can install WHMCS easily using cPanel's Site Software feature. To do this: 1. If you have not already done so, configure…

arrow_forward
description

Configuring WHMCS Cron Jobs: Step-by-Step Setup Guide

You will need to configure the cron job as soon as you finish installing WHMCS. The cron job executes WHMCS's automation tasks,…

arrow_forward
description

Customizing the WHMCS Cron Schedule: Configuration Guide

The WHMCS cron job performs many of the automated tasks for your WHMCS installation. You can customize when and how often it runs…

arrow_forward
arrow_back « Back