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 »

[SOLVED] HELP!!! Cannot Save Changes on Edit Post/Page PHP - WHAT TO TELL HOST TO FIX


  #1  
Old Dec 12, 2013, 02:30 AM
genuwine4532
 
37 posts · Sep 2010
I am having this issue again though last time my host solved it, but this host cannot figure it out,

When I go to save changes in Edit Post/Pages area and I do have php code in some of the fields, i get 404 page and no changes will update on the theme.

This is happening on ALL sites on this host, 6 of them, so I know it's PHP issue.

ATA 3.7.3
PHP VERS ON CPANEL 5.3.22

What do I need to tell my host to fix, they are clueless???
  #2  
Old Dec 12, 2013, 03:57 AM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
What changed on the host?
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #3  
Old Dec 12, 2013, 11:12 AM
genuwine4532
 
37 posts · Sep 2010
Quote:
Originally Posted by juggledad
What changed on the host?
Nothing changed on the host, I moved these sites from another host and now I am getting this error. They have been working all night and cannot fix it.

The other time it happened that host was able to figure it out quickly and it had to do with PHP permissions of some sort, but I don't know what exactly, and I told this host to check permissions, but they say that my permissions are fine.

I even tried to look at the Error Logs at cpanel, but they show nothing, not sure if this type of error would show.
  #4  
Old Dec 12, 2013, 11:24 AM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
what happens if you swap to twenty-twelve? can you edit things then?
If not, then this issue is not related to the theme at all.

so the last time this happened it was on another host? don't you think that peice of information would have been usefull to mention in your first post?
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support

Last edited by juggledad; Dec 12, 2013 at 11:26 AM.
  #5  
Old Dec 12, 2013, 11:34 AM
genuwine4532
 
37 posts · Sep 2010
Sorry, I figured that mentioning it was a hosting issue was enough.

As I said this happened before and so I thought the host would fix it again.

Switching to Twenty Twelve won't be a good test because PHP is the issue, where there is PHP code on the Ata Edit Post/Pages interface, and Twenty Twelve doesn't have that do they?

This has to do with making changes in PHP areas of ATA only, because I can edit and save changes in other parts of ATA, like Body, Text & Links for example, that one updates fine because there is no PHP in that area.

I don't think this is because of ATA, I think it's a PHP server setting of some sort but I just don't know what to tell the host to check or fix, and because it's happening on ALL ATA sites on that host only, it must be a PHP server issue.
  #6  
Old Dec 12, 2013, 11:48 AM
genuwine4532
 
37 posts · Sep 2010
I just tried another site on the host and this does show the following error after trying to save changes in Edit Post/Pages

403 Permission Denied
You do not have permission for this request /wp-admin/themes.php?page=functions.php

I think the other sites go to 404 instead of showing this error, but I think that's the error all around
  #7  
Old Dec 12, 2013, 11:49 AM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
are you talking about the theme options or editing a post or a page? your question is unclear.

If it is the theme options, you can no longer add PHP to the theme options due to a Wordpress theme restriction that went into effect about 12 theme release ago.

what versions of WP and Atahualpa were you using?
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #8  
Old Dec 12, 2013, 12:05 PM
genuwine4532
 
37 posts · Sep 2010
WP

Ata - 3.7.3

I am talking about Theme Options the Edit Post/Page Info Items Area, where you can add Home Kicker, Single Post Kicker etc..

I am not adding PHP to that area, I am just trying to delete some text from Kicker Home Page, but there is some php code in that area from before, but all my other 66 sites save changes fine on other hosts even when I have some php allready in there, this is a specific issue with this server.
  #9  
Old Dec 12, 2013, 12:30 PM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
Atahualpa 3.7.3 is two years old! the current version is 3.7.13 - are you on a two year old version of WP also?

I would try updating to 3.7.13 on your test site (You do have a test site you can play with…right??) and see if things work on it.
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #10  
Old Dec 12, 2013, 12:37 PM
genuwine4532
 
37 posts · Sep 2010
The WP version is current, I just tried updating ATA to current theme 3.7.13, that still comes back with 403 permissions errors.
  #11  
Old Dec 12, 2013, 02:52 PM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
If you are getting a 403, then you need to talk to your host's support once again. Nothing we can do, it seems to be a server issue.

(Maybe you shouldn't have moved hosts - who is the new host?)
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #12  
Old Dec 12, 2013, 04:04 PM
genuwine4532
 
37 posts · Sep 2010
SOLVED - SOLUTION FOR OTHERS

Finally found the solution online and knew what to tell my host.

Contact your host (some hosts would know this right away, mine didn't) so once I told them what to do it was fixed immediately.

THE FIX

Tell them to check your mod_sec settings and make sure that all your domains are whitelisted.

Specifically they need to whitelist rule 340163 for EACH DOMAIN ON CPANEL because its hitting a mod_sec rule.

Bookmarks



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Not possible to save changes to STYLE AND EDIT CENTER COLUMN peking Center area post/pages 1 Nov 28, 2010 05:10 AM
[SOLVED] Edit Wordpress Category Page to just display Post titles??? dennis wilson Excerpts, Read more, Pagination 8 Mar 3, 2010 04:52 PM
Page Post/Edit Hangs Infinite, Help! Craig Mattice Atahualpa 3 Wordpress theme 1 Oct 19, 2009 03:39 PM
How do I show | Category: Introduction | Leave a comment | Edit this post on a Page? PerryM Post-Kicker, -Byline & -Footer 2 Apr 17, 2009 09:03 PM


All times are GMT -6. The time now is 09:06 PM.


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