Following the fix of WPPM, I tried install a few new plugins
- BackupRestore
- cat2email
- HTMLArea - To replace WYSIWYG Editor and compatible with Spell check
- Smart Unread Comments
- Post Levels
- Theme Switcher
- Top10
- Live Comment Preview - To see if it can replace CJD Live Preview
- WP-OnlineCounter
- Shoutbox
- Wordpress Theme Manager - Switch the design of this site.
Searching "wp-plugin-mgr.zip" leads me to josiah.ritchietribe.net/ where I found a 1.7.0b copy of WPPM.
One of the first plugin to try is Smart Unread Comments by the Inner Geek.
Not bad, wppm 1.7.0b seems to be running.
Quick diff between 1.8.0b and 1.7.0b seems like 1.8.0 uses wp method for remove directory. But what exactally is breaking the manager?
Back to 1.7.0b, it does seems to have its shares of problems too. Plugin data folders created cannot be modified by ftp access. So like the last time, strings of permissions are changed to octals.
After much trial-and-error testing (hacking 1.7.0b to give 1.7.0c) , I trace all the problems to the mkdir. A test script on mkdir shows that using mkdir makes the folder untouchable, except for renaming (at least on this host).
So I thought giving 0777 permissions should allow files to be deleted, since maybe 0755 by user "php" means no access by ftp user. mkdir("test",0777) still turns the directory 0755. Checking http://sg.php.net/mkdir says umask have to be used. so umask(0); does the job.
maybe alternative to that method would to run a process to create directory, or use ftp to create a directory.
[updated] forgot to post the link for the my fixed version. you can get it here. http://www.lab4games.net/zz85/blog/wp-content/wp-plugin-mgr1.7.0c.phps
Only problem is that if fopen url wrappers is not support, most likely the script will fail.
Recent Comments