WordPress Mobile Pack
Access rights problem (5 posts)

  1. hansbaer
    Posted 5 years ago #


    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.


  2. gazhayes
    Posted 5 years ago #

    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.

  3. gazhayes
    Posted 5 years ago #


    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:
    is_writable($dir = $dir = dirname(__FILE__) . DIRECTORY_SEPARATOR . 'c' . DIRECTORY_SEPARATOR)

    The same in this file:
    function wordpress_mobile_pack_readiness_audit(), for $cache_dir and $theme_dir
    and in function

    After the fixes I was able to install the mobile pack.

    Please include this for your next release


    Karsten Meier

  4. siva kumar
    Posted 5 years ago #

    Great.....It's working..............
    Thank you very much Karsten Meier.


  5. designRO
    Posted 5 years ago #

    I don`t understand where should I put DIRECTORY_SEPARATOR.

    Could you please paste here the php codes?

    Thank you very much!

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WordPress Mobile Pack
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic