The message 'Missing Feeds plugin. Check whether all required libraries and modules are installed properly.' could be made a little more informative with just the plugin name missing.

My case was with simplepie.inc moved from sites/all/modulesfeeds/libraries to sites/all/libraries together in conjunction with libraries.module

It would be better still to have the plugins report their missing dependencies too. I guess that's more to do with ctools?

Comments

clemens.tolboom’s picture

StatusFileSize
new1.38 KB

The patch adds the plugin name to the warning message

clemens.tolboom’s picture

Status: Active » Needs review
StatusFileSize
new1.51 KB

This patch is somewhat better as it provides a link straight into the Feed importer.

To test:
1. Create a Feed importer to use simplepie
2. Remove simplepie.inc from the libraries directory
3. apply the patch
4. Place simplepie.inc back
5. Now we are in trouble as simplepie.inc is still not found.
6. empty cache is not working
7. reinstall module color
8. everything is working fine again.

clemens.tolboom’s picture

Title: Missing plugin message could use some more info » Missing plugin message could use better info
Category: feature » bug

This is mere an annoying bug.

When too much (?) modules are enabled (on a clean site) the message appears.
- I did enable feeds and some unrelated modules.
- ctools is added to the module list.
- When submitting the module list the message appears
- The message will not disappear unless some magic is done
- ... clear cache is not helping.
- ... enabling book module then disable and uninstall solved it ... I'm not sure though :(

The message helps a little ... ie it lead me to install simplepie.inc :)

alex_b’s picture

Status: Needs review » Needs work

I like #2, it needs a permission check on the link though. A user may not have sufficient permissions to modify importers.

clemens.tolboom’s picture

StatusFileSize
new0 bytes

I added a check for user_access('administer feeds')

Different users get now different text.

Missing Feeds plugin ExtractorSimplePieParser. See test. Check whether all required libraries and modules are installed properly.

and

Missing Feeds plugin ExtractorSimplePieParser. Contact your site administrator.

I managed to get the text by deleting the simplepie.inc file from my system. The message does appear after a 'cache clear'.

- Fatal error: Call to undefined method FeedsMissingPlugin::getMappingSources() in /home/clemens/htdocs/example.dev/sites/all/modules/feeds/feeds_ui/feeds_ui.admin.inc on line 491

only after visiting the admin/build/feeds/edit/test/mapping page.

Restoring the simplepie.inc file followed by a 'cache clear' fixes it again.

alex_b’s picture

#5, clemens: there is a problem with the patch you uploaded, it's empty.

clemens.tolboom’s picture

Status: Needs work » Needs review
StatusFileSize
new1.21 KB

Sorry Alex, I suspect FF from causing this emptiness.

Patch lists 1.21 kb ... hope it survives the upload.

alex_b’s picture

Status: Needs review » Reviewed & tested by the community

Excellent. RTBC from my point of view.

alex_b’s picture

Title: Missing plugin message could use better info » Better message when plugin is missing
Status: Reviewed & tested by the community » Fixed

Committed. Thank you.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.