2

After upgrading to CiviCRM 4.6.5, I cannot access any more to any popup window. This overlay window is somehow slightly greyed. It doesn't react anymore (not event the cancel button) and the only way to remove the window is pressing the escape button.

enter image description here

In drupal administration I have this warning :

Warning : array_shift() expects parameter 1 to be array, string given dans civicrm_permission() (ligne 67 dans /home/website/public_html/sites/all/modules/civicrm/drupal/civicrm.module).

Is it a Drupal issue or a Civi one ?

Thanks for advice and help.

====

6
  • Please first go through the CiviCRM js troubleshooting steps and then edit your question with more details.
    – Coleman
    Jul 26 '15 at 0:42
  • @Coleman, I enabled the backtrace => nothing is shown in this popup case.
    – Andrimont
    Jul 26 '15 at 7:06
  • @Coleman with the Inspect Element of Chrome, this message is displayed : Synchronous XMLHttpRequest on the main thread is deprecated because of its detrimental effects to the end user's experience. For more help, check http://xhr.spec.whatwg.org/.
    – Andrimont
    Jul 26 '15 at 7:22
  • That's not an error (just a random deprecation notice) and is not relevant. Are you sure there are no errors anywhere?
    – Coleman
    Jul 26 '15 at 11:23
  • @Coleman No there no error shown in the Drupal journal nor the Chrome feed back and the Civiback back-trace…
    – Andrimont
    Jul 26 '15 at 11:33
2

From what I can tell, css from your drupal site is majorly interfering with CiviCRM. Specifically, the interference is targeting jQuery UI, probably because you have a copy of jQuery UI loading via Drupal. Try:

  • Disabling the jQuery UI module (or find a way to disable it just for CiviCRM pages)
  • Choosing a simpler theme for CiviCRM pages, particularly one that does not bundle a copy of jQuery UI.
1

Instead of clicking the link that triggers the pop up, can you right-click and 'open in new tab' so that you have the form as a page rather than a pop up? Does that work fine? If so, when you are getting the pop-up do you have any errors if you right-click on the pop up and Inspect Element?

(Edited to included Heather O. comment) If that is the case, then you can disable the pop-ups in the Administration console under Display Preferences civicrm/admin/setting/preferences/display&reset=1 Means that members of staff can access as normal in the meantime.

6
  • Yes Pete, the right-click with 'open in new tab' works fine in a new tab. I can then edit ! But if I inspect the element pop-up I get this message : Synchronous XMLHttpRequest on the main thread is deprecated because of its detrimental effects to the end user's experience. For more help, check xhr.spec.whatwg.org.
    – Andrimont
    Jul 25 '15 at 23:03
  • Can't help - but it at least means civi is not 'unusable' so perhaps you could tweak your question.
    – petednz - fuzion
    Jul 26 '15 at 6:39
  • // yes thanks. I can use Civi with right clic open in another window or tab.
    – Andrimont
    Jul 26 '15 at 7:26
  • Have you tried different browsers?
    – pmoz
    Jul 27 '15 at 11:59
  • 1
    FYI whilst you're working out the specific issue, you can disable the pop-ups in the Administration console under Display Preferences civicrm/admin/setting/preferences/display&reset=1 Means that members of staff can access as normal in the meantime.
    – Heather O.
    Jul 27 '15 at 12:20
0

We just got a bug report in our issue tracker about this: https://issues.civicrm.org/jira/browse/CRM-16935

Looks like a recent change to the Drupal Media module is to blame.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.