Okay
  Public Ticket #2498629
Update button failing
Closed

Comments

  •  1
    PawelPiwowar started the conversation

    Hello! 

    I cannot update my website. I want to change the layout with the frontend editor, but the Update button doesn't work. I see "Failed to load resource: the server responded with a status of 400 (Bad Request)" in the console and in the network tab, I see that admin-ajax.php is returning 0. 

    I use Wordpress multisite and I recently migrated my website from localhost to a live server. The website is working okay in general, I just can't update anything in the frontend. 

    On localhost, the Update button works okay - the problem only occurs on a live server. 


    i will be very grateful for your help. 

    All the best, 

    Paweł Piwowar

  •  2,965
    Andrew replied

    Hi there,

    Did you check the PHP settings ?. 

    Recommended PHP configuration limits are as follows:

    • max_execution_time 60
    • memory_limit 256M
    • post_max_size 48M
    • upload_max_filesize 48M

    Please check this and try again.

    Thanks.

  •  1
    PawelPiwowar replied

    Hello! Thanks for the reply. Where can I change these settings? So far, I have added the following lines to the .htaccess file, but it did not work. 

    php_value max_execution_time 60
    php_value memory_limit 256M
    php_value post_max_size 48M
    php_value upload_max_filesize 48M
    Thank you in advance for any advice. 
    All the best!

  •  2,965
    Andrew replied

    Hi Paweł,

    Are you getting any errors in the Error Logs?.  

    Please check for server php errors using this guide: http://premium.wpmudev.org/blog/your-complete-guide-to-troubleshooting-wordpress/ . 

    You can ask your host to help if you have trouble locating the error log.

    Thanks.