I get the following message when trying to view my website on IE7 and IE8.

Fatal error: Call to undefined function libraries_load() in/.../sites/all/modules/fusion-accelerator/fusion_responsive_ie/fusion_responsive_ie.module on line 61

The website is built with Fusion 7.x-2.x-dev and Fusion Accelerator 7.x-2.x-dev. I have installed css3-mediaqueries.js in /sites/all/libraries/css3-mediaqueries as suggested in the documentation.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

sheena_d’s picture

Have you installed the Libraries API module?

DSquaredB’s picture

Yes. I have the Libraries API installed. I have also enabled Support IE 6-8 in the theme settings and have CSS Aggregation enabled. I tried to check everything out several times before filing an issue.

Updated: I went over everything again and all seemed okay, but I unchecked the box Responsive layouts for IE 6-8 box in Admin>Modules>Fusion Accelerator. Now I can view the website on IE 6-8 and even IE9, but the formatting is not good - double text on titles, for instance.

sheena_d’s picture

I'm going to do some independent testing to see if I can duplicate that fatal error in IE. As for the double text on blocks, it would be really handy if I could take a look at the site where this issue is occurring. Any chance you could provide a link?

Thanks!

DSquaredB’s picture

Ignore the double error issue. I think that is a result of the use of text-shadow for the titles in custom skin. If I disable the skin, everything is fine, except for the lack of skin formatting.

I was able to replicate the fatal error in another site I have live with Fusion theme. Same thing - if I enable the IE6-8 module, I get the Fatal Error, but if it is not checked, the site works fine.

Thanks for your help.

sheena_d’s picture

Category: support » bug
Status: Active » Needs review
FileSize
2.44 KB

It looks like your initial issue was caused by the fact that the IE responsive support assumes that the user will have the 2.x branch of Libraries API installed, but we did not specify that in the README.txt.

The attached patch adds a check for libraries_load() in fusion_responsive_ie.module and reports an error to the administrator if the function is not available, advising them to update to the 2.x branch of Libraries API. Also added a note in the README about which branch of Libraries API to use.

Status: Needs review » Needs work

The last submitted patch, fusion_accelerator-1452610-libraries-API-2x-required.patch, failed testing.

sheena_d’s picture

Project: Fusion » Fusion Accelerator
Status: Needs work » Needs review
FileSize
2.44 KB

This should be an Accelerator issue. re-submitting the patch for testing.

sheena_d’s picture

Status: Needs review » Fixed

This fix is included in Fusion Accelerator 7.x-2.0-beta1

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

kristin.e’s picture

Version: 7.x-2.x-dev » 7.x-2.0-beta1
Status: Closed (fixed) » Active

Hi, I need to reopen this issue. I have installed Libraries API and Fusion Accelerator 7.x-2.0-beta1. I have also installed css3-mediaqueries.js in /sites/all/libraries/css3-mediaqueries as suggested in the documentation.

I am still getting this error message when viewing in ie 6-8:

Fatal error: Call to undefined function libraries_load() in/.../sites/all/modules/fusion-accelerator/fusion_responsive_ie/fusion_responsive_ie.module on line 64

Any suggestions?

Thanks in advance

sheena_d’s picture

Which version of LIbraries API do you have installed?

kristin.e’s picture

Thanks for the quick response. I have Libraries 7.x-1.0 installed

sheena_d’s picture

Status: Active » Fixed

As is stated earlier in this thread and as is noted in the README.txt file for the fusion_responsive_ie module, the 2.x branch of Libraries API is required for IE support of responsive themes with Fusion Accelerator. Please update to the latest release of the 2.x branch of Libraries API and your issue should be resolved.

kristin.e’s picture

ok, thanks - have installed 2.x and it now works.

esmerel’s picture

Status: Fixed » Closed (fixed)