Unable to edit groups or assign new users to groups + edit dropdown not showing
Permalink
Hi There,
We have a weird issue with some sites where:
- The edit dropdown doesn't display on hover
- We can't edit user groups
- We can't assign new users to a group
If I create a new admin user and login then the Edit drop down displays on hover (as noted elsewhere on the forums). But that fix doesn't allow us to edit groups or assign new users to groups.
I've tried removing the 5.6.1.2 update from /updates and manually updating by overwriting the /concrete directory (then running the update URL) but no luck. We also don't have any js overrides in the root /js directory.
Has anyone come across this?
At this point, the only way we can see around this is to perform a clean install and manually copy all the content over - obviously we'd like to figure out what's going on!
Any help would be much appreciated.
We have a weird issue with some sites where:
- The edit dropdown doesn't display on hover
- We can't edit user groups
- We can't assign new users to a group
If I create a new admin user and login then the Edit drop down displays on hover (as noted elsewhere on the forums). But that fix doesn't allow us to edit groups or assign new users to groups.
I've tried removing the 5.6.1.2 update from /updates and manually updating by overwriting the /concrete directory (then running the update URL) but no luck. We also don't have any js overrides in the root /js directory.
Has anyone come across this?
At this point, the only way we can see around this is to perform a clean install and manually copy all the content over - obviously we'd like to figure out what's going on!
Any help would be much appreciated.
Anything in the console log?
Thanks for that, my javascript is a bit crap sorry.
Yes, there seem to be errors but I'm not sure how to work they are.
When in edit mode on a page I see these on reload:
That's where I stopped. I've checked that I'm not loading anything in the header manually - I have this:
I'm just a bit unsure what is going on sorry.
Cheers
Ben
Yes, there seem to be errors but I'm not sure how to work they are.
When in edit mode on a page I see these on reload:
reference to undefined property f.valHooks[this] Line 2
assignment to undeclared variable ccm_parseJSON
assignment to undeclared variable ccm_deactivateSite
Line 15
assignment to undeclared variable ccm_activateSite
assignment to undeclared variable ccm_addHeaderItem
assignment to undeclared variable ccm_disableLinks
reference to undefined property j[k] Line 4
assignment to undeclared variable ccm_triggerSelectFile
Line 2
assignment to undeclared variable ccm_alSelectNone
Line 3
That's where I stopped. I've checked that I'm not loading anything in the header manually - I have this:
<?php // automatically load head attributes (title, meta etc) + block css and js dependencies Loader::element('header_required'); ?>
I'm just a bit unsure what is going on sorry.
Cheers
Ben
Could you post a link to your website or maybe send it via private message?
Thanks mate, have just PM'd you the login details.
If you login with the c5 Super admin credentials, you'll notice the edit menu drop down doesn't work (it does if you hover over the Dashboard).
And if you login with the secondary admin account, you'll notice the drop down works but you won't be able to:
- Edit groups
- Assign new users to groups
Also, because the site is on DEV we have an initial Apache password to view the site - that's what the initial login details are for.
Any pointers in the right direction would be much appreciated.
Cheers
Ben
If you login with the c5 Super admin credentials, you'll notice the edit menu drop down doesn't work (it does if you hover over the Dashboard).
And if you login with the secondary admin account, you'll notice the drop down works but you won't be able to:
- Edit groups
- Assign new users to groups
Also, because the site is on DEV we have an initial Apache password to view the site - that's what the initial login details are for.
Any pointers in the right direction would be much appreciated.
Cheers
Ben
I sent you a PM but the website stripped most of the code I suggested.
Please locate the following line inside your footer template:
You are probably using the getThemePath() function to load this javascript so it's not going to look exactly like that, but it's the line just before your </body> tag.
Wrap it in the following code:
Please locate the following line inside your footer template:
<script src="/themes/bootstrap/assets/js/bootstrap-min.js"></script>
You are probably using the getThemePath() function to load this javascript so it's not going to look exactly like that, but it's the line just before your </body> tag.
Wrap it in the following code:
<?php if(!$c->isEditMode()) { ?> <!-- Copy/paste the line you used to have --> <?php } ?>
Thanks heaps for your help,
We tried it with your edit mode conditional as well as completely removing the call to bootstrap.js (as it is now) but the same issues remain - cleared the cache etc.
It doesn't really make sense to us sorry - any other ideas?
Cheers
Ben
We tried it with your edit mode conditional as well as completely removing the call to bootstrap.js (as it is now) but the same issues remain - cleared the cache etc.
It doesn't really make sense to us sorry - any other ideas?
Cheers
Ben