Page 1 of 2
Weird looking admin [RESOLVED]
Posted: Wed Oct 01, 2014 7:58 pm
by ljstorage
Does anyone know why my admin panel looks like this the attached after a clean install?? I'm unable to click anything in the pages too.
My store looks mostly fine (apart from a slightly large search box).
Version is 2.0.0.b3
Thanks in advance!!!
Re: Weird looking admin
Posted: Wed Oct 01, 2014 9:51 pm
by SXGuy
Appears to be missing or not loading your styleesheet. Check the styleesheets are in tact and in the correct folders.
Re: Weird looking admin
Posted: Wed Oct 01, 2014 10:02 pm
by ljstorage
SXGuy wrote:Appears to be missing or not loading your styleesheet. Check the styleesheets are in tact and in the correct folders.
Hi SXGuy,
Thanks for your response. I've double checked and the stylesheet.css is in the following folder
admin/view/stylesheet/
Which I presume is right? Sorry I'm a bit of a self taught newbie
Re: Weird looking admin
Posted: Thu Oct 02, 2014 1:15 am
by labeshops
Do you have any css minifying mods installed? I've found they interfere with some stylesheets preventing them from loading.
Re: Weird looking admin
Posted: Thu Oct 02, 2014 4:29 am
by ljstorage
No it's a completely fresh install, well reinstall. I completely removed the database and all site files though. Could that have something to do with it maybe?
Re: Weird looking admin
Posted: Thu Oct 02, 2014 4:53 am
by ljstorage
FIXED IT!!! No idea why this worked but it did.
Went into config.php and changed the database driver from mysqli to mysql
Uploaded it and got an error
Went back and changed it to mysqli
uploaded it and hey presto a perfect looking admin panel!!!
#howdidthatwork
Re: Weird looking admin
Posted: Sun Oct 05, 2014 5:25 am
by Hashishim
Hey guys
I am getting a similar issue,
The side nav bar shows, I can see the Dashboard but the Tabs are not showing and the Alerts is just displaying a list in the back similar to his screenshot,
I tried the fix mentioned here but never work
I meet all the requirements, and it is a clean install did it twice now, so not to sure checked the stylesheet and that is in the right location
Re: Weird looking admin [RESOLVED]
Posted: Tue Oct 07, 2014 1:30 am
by rudders18
What browser are you using, I get this with Firefox quite often and have to clear the browser cache.
Re: Weird looking admin [RESOLVED]
Posted: Tue Oct 07, 2014 4:33 am
by Hashishim
Tried it with Google Chrome, and Internet Explorer both showing the same, so I am really not to sure :/
Re: Weird looking admin [RESOLVED]
Posted: Tue Oct 07, 2014 2:48 pm
by kassan
few weeks back it happened to me as well, i removed the stylesheet and re-uploaded it, then it worked. may that will help try it.
Re: Weird looking admin [RESOLVED]
Posted: Wed Oct 08, 2014 7:22 am
by Hashishim
Tried this as well, still the same. Front end works 100% it just the admin backend :/
Also I installed OC 1.5 and that worked perfectly.
My installation is on a Windows Server 2012 and use PLESK 12 as an interface for me. I installed OC 1.5 via the PLESK and normal upload to test.
However when I do an upgrade I get server 500 error. so yeah I went back to reupload OC 2 using the normal method and bang wierd admin. I doubt it the settings on my server as all is enabled
Re: Weird looking admin [RESOLVED]
Posted: Wed Oct 08, 2014 2:42 pm
by i2Paq
Looks like it is missing the .css.
Could it be corrupt or a rights issue?
Re: Weird looking admin [RESOLVED]
Posted: Wed Oct 08, 2014 9:32 pm
by Hashishim
well upon installation, i followed the instructions and made those specific directory's / files writable, am I supposed to make them modifiable as well?
I am actually not to sure the css file is there, it is showing some of the images, but it just the menu on the top is not not neatly positioned exactly like the screenshot the other guy made above
Re: Weird looking admin [RESOLVED]
Posted: Wed Oct 08, 2014 10:21 pm
by i2Paq
It is .css related.
The files your are looking for are located in your \admin and admin-sub folders.
Re: Weird looking admin [RESOLVED]
Posted: Wed Oct 08, 2014 11:51 pm
by Hashishim
Hi thanks, i went to css file but what must I look out for?
It all seems fine to me, must I attach it on here for you to check? But then what I do not understand is i did not even touch it. This is straight from the zip file downloaded from here.
oh and thanks for taking the time to help me

Re: Weird looking admin [RESOLVED]
Posted: Thu Oct 09, 2014 12:38 am
by i2Paq
The .css file cannot be found by the OpenCart Admin part.
That is why you see what you see.
Check if it has the correct rights, I'm not sure how it should be setup on a Windows host.
Re: Weird looking admin [RESOLVED]
Posted: Thu Oct 09, 2014 1:20 am
by Hashishim
checked the rights, it all on readable changed it writable and modifiable.
Same for the config. but it only doing this for version 2.0 not for 1.56
I give up
Code: Select all
<?php
// HTTP
define('HTTP_SERVER', 'http://bportal.smigroup.co.za/admin/');
define('HTTP_CATALOG', 'http://bportal.smigroup.co.za/');
// HTTPS
define('HTTPS_SERVER', 'http://bportal.smigroup.co.za/admin/');
define('HTTPS_CATALOG', 'http://bportal.smigroup.co.za/');
// DIR
define('DIR_APPLICATION', 'C:\\Inetpub\\vhosts\\smigroup.co.za\\bportal.smigroup.co.za\\/admin/');
define('DIR_SYSTEM', 'C:\\Inetpub\\vhosts\\smigroup.co.za\\bportal.smigroup.co.za\\/system/');
define('DIR_LANGUAGE', 'C:\\Inetpub\\vhosts\\smigroup.co.za\\bportal.smigroup.co.za\\/admin/language/');
define('DIR_TEMPLATE', 'C:\\Inetpub\\vhosts\\smigroup.co.za\\bportal.smigroup.co.za\\/admin/view/template/');
define('DIR_CONFIG', 'C:\\Inetpub\\vhosts\\smigroup.co.za\\bportal.smigroup.co.za\\/system/config/');
define('DIR_IMAGE', 'C:\\Inetpub\\vhosts\\smigroup.co.za\\bportal.smigroup.co.za\\/image/');
define('DIR_CACHE', 'C:\\Inetpub\\vhosts\\smigroup.co.za\\bportal.smigroup.co.za\\/system/cache/');
define('DIR_DOWNLOAD', 'C:\\Inetpub\\vhosts\\smigroup.co.za\\bportal.smigroup.co.za\\/system/download/');
define('DIR_UPLOAD', 'C:\\Inetpub\\vhosts\\smigroup.co.za\\bportal.smigroup.co.za\\/system/upload/');
define('DIR_LOGS', 'C:\\Inetpub\\vhosts\\smigroup.co.za\\bportal.smigroup.co.za\\/system/logs/');
define('DIR_MODIFICATION', 'C:\\Inetpub\\vhosts\\smigroup.co.za\\bportal.smigroup.co.za\\/system/modification/');
define('DIR_CATALOG', 'C:\\Inetpub\\vhosts\\smigroup.co.za\\bportal.smigroup.co.za\\/catalog/');
// DB
define('DB_DRIVER', 'mysqli');
define('DB_HOSTNAME', 'localhost');
define('DB_USERNAME', '****');
define('DB_PASSWORD', '*****');
define('DB_DATABASE', '****'');
define('DB_PREFIX', 'oc_');
Thats my config file
Re: Weird looking admin [RESOLVED]
Posted: Thu Oct 09, 2014 10:08 pm
by Adsy
I have the same problem. The chrome dev console says bootstrap.less is missing, but it is there. I've tried messing with the permissions, but not tried re-uploading just that file. I'll try it later and post here with the outcome.
Re: Weird looking admin [RESOLVED]
Posted: Fri Oct 10, 2014 2:34 am
by Adsy
Removed and re-uploaded most of the files in the admin folder and still not displaying the admin page properly. I'm using Plesk as well so maybe it's an issue with that somehow? Continuing to investigate.
Re: Weird looking admin [RESOLVED]
Posted: Fri Oct 10, 2014 4:11 am
by Adsy
Fixed. I had to add the MIME type .less text/less to the Plesk control panel. To do this, navigate to Virtual Directory, then the Mime Types tab. Click add mime type then add the type.