Wordpress Themes - WP Forum at BFA
Click Here To DONATE! Support the theme development, get more attention and additional benefits based on your donation level. Your forum name will be highlighted.

Wordpress Themes - WP Forum at BFA » Running WordPress » Installing & running WordPress »

[SOLVED] Can't save code that includes javascript?


Build custom WP THEMES, without
coding.
Click here for THEMEFRAME

From the author of Atahualpa, the #1 most
downloaded (700,000+) theme @ wordpress.org
  #1  
Old Feb 18, 2010, 02:27 PM
horsemansarts
 
122 posts · Jul 2009
I guess this is a totally generic WP problem--or maybe host related?? Just looking for ideas to pursue here.

The problem comes up when I go to paste code into a text widget and then save. It won't save. Just sits there twirling around. Now it isn't just any code. If it try to save just plain text or html all is well. The problem has come up twice. The only thing I can see that the two scenarios have in common is they both include javascript in the code. One is Adsense code and the other is MailChimp sign up box.

In one of the cases I tried instead of putting the code into a sidebar widget to put the code on a page. Just to see what would happen. As soon as I went to publish the page I got a php error and everything was hung till I deleted the offending code and threw it all away.

I've tried this on a fresh install of WP with no plugins and only the default theme with the same results.

The other weird thing is that I HAD used the adsense code a few months ago with any problem. I had removed it for non-technical reasons and just recently decided to put it back. NOW there is a problem?

ANY ideas what could be up here?

Thanks in advance!
Sharon
  #2  
Old Feb 18, 2010, 02:42 PM
Mark_
 
29 posts · Feb 2010
Is a subtle way of telling you "No Ads"

Seriously I can't help you, but I couldn't resist
  #3  
Old Feb 18, 2010, 03:34 PM
horsemansarts
 
122 posts · Jul 2009
Well, in case anyone is wondering I talked to my web host and that is where the problem lay. It would appear that in an effort to address some security concerns certain settings had been changed. So, they gave me some commands to add to .htaccess to tell the server to allow the javascript to run. Now it is fine!

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Create new category bar with custom includes backstpub Page & Category Menu Bars 0 Aug 25, 2009 05:32 PM
Issue with Javascript and Lightbox brigade Atahualpa 3 Wordpress theme 1 Feb 23, 2009 04:11 PM
Help with javascript dock menu Ace Header configuration & styling 2 Feb 20, 2009 03:50 PM
Can't save changes reus Atahualpa 3 Wordpress theme 3 Dec 19, 2008 12:16 AM


All times are GMT -6. The time now is 12:59 AM.


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