Support ⇒ Dragonfly CMS v10 ⇒ Just updated - admin theme broke ⇒ Community Forums ⇒ CPG Dragonfly™ CMS
Forum IndexDragonfly CMS v10

Just updated - admin theme broke Reply to topic


Since I updated to the latest code, the top css menu doesn't seem to work properly any more.
I just get a text menu down the left side taking up a lot of room.

I have tried completely deleting the themes/admin directory and re-uploading it, and also deleting it in the cache.

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):


There are also other issues with the admin theme for me.
I can't edit any users via this link:
?admin&op=users#active-users

I can see the tabs (Active Users, Add new user etc), but under that the page is blank.

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):


Which webbrowser are you using? It seems the JavaScript is broken.
I updated the poodle.js to be compatible with the new ECMA/DOM standards which have changed.

ClientRect has changed in 2013 to DOMRect, and DOMPoint was added.
www.w3.org/TR/geometry-1/
So, PoodleRect and PoodlePoint are removed.

Secondly, String.contains() is now named String.includes() in ECMA 6

Can you check the debug console in your browser for errors?

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):
Fedora 25 / Apache 2.4.27 / MariaDB 10.1.26 / PHP 7.1.10 / Mercurial


I've tried chrome and firefox.
I will check out the console shortly.

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):


No errors in the console in chrome.
Weird thing is, if I inspect element and look through the source code, the table elements seem to be there containing usernames etc.
They just don't show on the page.

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):


There's some CSS errors in firefox, but that's all.

Unknown pseudo-class or pseudo-element '-webkit-search-decoration'. Ruleset ignored due to bad selector. /:1:2130 Unknown property 'user-select'. Declaration dropped. /:1:5604 Error in parsing value for 'cursor'. Declaration dropped. /:1:5668 Error in parsing value for 'cursor'. Declaration dropped. /:1:5709 Error in parsing value for 'cursor'. Declaration dropped. /:1:5814 Error in parsing value for 'cursor'. Declaration dropped. /:1:5861 Error in parsing value for 'cursor'. Declaration dropped. /:1:5896 Unknown pseudo-class or pseudo-element '-webkit-details-marker'. Ruleset ignored due to bad selector. /:1:6381 Error in parsing value for 'background-image'. Declaration dropped. /:1:10958 Unknown pseudo-class or pseudo-element 'placeholder'. Ruleset ignored due to bad selector.

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):


Strange, my console says something differently
defineProperty: CSSStyleSheet.rules defineProperty: CSSStyleSheet.cssText defineProperty: Document.head defineProperty: Document.scripts defineProperty: Event.immediatePropagationStopped defineProperty: HTMLInputElement.labels defineProperty: HTMLInputElement.valueAsDate Poodle 1.69 DOM true "XMLNS http://www.w3.org/1999/xhtml" DOMContentLoaded

So either JavaScript is off, not loading or broken at your end.
Can you remove the /cache/js folder?

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):
Fedora 25 / Apache 2.4.27 / MariaDB 10.1.26 / PHP 7.1.10 / Mercurial


Which browser are you using?

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):


I use Firefox 47

I've checked your website and it is correct your console is empty.

Add a file in root named "developer" (say /public_html/developer) and test again.
The file enables a special mode which doesn't minify JavaScript

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):
Fedora 25 / Apache 2.4.27 / MariaDB 10.1.26 / PHP 7.1.10 / Mercurial

Last edited by DJ Maze on Tue Aug 02, 2016 10:22 pm; edited 2 times in total


Thanks I will try that now.
I think my ISP has some major issues right now, so I don't know if I will be able to use the site properly.

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):


Ummm... that is weird.
All my admin issues are gone!

I removed the developer file in case it was that, but even after deleting the file, everything looks good.

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):

All times are UTC


Jump to: