one more thing, i cannot get it working… No plugins are downloaded and installed, not even one. I tried with my profile of 20+ plugins, also tried with only 1 plugin.
Just error appears that plugin cannot be found (Couldn’t find PLUGINNAME), picture here http://i48.tinypic.com/2zssmm8.png
Plugins: Akismet (yes, only one plugin, nothing more)
SimpleXML – yes
ZipArchive – i think yes (other plugins install without problems, also i see apache module zip.so on server)
Any clues? What more info do you need?
Sorry to see you’re having trouble. It looks like you have all of the necessary libraries and you entered the correct slug for All in One SEO Pack.
I’m not sure what the issue could be, but I’m looking into it. What’s your hosting environment like? Are you on shared hosting? It sounds like it could be a file permission issue, but I’m not sure.
One more thing to check – is cURL enabled on your server? The “Couldn’t find X” error is triggered when the cURL call to the Plugin Directory fails, so that could be the problem as well. I can help you figure out if it’s enabled if you aren’t sure.
On a side note, the next version of WP Install Profiles will use the WordPress API for making external URL calls, so it will attempt a few other methods if cURL isn’t available.
Nothing to be sorry about, everything is fine 🙂
I have VPS and full access to server, so i can make any modifications/changes and extract any information you will need without problems. Just say.
Reg. cURL – yes i have it.
cURL support enabled
cURL Information 7.21.0
Man, I thought we had found it! Let me see if I can find anything else that might be causing the problem.
Jon, are there any news why this could happen? As i told i can give you any info you need, just ask.
Hey PoMa, I’m wondering if this (http://forums.devshed.com/php-development-5/file-put-contents-not-working-755197.html) has something to do with it. Looks like we might be back to a file permissions issue.
It seems like all of the other libraries are working the way they should, so the only other thing that could trigger the “Couldn’t find…” error would be a failure to move the download file to the correct folder (either a plugin or the profile files). I’d be curious to see if changing the entire
wp-content/pluginsfolder to 777 would make a difference. I’m not sure if that’s a long-term solution, though. I’ll keeping looking into it!
wp-content/ 777 wp-content/plugins/ 777 wp-content/plugins/install-profiles/ 777 wp-content/plugins/install-profiles/profiles 777
And no luck, same “couldn’t find” error :/
Maybe there is kind of temporary folder, where plugin stores files, or does it directly unpacks files to wp-content/plugins? (maybe good idea would be to set temp folder permissions to 777 if there is such)
Quite strange that wordpress plugin install and updates from Dashboard works normally, and your plugin does not. Maybe good idea would be to use same method of downloading/installing plugins as WordPress uses by default?
P.S. http://www.youtube.com/watch?v=bCCORMEYM9o in index.php file does not work: This video contains content from MC for Warner Bros., who has blocked it on copyright grounds.
Haha–that’s too bad about the Bugs Bunny cartoon. I guess I’ll need to find a new one!
I had a similar thought about using the WordPress core method to download plugins. It was a little beyond the scope when I originally wrote the Install Profiles plugin a year ago, but I’ve been diving into it a little more deeply over the last couple days. The WPIP update I uploaded yesterday uses a WP function to call files from the Plugin Directory, but I’m not sure if it will make a difference for your installation.
Either way, I’ll keep working on it!
I tried to test WPIP on another server (shared hosting, default settings): downloaded profile from *factory (but somewhy it was empty, and it is 0Kb on server). So i just added list of plugins by hand and WPIP downloaded them properly. So let’s say everything is fine there.
And after update on my problem server nothing changed – i am able to download profiles, but unable to download plugins. I will try to compare php config on servers, maybe i miss smth…
Another idea – maybe there is kind of way to log what plugin is doing and where it fails?
Jon, maybe this says smth? I enabled debug mode for WP and this poped up:
Warning: file_put_contents(headspace2.zip): failed to open stream: Permission denied in /var/www/user/data/www/websitename.com/wp-content/plugins/install-profiles/includes/process-profiles.php on line 323 Couldn't find 'headspace2' Warning: file_put_contents(contact-form-126.96.36.199.zip): failed to open stream: Permission denied in /var/www/user/data/www/websitename.com/wp-content/plugins/install-profiles/includes/process-profiles.php on line 323 Couldn't find 'contact form 7'
That’s definitely a help. Are you on a Linux server?
Was the ‘*factory’ profile created in the plugin on your site or through the online service? I’m wondering if the asterisk created an issue, either through the API or as a filename.
Good call on DEBUG mode. I think we’re getting closer!
Maybe lets split to a) (issue with could not find) and b) (issue with 0kb profile files)
a) Yes, server is Linux:
Linux srv.website.com 2.6.32-5-686 #1 SMP Mon Mar 26 05:20:33 UTC 2012 i686 GNU/Linux
b) Reg. profile – i have account and used it to download from http://plugins.ancillaryfactory.com/ option, it downloaded profile, everything like OK, but profile was empty. Tried with other users profiles – i get them, but they are empty, no errors, just 0Kb profile files.
Hey, I just wanted to let you know I’ll be posting an update tomorrow that reads & writes profiles using the WordPress Filesystem API, which is designed to get around permissions (and is used internally for updates).
If you have time, I’d love to hear if it makes a difference.
i am trying with the new version and i have problems 🙂 i think i will drop this case and try on other hosting some day…
Results WPIP 3.4:
1. I added ftp login info to wp-config.php file (not now, but in general setting are there)
2. Every time i try to download profile from http://plugins.ancillaryfactory.com/ WordPress asks me to confirm FTP connection info (To perform the requested action, WordPress needs to access your web server. Please enter your FTP credentials to proceed. If you do not remember your credentials, you should contact your web host.), after i confirm FTP no profiles are downloaded
3. I enabled WP debug mode and error pops up when downloading profiles:
Notice: Undefined variable: creds in /var/www/server/data/www/website.com/wp-content/plugins/install-profiles/includes/process-profiles.php on line 345
4. When i try to download plugins from default profile i get wperror and debug error:
Notice: Undefined variable: creds in /var/www/server/data/www/website.com/wp-content/plugins/install-profiles/includes/process-profiles.php on line 40
ERROR: There was an error connecting to the server, Please verify the settings are correct.
Hope it helps. Happy New Year btw! 🙂
- The topic ‘Could not find/download any plugins’ is closed to new replies.