Go Back   Pligg CMS Forum > Pligg Help > General Help

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 03-06-2006, 09:50 AM
Casual Pligger
 
Join Date: Feb 2006
Posts: 50
Thanks: 0
Thanked 0 Times in 0 Posts
Tricky Javascript Error

Hello all,
So I've made some template changes to my site, but it seems to have broken the javascript for voting. I've been trying many different things, but can't seem to figure out why it isn't working. This only appears on IE (Safari and Firefox on the Mac seem to work)

http://www.prube.com

Click on the plus sign (anonymous voting alowed)

I get this error in IE:

Line: 63
Char: 3
Error: Object doesn't support this property or method
Code: 0
URL: http://www.prube.com

I haven't modified the JS file, and only changed the divs and spans for the template. Just as a test, I replaced my modified link_summary.tpl file with the default... same error still.

I'm hoping someone with another perspective can see why my Pligg site isn't working while others are.

Thanks!
Reply With Quote
  #2 (permalink)  
Old 03-06-2006, 11:43 PM
Casual Pligger
 
Join Date: Feb 2006
Posts: 50
Thanks: 0
Thanked 0 Times in 0 Posts
Hey all,
my FTP server is down, so I am unable to test this right now :(. I did discover that I changed the doctype to strict instead of transitional. Would this cause problems due to where pligg has the javascripts placed?

Like I say, I'm currently unable to test this, but thought I'd see what everyone thought.
Reply With Quote
  #3 (permalink)  
Old 03-07-2006, 08:32 AM
Casual Pligger
 
Join Date: Feb 2006
Posts: 50
Thanks: 0
Thanked 0 Times in 0 Posts
Got it...
Apparently, the voting script is dependent on the <div = "contents"> tag being untouched. I had changed that to "content" due to a desire to use pre-existing CSS. Interesting.
Reply With Quote
  #4 (permalink)  
Old 03-07-2006, 07:04 PM
New Pligger
 
Join Date: Feb 2006
Posts: 15
Thanks: 0
Thanked 1 Time in 1 Post
Nice template
Reply With Quote
  #5 (permalink)  
Old 03-18-2006, 03:30 AM
New Pligger
 
Join Date: Mar 2006
Posts: 16
Thanks: 0
Thanked 0 Times in 0 Posts
Thanks thefirelane!

That fixed my problem with the javascript. It still reports an error but now at least it updates.
Reply With Quote
Reply

Thread Tools
Display Modes
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Similar Threads
Thread Thread Starter Forum Replies Last Post
Pligg 9.5 Beta: 500 Internal Server Error!!!! Genghis Bug Report 0 05-02-2007 03:10 AM
Got This Parse Error on c_ file on line 141 endph General Help 0 02-14-2007 06:44 PM
Javascript error : nothing working daniel62 General Help 2 01-10-2007 03:32 PM


Search Engine Friendly URLs by vBSEO 3.2.0