• Hi, I am using:

    WordPress 3.5.1
    PHP 5.3.3
    APC 3.1.9
    CentOS 6.4
    Apache 2.2.15

    I see this plugin also caches wp-admin, but it is causing a lot of problems like:

    1. Activating/Deactivating plugins don’t work. After refreshing the browser, the original state just comes back.

    2. When accessing some plugin pages, it says “You don’t have enough permission to access this page”, this happens 50% of the time.

    3. AJAX features for some 3rd party plugins causes errors (saving, editing, etc.)

    Is there a way to disable this plugin for wp-admin or do you think it’s some kind of bug?

    Thank you.

    https://www.ads-software.com/extend/plugins/apc/

Viewing 8 replies - 1 through 8 (of 8 total)
  • Hello,

    I have the same problem on my own installation. I finally deactivate APC on the server because there is too much problem.

    In fact, while changing options in WP-Admin (like template, options, plugin activation/deactivation, etc…) changes are applied and then disappear !? But changes are stored into the database !

    Deactivate APC for back-end only is not an option (for me) because it seems to have the same issue (I filter directly from APC with apc.filters).

    My configuration :

    • Ubuntu : 12.04.1 LTS
    • Virtualmin 4.00 / Webmin 1.63
    • PHP : 5.3.10
    • APC : 3.1.7
    • WordPress : 3.5.1

    I can give more information if needed…

    If anyone have an idea ??

    Regards.

    Hi,

    Check this. I had the same problem and with this it’s solved for me. Mind you: I tested this not extensively, but it seems to work ok.

    Interesting2me, thanks for this solution: but maybe you or anyone else knows how to achieve same effect on nginx? ??

    Interesting2me THANK YOU!

    My WordPress Multisite admin is finally working. I was getting the same errors mentioned above by other people. Enabling/disabling plugins, themes, etc was all quirky. I also have apc.filters=”-(.*apc\.php)|(.*/wp-admin/.*\.php)” but that didn’t stop APC from caching the admin section.

    If your apache httpd.conf has

    Include conf.d/*.conf

    you can just create a new apc.conf in conf.d:

    <Directory "/path/to/wordpress/wp-admin">
     php_flag apc.cache_by_default Off
     </Directory>
    mightypixel

    (@mightypixel)

    Same problem here. I have tried every single tweak and hack mentioned here to no avail. Much sadness.

    Hello,

    Personnaly, I have deleted every object-cache.php inside the wp-content folder and everything is Ok.

    By deleting the object-cache.php file, you will not have object and data caching but you will have PHP OpCode cached (even for wp-admin/*.php scripts) and everything will work perfectly and speedier ??

    I hope this will help, Regards.

    PS : I have tried above solutions without success or without having admin optimisation !

    @te-deum, this is precisely what I had to do at the end.

    But that effectively means we are no longer using this plugin. ??

    A fix would be great, especially for high traffic websites.

    I can’t replicate this issue on my machine.

    Ubuntu : 12.04.1 LTS
    PHP : 5.5.9
    APCu : 4.0.2
    WordPress : 3.8.1
    Nginx

    Can any of you guys try with the latest WP version and APCu?
    You can install it via PECL:
    https://pecl.php.net/package/APCu

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘APC caching wp-admin problem’ is closed to new replies.