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 » Running WordPress » Installing & running WordPress »

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


  #1  
Old Feb 18, 2010, 01: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, 01: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, 02: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 04:32 PM
Issue with Javascript and Lightbox brigade Atahualpa 3 Wordpress theme 1 Feb 23, 2009 03:11 PM
Help with javascript dock menu Ace Header configuration & styling 2 Feb 20, 2009 02:50 PM
Can't save changes reus Atahualpa 3 Wordpress theme 3 Dec 18, 2008 11:16 PM


All times are GMT -6. The time now is 03:52 AM.


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