Learn about Centmin Mod LEMP Stack today
Become a Member

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:
    2:46 PM
    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:
    2:46 PM
    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

    29,033
    6,589
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +9,782
    Local Time:
    7:16 PM
    Nginx 1.13.x
    MariaDB 5.5
  4. harryneopotter

    harryneopotter Member

    70
    3
    8
    Aug 16, 2015
    Ratings:
    +8
    Local Time:
    2:46 PM
    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

    29,033
    6,589
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +9,782
    Local Time:
    7:16 PM
    Nginx 1.13.x
    MariaDB 5.5
    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:
    2:46 PM
    Nginx 1.9.3
    MariaDB 10.0
    Ok, great. Will check once I am back at the pc and report back here.

    Thanks ☺