gazhayes
Forum Replies Created
-
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
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.
Forum: Plugins
In reply to: [Plugin: WordPress Mobile Pack] Permissions IssuesSame problem. Workaround find in https://mobiforge.com/forum/dotmobi/wordpress/check-writeable-dirs-install-fails-path-delimiter-needs-added
I might give that a shot when I have an hour or so free, I’ll post the results.
I’ve found *so many* pages complaining about this error, from a few versions ago all the way through to the current release.
I’m sure its a great plugin (although I haven’t got it working yet), but maybe it shouldn’t be released to the public until it works?
I think most people will just give up and use a plugin that actually works, regardless of how awsomely megacool this one is.