WordPress.org

Support

Support » Plugins and Hacks » DB Cache Reloaded Fix » Problem with chmod, cache dir issue.

Problem with chmod, cache dir issue.

  • szaqal21

    @szaqal21

    After trying to activate the plugin I got chmod 755 warn the path in warn was “plugins/db-cache-reloaded-fix/cache”. I was able to activate the plugin after setting wp-content chmod to 777 but after activating the plugin i saw that cache dir was created in wp-content. There must be something wrong with the cache dir path.

Viewing 1 replies (of 1 total)
  • szaqal21

    @szaqal21

    I’ve solved my problem. It was caused by owner of the wp-content (chmod 755) dir and plugins dir. DBCR couldn’t create cache dir in plugin dir (chmod 755) and couldn’t copy files to the wp-content dir because on my web server PHP is running as “www-data” so there was dir owner mismath.

    To solve this problem I’ve set temporarily chmod to wp-content to 777 and set chmod 777 plugins/db-cache-reloaded-fix next activated plugin and set back chmod 755 to wp-content and plugin dir and asked my admin to set the owner of the cache dir to “www-data” (the one which PHP runs as).

    I think that taking ownership of wp-content dir by “www-data” user (for apache) would also do the trick but I’ve not tested it.

    It workd for me. Hope it helps someone else.

Viewing 1 replies (of 1 total)
  • The topic ‘Problem with chmod, cache dir issue.’ is closed to new replies.
Skip to toolbar