|
#1
May 12, 2010, 07:50 AM
|
|
Just migrated my blog to a new server. Everything works fine, DNS are pointing to new server.
Atahualpa works fine, except when I want to save a CSS insert. I get a 400 Bad Request when hitting save -- the address bar shows
http://www.myblog.com/wp-admin/theme...php&saved=true
This only happens when saving in "Add HTML/CSS inserts". All other ATA tabs save without problems.
Any idea what happened?
Thanks in advance.
Last edited by mptorr; May 15, 2010 at 10:31 AM.
|
#2
May 12, 2010, 08:12 AM
|
|
|
|
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
|
|
what version of Atahualpa and WP?
do you have an .htaccess file? What is in it?
what happens if you change something else on that page?
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
|
#3
May 12, 2010, 08:24 AM
|
|
Sorry juggledad, forgot to include those details --
WP 2.9.2
ATA 3.4.1
Saving in the other inserts fields also causes the error.
.htaccess contains:
rewrite engine on
directoryindex index.php
magic quotes off
automatic session start off
suhosin session off
PHP4 compatibility off
SecFilterEngine Off
SecFilterScanPOST Off
CSS-JS booster plugin instructions (several expires)
|
#4
May 12, 2010, 11:49 AM
|
|
|
|
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
|
|
Check your sites error log to see if there is more information. You are going to have to dig into this one since it is an environment (site) issue. There must be something different about this site from the other.
The save should be like all the other saves in the theme options.
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
|
#5
May 12, 2010, 01:26 PM
|
|
Thanks juggledad.
I'll check into the logs -- but would upgrading ATA be a reasonable solution to this issue?
|
#6
May 12, 2010, 04:56 PM
|
|
|
|
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
|
|
Itwouldn't hurt. For now just go to 3.4.6
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
|
#7
May 12, 2010, 06:04 PM
|
|
Upgraded to 3.4.6 but still have the error. This is very curious because it only happens with the HTML/CSS inserts tab.
Is there any specific error log file I should look into? The ones I found under root, wp-admin, wp-content do not show any recent (ie today) error messages.
|
#8
May 12, 2010, 09:18 PM
|
|
|
|
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
|
|
I'd be looking for the Apache2 error.log and access.log
other things to check, what version of PHP
how much php memory do you have
Who is the host
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
|
#9
May 12, 2010, 09:40 PM
|
|
The host is Nexcess.
Good news: I removed all code from the html/css boxes. Then I put the code back in -- and the HTML/CSS Save function worked. Go figure. So this problem is SOLVED.
Bad news: Initially I thought only the HTML/CSS tab was having problems. There is an error when saving in the "Style and Edit Center column" tab. When I click Save, I get:
501 Method Not Implemented
POST to /wp-admin/themes.php not supported
This happens on FF, Safari, Chrome.
|
#10
May 13, 2010, 05:36 AM
|
|
|
|
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
|
|
you need to talk to the host's tech support. Here is what I found on the web
Quote:
ixing 501 errors - general
This error should be very rare in any Web browser. It is more likely if the client is not a Web browser - particularly if the Web server is old. In either case if the client has specified a valid request type, then the Web server is either responding incorrectly or simply needs to be upgraded.
|
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
|
#11
May 15, 2010, 10:30 AM
|
|
juggledad, just an update on this issue --
this problem is caused by an Apache server running mod_secure which will prevent certain actions from happening for security reasons.
i wonder if this is because the Center Column tab actually edits PHP -- this error did not happen with any other tab like the ones that affect CSS etc.
the only way around this was to have my host add an exception to the action that was being hampered by mod_secure when clicking save -- typically the ID to this error/rule can be found on the apache error logs.
there's some info here
http://weblogtoolscollection.com/arc...t-implemented/
anyway, thanks for helping solve the problem. now the blog and backend are running fine.
|
|