Page 1 of 1

Duplicates In Dashboard

Posted: Sat Feb 04, 2017 3:03 pm
by terrytoh
Hi! Recently I have successful upgrade from 2.2.0.0 to 2.3.0.2. However when I login admin dashboard, there display 10 duplicates of every stats. Anyone can give me any clue on where to delete the duplicates? Thank you!

Re: Duplicates In Dashboard

Posted: Sun Feb 05, 2017 2:03 pm
by IP_CAM
well, your successful upgrade did NOT remove any of the old files and Subdirectories,
it just has overwritten some Files, and placed some new Subs and Files as well. :D
And as a result of this, if you want to have a clean Software again, you have to compare
the existing Directories and their Content with a 'virgin' Source, in order to find out, what
old files and subs still can be removed from the Server, to get your shop to work again,
as it should.

Just compare your doings with hardcode-overwriting an existing older Windows Version
with a new one, it would not be a real Pro-Way, to have a clean new System afterwards either.
But don't worry, you're not the only one, seemengly trying to handle an OC Installation like
installing a simple Smartphone-APP. ::)
Good Luck !
Ernie

Re: Duplicates In Dashboard

Posted: Mon Feb 06, 2017 6:17 am
by thekrotek
Basically, you need to delete "total", "payment", "module" and "shipping" folders, because they were moved to "extensions" folder in 2.3 and compatibility code is super faulty.

Re: Duplicates In Dashboard

Posted: Mon Feb 06, 2017 7:41 am
by Burt65
terrytoh wrote:Hi! Recently I have successful upgrade from 2.2.0.0 to 2.3.0.2. However when I login admin dashboard, there display 10 duplicates of every stats. Anyone can give me any clue on where to delete the duplicates? Thank you!

Yes, that's definitely not a "successful upgrade" ;D

Just remember, there will be few more nibbles coming your way after the upgrade you just did...
Plenty of posts on this forum about 2.3.x.x upgrade

Re: Duplicates In Dashboard

Posted: Sat Feb 18, 2017 9:10 pm
by terrytoh
I figured out it was due to duplicate entries in the database table 'extension'. Under the 'type' column look for 'dashboard', 'code' column should keep only 1 row of data for each: activity, sale, recent, order, online, map, customer, chart.

Re: Duplicates In Dashboard

Posted: Wed Mar 01, 2017 8:17 pm
by knowband.plugins
Hi,

Please look for the file "/admin/view/template/common/dashboard.tpl" in your root directory of Opencart.

Now search for the below code and delete its duplicates, it must exist only once in the file
<div class="row">
<div class="col-lg-3 col-md-3 col-sm-6"><?php echo $order; ?></div>
<div class="col-lg-3 col-md-3 col-sm-6"><?php echo $sale; ?></div>
<div class="col-lg-3 col-md-3 col-sm-6"><?php echo $customer; ?></div>
<div class="col-lg-3 col-md-3 col-sm-6"><?php echo $online; ?></div>
</div>

Hope, it will help.