March 16, 200917 yr Ok i have this plugin, and it needs to write to a directory, but it keeps returning that the directory is not writeable. I had set it too 707, so i tried 777, still no luck. So on the plugins php file, i added in this <?php print(ABSPATH . get_option('upload_path')); ?> Which prints this [[Removed]] Note, i hard coded the media bit into the plugin temporarily, while fiddling with it. The directory exists. The absolute path wouldn't effect it, would it? It's on a clustered server, which hosts files on multiple servers, so when the load of one becomes too much, it automatically swaps to another (well that's the dumbed down version i've been told atleast), so i'm just wondering would [[Removed]] be variable depending upon the server? and thus effecting the plugin, or would that not matter? I'm pretty sure it wouldn't because it's more than likely wordpress is using ABSPATH hundreds of times right? and functionality seems fine. Edit: Nvm, my own stupidity, Removed host structure for security reasons.
Create an account or sign in to comment