Support Forum

Please note that this forum is only available to you in read only mode. In order to contribute to this conversation you will need to renew your subscription.

IE8 and accordion.js

zentoolsIf you use Zentools please post a review at the Joomla! Extensions Directory.

Here I go:

Elevate in firefox = fine
Elevate in IE8 = javascript error.

Webpage error details

User Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; Trident/4.0; .NET CLR 1.0.3705; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729)
Timestamp: Tue, 7 Jul 2009 18:40:01 UTC


Message: Object doesn't support this property or method
Line: 4
Char: 3
Code: 0
URI: www.elkrab.net/templates/jbelevation/js/accordionMenu.js

Can anyone offer a suggestion, short of not using IE?
  • Raymond R. Humphrys's Avatar
  • Raymond R. Humphrys
  • 3 Month Basic
  • 171 posts
  • Karma: 0
The administrator has disabled public write access.
I watched the debugger in ie8 and this is the offending line:

var cookieValue = jQuery.cookie('menuCookie') || '';
  • Raymond R. Humphrys's Avatar
  • Raymond R. Humphrys
  • 3 Month Basic
  • 171 posts
  • Karma: 0
The administrator has disabled public write access.
Hi Ray,

Can you check the permissions on that file and try to view it directly? I think ti might show as an error which is generally a server issue.

Thanks Anthony
  • Anthony Olsen's Avatar
  • Anthony Olsen
  • LIfetime Developer - Big Bamboo
  • 23925 posts
  • 788 Thanks
  • Karma: 433
The administrator has disabled public write access.
Hi Ray,

When I try to view the file it says that its misisng:

js/jquery.cookie.js

Can you check that its there and that the persmisisons are 644.

Thanks Anthony
  • Anthony Olsen's Avatar
  • Anthony Olsen
  • LIfetime Developer - Big Bamboo
  • 23925 posts
  • 788 Thanks
  • Karma: 433
The administrator has disabled public write access.
Seems as though IE8 has issues with javascript. I found this related to drupal but relevant to putting ie8 into ie7 compatibility mode:


"This blog/site runs on Drupal and I use modules to handle my Shadowbox and BeautyTips needs, however these haven't been updated to the latest and greatest versions of their stand alone counterparts so they don't yet work in IE8.

THE FIX
Stick the following code segment in your HTML file, or in the case of Drupal in your theme's page.tpl.php, in the <head> tags before any calls to Javascript files.

<meta http-equiv="X-UA-Compatible" content="IE=7" />"
  • Raymond R. Humphrys's Avatar
  • Raymond R. Humphrys
  • 3 Month Basic
  • 171 posts
  • Karma: 0
The administrator has disabled public write access.
Cool thanks Ray - handy to know.
  • Anthony Olsen's Avatar
  • Anthony Olsen
  • LIfetime Developer - Big Bamboo
  • 23925 posts
  • 788 Thanks
  • Karma: 433
The administrator has disabled public write access.
An update:

I fixed my problem, but the site with ELEVATE still, when it is rendered) displays a js error. That error if you bring up the javascript debugger that comes with IE8 produces the error I sent earlier.

Seems as though M$ and IE8 have problems with javascript, while every other browser I have tried does not.

Go to www.elkrab.net and watch if you want to see it ....

ray
  • Raymond R. Humphrys's Avatar
  • Raymond R. Humphrys
  • 3 Month Basic
  • 171 posts
  • Karma: 0
The administrator has disabled public write access.
Hi Ray,

Thats because of some security settings on your server. If you view this file it will show you a 406 error:
www.elkrab.net/templates/jbelevation/js/jquery.cookie.js

It looks to the server that the file is trying to change settings on the server (and it is by creating a cookie) and the server doesnt allow that. you'll need to talk to the host to sort that one out Im afraid.

Cheers Anthony
  • Anthony Olsen's Avatar
  • Anthony Olsen
  • LIfetime Developer - Big Bamboo
  • 23925 posts
  • 788 Thanks
  • Karma: 433
The administrator has disabled public write access.
Thanks. Lets see if I can translate this into something I can understand.
  • Raymond R. Humphrys's Avatar
  • Raymond R. Humphrys
  • 3 Month Basic
  • 171 posts
  • Karma: 0
The administrator has disabled public write access.
Sorry I should have posted this link:
urbangiraffe.com/2005/08/20/mysterious-406-error/

Might make more sense.
  • Anthony Olsen's Avatar
  • Anthony Olsen
  • LIfetime Developer - Big Bamboo
  • 23925 posts
  • 788 Thanks
  • Karma: 433
The administrator has disabled public write access.
Anthony,

These guys at JustHost are fast. Thanks for your help. Here is their response:

"Raymond,

The problem with error 406 has been resolved.
Please check and let me know if you need more assistance.
Waiting for your reply.
Thank you.
Kind regards,
Yuri Peters
Just Host"
  • Raymond R. Humphrys's Avatar
  • Raymond R. Humphrys
  • 3 Month Basic
  • 171 posts
  • Karma: 0
The administrator has disabled public write access.
p.s.

I have noticed that all Joomla Template companies are not equal. I was looking around at another's company's forum and it was like a nightmare. The guys that work at that shop, are mean, rude, and from what I could surmise non-responsive.

When does my membership expire? - I need to renew fast! :)

ray
  • Raymond R. Humphrys's Avatar
  • Raymond R. Humphrys
  • 3 Month Basic
  • 171 posts
  • Karma: 0
The administrator has disabled public write access.
Thanks again Ray!

Best not to name names though ...

Anthony
  • Anthony Olsen's Avatar
  • Anthony Olsen
  • LIfetime Developer - Big Bamboo
  • 23925 posts
  • 788 Thanks
  • Karma: 433
The administrator has disabled public write access.

zentoolsIf you use Zentools please post a review at the Joomla! Extensions Directory.

Happy Campers