• 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/

Viewing 4 replies - 1 through 4 (of 4 total)
  • 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.

    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

    Great…..It’s working…………..
    Thank you very much Karsten Meier.

    Regards,
    SivaKumar

    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.