Jump to content
  • 0

Strange Behaviour In Admin Area


RRWH

Question

I decided to do a fresh install of V3 onto a brand new VPS running Nginx, rather than go with an upgrade of the Beta version.

 

Since doing so, when logged into the admin panel I see all sorts of strange behaviour when I mouse-over the main nav items - it over-writes the next line down- the sub nav menu.

 

Tried this with 3 different browsers (Ie9, Firefox and chrome) and get exactly the same result. - and just did it on another Computer as well.

 

Anyone seen this behaviour?

 

Screenshot, I simply did a mouse-over on billing, but the home (Dashboard/Calendar) says visible but is over-laid with the menu items for billing.

 

I have not looked into the CSS to see if it has changed since the beta, but this is a bit annoying!

post-65-0-97389000-1377230364_thumb.png

Link to comment
Share on other sites

8 answers to this question

Recommended Posts

  • 0

tried on 3 computes and just did the 3.0.1 upgrade and still the same.

 

Later on, I'll do a backup and replace the admin css with the copy from the last beta and see how it looks - as the css has changed since the beta and release 

 

in the  app/views/admin/default folder from beta7,

 

# ll *css
total 140
drwxr-xr-x 2 root root  4096 Aug  2 14:25 admin_login
-rw-r--r-- 1 root root  3293 Jul 21  2011 colorpicker.css
-rw-r--r-- 1 root root  7965 Apr 18 14:35 css3.css
-rw-r--r-- 1 root root  5515 Jul 18  2012 dashboard_calendar.css
-rw-r--r-- 1 root root  2919 Nov 19  2012 datepicker.css
-rw-r--r-- 1 root root    91 May 13 09:08 ie.css
-rw-r--r-- 1 root root   859 Sep 24  2012 jquery.jrating.css
-rw-r--r-- 1 root root 12302 Jul  2  2012 jquery.qtip.css
-rw-r--r-- 1 root root 10055 Jun 18  2012 jquery.qtip.min.css
-rw-r--r-- 1 root root 60884 Aug  2 13:53 layout.css
-rw-r--r-- 1 root root   629 Sep 30  2011 reset.css
-rw-r--r-- 1 root root  9297 May 13 09:53 theme.css
 
the same folder from 3.0.1
 
]# ll *css
total 140
drwxr-xr-x 2 nginx nginx  4096 Aug 21 22:23 admin_login
-rw-r--r-- 1 nginx nginx  3293 Aug 21 22:23 colorpicker.css
-rw-r--r-- 1 nginx nginx  7965 Aug 21 22:23 css3.css
-rw-r--r-- 1 nginx nginx  5515 Aug 21 22:23 dashboard_calendar.css
-rw-r--r-- 1 nginx nginx  2919 Aug 21 22:23 datepicker.css
-rw-r--r-- 1 nginx nginx    91 Aug 21 22:23 ie.css
-rw-r--r-- 1 nginx nginx   859 Aug 21 22:23 jquery.jrating.css
-rw-r--r-- 1 nginx nginx 12302 Aug 21 22:23 jquery.qtip.css
-rw-r--r-- 1 nginx nginx 10055 Aug 21 22:23 jquery.qtip.min.css
-rw-r--r-- 1 nginx nginx 61006 Aug 21 22:23 layout.css
-rw-r--r-- 1 nginx nginx   629 Aug 21 22:23 reset.css
-rw-r--r-- 1 nginx nginx  9297 Aug 21 22:23 theme.css
 
 
Only file that has changed is layout.css - I'll copy it from my Dev (beta) version and test again later.
 
 
 
Link to comment
Share on other sites

  • 0

Since doing so, when logged into the admin panel I see all sorts of strange behaviour when I mouse-over the main nav items - it over-writes the next line down- the sub nav menu.

 

Tried this with 3 different browsers (Ie9, Firefox and chrome) and get exactly the same result. - and just did it on another Computer as well.

 

Anyone seen this behaviour?

 

Screenshot, I simply did a mouse-over on billing, but the home (Dashboard/Calendar) says visible but is over-laid with the menu items for billing.

 

 

This is common if:

  1. You are using an older version of Internet Explorer (I think IE8 or older)
  2. If you are not using a theme (this appears to be your problem)
    1. To fix: Go to [settings] -> [General] -> [Themes], choose a theme and save it.
Link to comment
Share on other sites

  • 0

Well, we know something is going on with themes now.

 

Does the client theme load in the client interface/portal?

 

You might also check the `company_settings` table in the database for the "theme_admin" key and set it to a value of 1 if it's not already.

 

If you view the source of any page in the admin interface, look for /admin/theme/theme.css and check that it contains valid CSS, particularly for color hex values.

 

If you changed the theme routes in /config/routes.php, it's likely it's not loading the theme CSS because of it.

Link to comment
Share on other sites

  • 0

Checked the database and could see the value of theme_settings changing when I modify via the admin panel - so that is all working.

 

 

Is your server doing any caching of its own?

 

It looks like it is.... and I was not aware of it.

 

I did a brand new fresh install of an Nginx stack in a brand new VPS to do my install - I use Centminmond to do the stack install and just checked the configs - and found that it does the following (among other things)

 

For the moment, I have removed the include from my vhost config to the staticfiles.conf 

    location ~* \.(css)$ {
        #add_header Pragma public;
        add_header Cache-Control "public, must-revalidate, proxy-revalidate";
        access_log off;
        expires 30d;
        break;
        }


Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...