2009-10-25, 03:46 PM
I'm having trouble getting javascript to work on my site. When I first installed it, javascript didn't work. I then installed some plugins and changed a few things and suddenly it worked. Then one day I went to edit my template in the admin cp and the javascript buttons didn't work. I had one of my members tell my the edit button did not work so I investigated and using firebug I got these errors:
The errors I am getting in admin cp are:
I am using firefox 3.5 and have not tried it on any other browsers since this newest problem.
Here is my website: http://strobistforum.com/
Quote:MyBB is not defined
<script type="text/javascript">if(MyBB) { Event.observe(window, 'load', function() { MyBB.detectDSTChange('-4'); }); }</script>
lang is not defined
lang.no_new_posts = "Forum Contains No New Posts";
unterminated string literal
text = text.replace(/"/g, """);
The errors I am getting in admin cp are:
Quote:MyBB is not defined
if(MyBB.browser == "opera" || MyBB.browser == "safari")
unterminated string literal
text = text.replace(/"/g, """);
I am using firefox 3.5 and have not tried it on any other browsers since this newest problem.
Here is my website: http://strobistforum.com/