Title: [Plugin: WordPress Mobile Pack] Access rights problem
Last modified: August 19, 2016

---

# [Plugin: WordPress Mobile Pack] Access rights problem

 *  [hansbaer](https://wordpress.org/support/users/hansbaer/)
 * (@hansbaer)
 * [15 years, 7 months ago](https://wordpress.org/support/topic/plugin-wordpress-mobile-pack-access-rights-problem/)
 * Hello,
 * I have recently deactivated the Mobile Pack and moved to a new server. Everything
   works fine except when I active the Mobile Pack again.
 * I get this message:
 * >  Critical WordPress Mobile Pack Issue
   > Not able to cache images to /var/www/htdocs/blog/wp-content/plugins/wordpress-
   > mobile-pack/plugins/wpmp_transcoder/c. That directory is not executable. Please
   > ensure that the web server has write- and execute-access to it.
   > Not able to install theme files to /var/www/htdocs/blog/wp-content/themes. 
   > That directory is not executable. Please ensure that the web server has write-
   > and execute-access to it.
 * I have tried everything to solve it. I have given 777 permissions on these directories,
   deleted and reinstalled the plugin. Nothing worked. This error message does not
   seem to have anything to do with the actual permissions on the directories.
 * [http://wordpress.org/extend/plugins/wordpress-mobile-pack/](http://wordpress.org/extend/plugins/wordpress-mobile-pack/)

Viewing 4 replies - 1 through 4 (of 4 total)

 *  [gazhayes](https://wordpress.org/support/users/gazhayes/)
 * (@gazhayes)
 * [15 years, 7 months ago](https://wordpress.org/support/topic/plugin-wordpress-mobile-pack-access-rights-problem/#post-1696989)
 * This is a known problem, there are workarounds, but basically forget about it
   for now unless you are good with PHP. They *might* fix it in the next release.
 *  [gazhayes](https://wordpress.org/support/users/gazhayes/)
 * (@gazhayes)
 * [15 years, 7 months ago](https://wordpress.org/support/topic/plugin-wordpress-mobile-pack-access-rights-problem/#post-1696991)
 * [http://mobiforge.com/forum/dotmobi/wordpress/check-writeable-dirs-install-fails-path-delimiter-needs-added](http://mobiforge.com/forum/dotmobi/wordpress/check-writeable-dirs-install-fails-path-delimiter-needs-added)
 * Hello Mobile Pack Developers,
 * when I installed the mobile pack 1.1.3 (on WP 2.8.5), it complains about not 
   writable directories even when they had rights of 777.
    I was able to fix it 
   in the following way: The documentation of the php function is_writable mention
   in the comments that this function should get the name with a trailing slash 
   when it is a directory. It is important when there is safe_mode restriction in
   effect.
 * So I added a DIRECTORY_SEPARATOR at the end of the path construction on several
   occurences like this:
    wpmp_transcoder.php: is_writable($dir = $dir = dirname(
   __FILE__) . DIRECTORY_SEPARATOR . ‘c’ . DIRECTORY_SEPARATOR)
 * The same in this file:
    wordpress-mobile-pack.php function wordpress_mobile_pack_readiness_audit(),
   for $cache_dir and $theme_dir and in function wordpress_mobile_pack_directory_copy_themes()
 * After the fixes I was able to install the mobile pack.
 * Please include this for your next release
 * Regards
 * Karsten Meier
 *  [siva kumar](https://wordpress.org/support/users/siva-kumar/)
 * (@siva-kumar)
 * [15 years, 3 months ago](https://wordpress.org/support/topic/plugin-wordpress-mobile-pack-access-rights-problem/#post-1697102)
 * Great…..It’s working…………..
    Thank you very much Karsten Meier.
 * Regards,
    SivaKumar
 *  [designRO](https://wordpress.org/support/users/designro/)
 * (@designro)
 * [14 years, 9 months ago](https://wordpress.org/support/topic/plugin-wordpress-mobile-pack-access-rights-problem/#post-1697136)
 * I don`t understand where should I put DIRECTORY_SEPARATOR.
 * Could you please paste here the php codes?
 * Thank you very much!

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘[Plugin: WordPress Mobile Pack] Access rights problem’ is closed to new
replies.

 * ![](https://s.w.org/plugins/geopattern-icon/wordpress-mobile-pack_7b7875.svg)
 * [WordPress Mobile Pack - Mobile Plugin for Progressive Web Apps & Hybrid Mobile Apps](https://wordpress.org/plugins/wordpress-mobile-pack/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wordpress-mobile-pack/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wordpress-mobile-pack/)
 * [Active Topics](https://wordpress.org/support/plugin/wordpress-mobile-pack/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wordpress-mobile-pack/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wordpress-mobile-pack/reviews/)

 * 4 replies
 * 4 participants
 * Last reply from: [designRO](https://wordpress.org/support/users/designro/)
 * Last activity: [14 years, 9 months ago](https://wordpress.org/support/topic/plugin-wordpress-mobile-pack-access-rights-problem/#post-1697136)
 * Status: not resolved