Active
Project:
Modal Frame Contrib Package
Version:
6.x-1.0
Component:
modalframe_blocks.module
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
25 Oct 2010 at 19:31 UTC
Updated:
28 Jan 2011 at 22:50 UTC
Get this error after enabling module. Thoughts?
Comments
Comment #1
markus_petrux commented1) Please, use the text area of the comment to copy the error message.
2) The modalframe_blocks module requires the modalframe module (see dependencies in .info file), so the function modalframe_parent_js() should be there when the former is enabled. This leads to the question: how have you managed to install modalframe_blocks module with modalframe module not being enabled?
Comment #2
pixelsweatshop commentedI wish I could give you that answer. The Modalframe module was installed. I would assume that I could not enable it otherwise as modalframe_blocks specifies modalframe as a dependency.
Comment #3
queryblitz commentedI tried to install this module without jQuery 1.7 and got some nasty errors. Ran emergency.php and here's what it said:
I don't know, but I'm going to attempt to install jQuery 1.7.
Comment #4
queryblitz commentedI'm not sure if this is the same, by the way.
Comment #5
markus_petrux commentedOk, I'm afraid I still do not understand this issue.
1) modalframe blocks module requires modalframe module. So it should not be possible to install the former until the later is installed.
2) modalframe module requires jquery_ui module in the .info file. Again, it should not be possible to install the former until the later is installed.
3) modalframe_requirements() in modalframe.install prevents from installing the module if the version of the jQuery UY library is not 1.7 or higher.
As I can see this, Drupal should only allow you to install modalframe blocks module when all requirements are properly installed. That's how these modules have been coded to work.
Please, re-open if there's a method to reproduce this issue. At this moment, I cannot reproduce. It works for me as described above.
Comment #6
socialnicheguru commentedI just got this.
install automodal, modalframe, and modal_contrib modules all at the same time.
don't upgrade jquery or update it incorrectly
if jquery is not 1.7 or above you should get an error.
Instead you get the fatal error above. I think it is because modalframe does not get installed but somehow modules dependent on it does.
Edit:
I downloaded the wrong jquey library.
I had to remove modalframe_contrib module
I was able to get back to my modules page
I noticed that modalframe api box was greyed out and no check box
But the automodal module was enabled.
Comment #7
markus_petrux commentedThe problem described in #6 could be perfectly caused by the way automodal is implemented.
Comment #8
mokaspar commentedactually, i just had the same problem.
what i did:
i downloaded modalframe, modalframe contrib and jQuery Update and then selected all the modalframe contrib-modules. on the next page, i got this error:
Fatal error: Call to undefined function modalframe_parent_js() in /home/sites/tools.elearning.zhdk.ch.local/Documents/sites/all/modules/modalframe_contrib/modalframe_blocks/modalframe_blocks.module on line 125