• Rocknation

    (@rocknation)


    After upgrading to WP 4.9 Tipton, I needed to make a minor edit of the CSS on a theme page template. When I clicked on “Update File” I got these messages:

    “Something went wrong. Your change may not have been saved. Please try again. There is also a chance that you may need to manually fix and upload the file over https://FTP.”

    “Unable to communicate back with site to check for fatal errors, so the PHP change was reverted. You will need to upload your PHP file change by some other means, such as by using SFTP.”

    “MANUALLY fix and upload the file over FTP?” Doesn’t that totally DEFEAT the purpose of WordPress?

    • This topic was modified 7 years ago by Rocknation.
    • This topic was modified 7 years ago by Rocknation.
    • This topic was modified 7 years ago by Rocknation.
    • This topic was modified 7 years ago by Rocknation.
Viewing 15 replies - 1 through 15 (of 22 total)
  • anggora

    (@anggora)

    Same here!
    Unable to edit the .php files within the Editor page area. It wants me to edit the files via FTP ??

    claudesboucher

    (@claudesboucher)

    Same here ??
    This should be fixed ASAP!

    donaldhanson

    (@donaldhanson)

    Happening here too. I was able to save a few files, but at some point it stopped and started throwing the error at the bottom:

    Something went wrong. Your change may not have been saved. Please try again. There is also a chance that you may need to manually fix and upload the file over FTP.

    Please fix ASAP because sometimes FTP is not an option.

    Moderator Steven Stern (sterndata)

    (@sterndata)

    Volunteer Forum Moderator

    What is your local environment and your web server (hosting) environment?

    platinumshore

    (@platinumshore)

    same for myself too – if I login into a wordpress 4.9 Tipton site and try to edit any theme page via the old theme editor, the spinning wheel appears and after about 60 seconds get the “Something went wrong. Your change may not have been saved. Please try again. There is also a chance that you may need to manually fix and upload the file over FTP” message.

    Lucky I have root access to the server, and it seems to be (well quite sure) a heartbeat issue with admin-ajax.php as the script can be running (even post error message) 2 minutes afterwards.. lucky my server is configured to prevent runaway scripts.

    I myself am using a cloudlinux server, WHM/Cpanel v68.0.14 (latest build), default php version 5.6 (however for testing purposes could change one of the Tipton sites to use say version 7 of php and see if the problem still exists).

    Like many others I hope this gets fixed soon

    platinumshore

    (@platinumshore)

    does anyone know please if there is a quick way to backport wordpress version.. I believe on wordpress 4.9 the database is reconfigured, so might not be possible ?

    platinumshore

    (@platinumshore)

    changing a site to use PHP v 7.0 didn’t fix the problem either.. also when the “Something went wrong. Your change may not have been saved. Please try again. There is also a chance that you may need to manually fix and upload the file over https://FTP.” bug occurs, none of the dashboard pages are loadable.. only solution it to crash out of the site, and wait for the admin-ajax.php to timeout, and then log back in.. surprised not more people mentioning the problem, unless a solution has come out I am unaware of ?

    Moderator Samuel Wood (Otto)

    (@otto42)

    www.remarpro.com Admin

    Hi, the “something went wrong” message means that the ajax response from the update action didn’t make sense. Try the standard debug methods of disabling plugins and trying it again, and see if that fixes anything.

    claudesboucher

    (@claudesboucher)

    Samuel Wood (Otto) Did that and same problem

    Moderator Samuel Wood (Otto)

    (@otto42)

    www.remarpro.com Admin

    Okay, here’s another way to debug this problem:

    Capture

    Capture2

    Load up the editor and go into the Chrome Inspector tool. Go to the Network tab.

    When you click the update button and get the error message with this open, then you’ll see the call to admin-ajax.php there. You can click it to see what the server response was. Looking at that and seeing what it says can give you more information about what the specific issue here is.

    scottvavoom

    (@scottvavoom)

    I just got this error today, a site that hasn’t been edited since before the update.

    Here is what Chrome tells me.

    POST https://aphogee.com/wp-admin/admin-ajax.php 404 (Not Found)

    Moderator Steven Stern (sterndata)

    (@sterndata)

    Volunteer Forum Moderator

    @scottvavoom, if you need support then per the forum welcome please create your own new forum post. Thanks.

    scottvavoom

    (@scottvavoom)

    Nope, just adding more information to this topic. I receive this same error message even if I don’t make any changes to functions.php. When I ran the Chrome debugger, this is what is says after I press the “Save” button.

    donaldhanson

    (@donaldhanson)

    Running into this issue on two separate sites now.

    For these two cases FTP is not an option so both of the sites can’t be worked on now.

    Please, WP core developers help us. We need you.

    donaldhanson

    (@donaldhanson)

    Using the firefox network inspector I’m seeing admin-ajax.php hitting an error. Here’s the response when I press “Update File”:

    <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
    <html><head>
    <title>403 Forbidden</title>
    </head><body>
    <h1>Forbidden</h1>
    <p>You don't have permission to access /wp-admin/admin-ajax.php
    on this server.</p>
    </body></html>
Viewing 15 replies - 1 through 15 (of 22 total)
  • The topic ‘Can’t update page templates on Tipton’ is closed to new replies.