Author Topic: Javascript Void  (Read 1012 times)

0 Members and 1 Guest are viewing this topic.

Offline Cholo

  • Global Moderator
  • *
  • Posts: 1737
  • Karma: 681
  • Gender: Male
    • The Tarheel Forum
Javascript Void
« on: December 26, 2009, 03:15:25 PM »
Anyone else have this problem on FF and IE ?  I'm using 1.1.11 with Simple Portal installed (no other mods) and for some reason I can't get collapsible sections to collapse with either of these browsers.  Chrome and Safari are just fine, but I get "javascript: void" with FF and IE. 


I'm not sure if this is SP or SMF bc I think it has something to do with me not being able to display a block of code on the portal page in these browsers, but in the forum I get the same javascript error so I'm not sure who is the culprit. 


http://www.premiumsmfthemes.com/smf1.x-sp/index.php?theme=4


Any help is always appreciated. Thanks.

Offline Cholo

  • Global Moderator
  • *
  • Posts: 1737
  • Karma: 681
  • Gender: Male
    • The Tarheel Forum
Re: Javascript Void
« Reply #1 on: January 09, 2010, 01:11:18 AM »
I've had 0 responses at Simple Portal's site - if anyone can help me solve this, I'm willing to pay.  I'm sure it's just some bit of code I erased.  I'll attach necessary files if anyone's interested.  Thanks.

Offline bigguy

  • Site Owner
  • Administrator
  • *
  • Posts: 13217
  • Karma: 269
  • Gender: Male
  • Get'r Done
    • P.C. Tweakr
  • SMF Version: 2.0 Gold
Re: Javascript Void
« Reply #2 on: January 09, 2010, 02:46:03 AM »
Not sure what to say here Cholo. No errors in the logs at all. ???

Offline Cholo

  • Global Moderator
  • *
  • Posts: 1737
  • Karma: 681
  • Gender: Male
    • The Tarheel Forum
Re: Javascript Void
« Reply #3 on: January 09, 2010, 12:08:07 PM »
oh yeah, lol.  Guess I should have remembered to look at that. 

:
BoardIndex.template.php (main_above sub template - eval?)
Line: 205

PortalArticles.template.php (main_above sub template - eval?)
Line: 205

MessageIndex.template.php (main_above sub template - eval?)
Line: 205

I haven't touched the PortalArticles template.  But I guess I'll go check these files @ line 205 first lol.

Offline bigguy

  • Site Owner
  • Administrator
  • *
  • Posts: 13217
  • Karma: 269
  • Gender: Male
  • Get'r Done
    • P.C. Tweakr
  • SMF Version: 2.0 Gold
Re: Javascript Void
« Reply #4 on: January 09, 2010, 12:27:49 PM »
Those are eval errors...meaning the error is being produced in another file, not the one mentioned. There is a mod you can download to "Disable eval" That might help to narrow down where the error actually is.

Offline Cholo

  • Global Moderator
  • *
  • Posts: 1737
  • Karma: 681
  • Gender: Male
    • The Tarheel Forum
Re: Javascript Void
« Reply #5 on: January 09, 2010, 10:25:33 PM »
Hm, I'll have to take a look at that. Thanks bigguy.