Wordpress Themes - WP Forum at BFA
There will be no more development for Atahualpa (or any other theme), and no support. Also no new registrations. I turned off the donation system. I may turn the forum to read only if it gets abused for spam. Unfortunately I have no time for the forum or the themes. Thanks a lot to the people who helped in all these years, especially Larry and of course: Paul. Take care and stay healthy -- Flynn, Atahualpa developer, Sep 2021

Wordpress Themes - WP Forum at BFA » WordPress Themes » Atahualpa 3 Wordpress theme » Sidebars & Widgets »

[SOLVED] javascript in widget not working


  #1  
Old May 24, 2010, 08:43 AM
Emanuele
 
10 posts · Sep 2009
[SOLVED] javascript in widget not working

Hi,

Can anyone tell me why when i put this javascript code in the text of the widget sidebar area, it delete all the content of all pages and of the other sidebar. Only the header and this sidebar remains!!!
This is the code:
<Script charset ="Shift_JIS" src ="Http://chabudai.sakura.ne.jp/blogparts/honehoneclock/honehone_clock_wh.js"> </ Script>

Thanks to everybody
Emanuele

Last edited by Emanuele; May 24, 2010 at 09:02 AM.
  #2  
Old May 24, 2010, 09:12 AM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
what is happening is that as the page is being dynamically built, that code is causing an error ending the building of the page. Check your error logs on the server to see if you can find out what the error is.
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #3  
Old May 24, 2010, 09:39 AM
Emanuele
 
10 posts · Sep 2009
Thank you very much for your quick reply.
I have no idea how to check my error log!!!
any tips?
Thanks
  #4  
Old May 24, 2010, 09:43 AM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
it's something on teh server. You could try this, go to the theme editor and edit index.php and add
HTML Code:
error_reporting(E_ALL ^ E_NOTICE);
error_reporting(E_ERROR | E_WARNING | E_PARSE | E_NOTICE);
error_reporting(-1);
as the second line of index.php and see if anything shows up on the screen,
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #5  
Old May 24, 2010, 09:54 AM
Emanuele
 
10 posts · Sep 2009
Now it's quite messy!!!
www.ashtangayogaoxford.org
  #6  
Old May 24, 2010, 10:01 AM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
is the java code in?
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support

Bookmarks

Tags
javascript, widget problems

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Javascript not working in widget sidebar marj318 Sidebars & Widgets 4 Apr 30, 2010 05:59 AM
Following widget not working properly, followers working marced Sidebars & Widgets 0 Apr 4, 2010 05:01 AM
WP Menu Manager javascript not working? devarah Plugins & Atahualpa 1 Feb 7, 2010 05:37 PM
RSS Widget not working goodshoeday Sidebars & Widgets 2 Jan 21, 2010 12:47 PM
New widget areas working at all? paulae Sidebars & Widgets 3 Sep 21, 2009 03:49 PM


All times are GMT -6. The time now is 01:22 AM.


Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.