Discover Centmin Mod today
Register Now

Wordpress Wordpress Admin-ajax issues (probably).

Discussion in 'Blogs & CMS usage' started by harryneopotter, Apr 13, 2016.

  1. harryneopotter

    harryneopotter Member

    70
    3
    8
    Aug 16, 2015
    Ratings:
    +8
    Local Time:
    11:09 AM
    Nginx 1.9.3
    MariaDB 10.0
    Hi,

    I am testing a site for a client on a dedicated server with 16 Threads and 24 GB Memory. What should be the ideal nginx/phpfpm config ? Any ideas ?


    Also, wordpress+redis+memcached or any other setup ?

    Thanks a lot
     
  2. harryneopotter

    harryneopotter Member

    70
    3
    8
    Aug 16, 2015
    Ratings:
    +8
    Local Time:
    11:09 AM
    Nginx 1.9.3
    MariaDB 10.0
    Well, by trial and error, managed to find a decent enough config.

    Now there are two issues :

    1. Can't update any plugins (the red arrow circles keeps rotating, nothing happens). Installing plugin via repo is working fine.
    2. Media files wont show, the circle keep on rotating but nothing happens.

    Admin-ajax issue ? How to fix it ?
     
  3. eva2000

    eva2000 Administrator Staff Member

    55,163
    12,249
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,825
    Local Time:
    3:39 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
  4. harryneopotter

    harryneopotter Member

    70
    3
    8
    Aug 16, 2015
    Ratings:
    +8
    Local Time:
    11:09 AM
    Nginx 1.9.3
    MariaDB 10.0
    Stable.
    Used auto installer, then replaced the files and the database from a backup.
     
  5. eva2000

    eva2000 Administrator Staff Member

    55,163
    12,249
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,825
    Local Time:
    3:39 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    Check if any of wpsecure.conf location deny are incorrectly catching wordpress requests especially from wp-content/*

    123.09beta01 centmin.sh menu option 22 install as a more extensive white list of common wordpress plugins than 123.08stable though

    The default wpsecure conf file at /usr/local/nginx/conf/wpsecure_${vhostname}.conf where vhostname is your domain name, blocks php scripts from executing in wp-content for security

    Below links you can see examples of setting up specific wordpress location matches to punch a hole in the wpsecure blocking to whitelist specific php files that need to be able to run.
     
  6. harryneopotter

    harryneopotter Member

    70
    3
    8
    Aug 16, 2015
    Ratings:
    +8
    Local Time:
    11:09 AM
    Nginx 1.9.3
    MariaDB 10.0
    Ok, great. Will check once I am back at the pc and report back here.

    Thanks ☺