MyBB Community Forums

Full Version: Error Loading
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I don't know if this is causing any problems but I get an error when I load on of my forums. I don't see the error on the index.php page, only when I go into on of the forums. Here's the error.

Webpage error details

User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1) ; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.04506.648; .NET CLR 3.5.21022; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729)
Timestamp: Mon, 22 Mar 2010 10:20:08 UTC


Message: 'use_xmlhttprequest' is undefined
Line: 133
Char: 1
Code: 0
URI: http://www.greatdebateusa.com/forum/jscr...s?ver=1400


Message: 'use_xmlhttprequest' is undefined
Line: 861
Char: 2
Code: 0
URI: http://www.greatdebateusa.com/forum/foru...php?fid=11

I'm using the latest version, 1.4.11 and the latest version of php is on the server. The only plugins I'm using are the Registration Checkbox plugin 1.0, birthday mailer 2.0.1, Email About New Member 2.0.0, and Miss You email. I already tried to set my Forum Bit Templates and Forum Display Templates back to default but that didn't seem to help. Any ideas would be greatly appreciated. Thanks.

Jeff
I visited a number of forums and threads both but could not reproduce this error.
Have you recently upgraded from 1.2?? You've still got 1.2 templates. Revert all your templates to default, particularly the headerinclude.
Thanks for the reply. I upgraded about 6 weeks ago. I didn't know I still had 1.2 templates, not sure how that happened. I thought I set everything back to default (for a test) and the problem still existed but I missed the headerinclude you suggested. So I reverted (sounds dirty) it back to the original and then came back and put back the link to my css and presto it's fixed. Thank you all very much. I looked at a lot of forums before I chose MyBB and I'm really glad I did. Thanks again.
(2010-03-22, 03:00 PM)GreatDebateUSA Wrote: [ -> ]So I reverted (sounds dirty) it back to the original

Basically, there's a master version of all the templates which is what the default templates use when you first begin. When you edit a template it stores another copy of it, so there's the unedited master copy and your edited copy both stored in the database, reverting it to default/original basically deletes the edited copy, and uses the master again.

What had happened here is you'd upgraded, so the master had been updated to the 1.4 version of the template, but the upgrade script didn't automatically revert your headerinclude template. This is by design, the upgrade script won't automatically revert templates you've edited so you don't lose all your changes. So, reverting it back now just set it back to the 1.4 version.

Hope that explains it.