- This topic has 17 replies, 3 voices, and was last updated 15 years, 9 months ago by imported_Ryan.
-
AuthorPosts
-
January 20, 2009 at 11:35 am #552RickAMember
I noticed that I was getting a little icon (yellow triangle with an exclamation point) in the lower right corner of IE7 and the message "Error on Page". There is no problem reported using Firefox. I started deactivating my Plugins, one at a time, and the icon went away when I deactivated CForms and reappeared when I reactivated it. It also went away when I deactivated the Multi-level Menu plugin and reappeared when I reactivated it.
So it appears that the two plugins have a conflict when they are both activated at the same time but only in IE7.
Any ideas?
January 20, 2009 at 11:46 am #4784imported_RyanMemberHi,
It’s probably a javascript clash because they don’t use enqueue scripts. I’ll download the plugin and take a look. The error you are seeing is a javascript error.For some annoying reason IE decides to show it to users, I have no idea why. Those errors usually just mean that one of the scripts is failing in some way; why users of IE need to know this I have no idea. The error will be happening on Firefox as well, it just doesn’t tell you about it.
January 20, 2009 at 11:53 am #4785imported_RyanMemberI’ve downloaded it and it looks like they are not enqueueing their scripts correctly.
The 1.0.x series of the Multi-level Navigation Plugin also added scripts in this way, the problem is that when another plugin uses the same script (jQuery presumably in this case), the two plugins clash as they both try to load it. The enqueue method ensures that only one copy is loaded, not one for each plugin.
There is a contact form on their site, so I’ll send them a link to this forum topic and hopefully they’ll be able to release a new version which corrects it … assuming that I am correct and it is an enqueue scripting problem.
As a crude hack, you could try deleting the jQuery.js file from the cForms plugin. I’m pretty sure that will get rid of the error (I haven’t tried it though).
January 20, 2009 at 12:00 pm #4786imported_RyanMemberI’ve sent them a message. Hopefully they’ll be able to help out.
If not, I could make a new plugin which fixes it from my end. But that would be a rather crude hack and it would break the next time you tried to upgrade the plugin.
January 20, 2009 at 12:05 pm #4787RickAMemberI posted your response on the CForms Forum at http://www.deliciousdays.com/cforms-for … 101/#p9520.
Hopefully, they will fix the problem. Thanks for your incredibly speedy response.
January 20, 2009 at 8:53 pm #4788imported_RyanMemberI received an email from them saying that they do use enqueue. I think they’re deregistering the original jQuery script and replacing it with their own which is what is causing the problem … I could be wrong though.
I’ll look into it further and see what I can find out.
January 22, 2009 at 12:34 am #4789imported_RyanMemberCross posting:
"http://www.deliciousdays.com/cforms-forum/troubleshooting/ie7-error-on-page-message-cforms-101/" wrote:I jumped the gun here a bit. What I said was geared towards the admin interface – not the ‘client’ side.This makes a lot more sense. Depending on how they’ve set this up, I may be able to work my own plugin in around this to make them both work together. I’ll have a crack and post back here once I’ve taken a closer look.
January 22, 2009 at 12:54 am #4790imported_RyanMemberI’ve downloaded and installed cForms, but I can’t trigger that bug. Do you know what setting you chose to make it fail to work with the Multi-level Navigation plugin?
January 22, 2009 at 1:34 am #4791RickAMemberWell, both plugins must be activated at the same time. I can send you my CSS but it’s nothing out of the ordinary for a pull down menu. http://ttz1.com
January 22, 2009 at 3:05 am #4792imported_RyanMemberI assume you must have changed a setting in the cForms plugin though. When I tried it myself it didn’t clash at all with the Multi-level Navigation plugin.
CSS has no bearing on this issue, it’s a scripting problem.
January 22, 2009 at 10:14 am #4793RickAMemberYes, I have two forms, the default "Contact Form" and a fairly simple registration form for fishing tournaments. I have made no changes beyond that.
How about activating a contact form to see if that causes the conflict?
January 22, 2009 at 10:33 am #4794imported_RyanMemberI activated a contact form, but the menu worked fine. I’ll check again in case I made a mistake.
January 22, 2009 at 10:41 am #4795imported_RyanMemberI assume you chose [i:1ti0va8b]Enable Javascript date picker ** Note »[/i:1ti0va8b] in http://domain.com/wp-admin/admin.php?pa … #popupdate?
That triggers jQuery to load and messes up the menu because it isn’t enqueued correctly. If you deactivate it, the menu and form should work fine. I suspect that option wasn’t working in your forms anyway since the two jQuery scripts will be messing each other up.
January 22, 2009 at 11:02 am #4796RickAMemberThat’s it!!! Problem solved! Thank you so much.
Rick
January 22, 2009 at 11:08 am #4797imported_RyanMemberFor the record … that plugin is still pretty slick! I don’t think you would find an alternative which could offer the same sort of functionality. That is one heck of a feature rich plugin they have there.
I was going to write a hack into the Multi-level Navigation plugin to correct the problem, but since it can be fixed by just deactivating the data picker I won’t bother.
-
AuthorPosts
- You must be logged in to reply to this topic.