Widget showing average page number in search engines page results (works with Google, Yahoo, Live, etc.)


(frag-titus) #1

After copying the folders (DataFiles and Filter) into the plugins directory and adding the entries Datafiles and Filter to the config-file the following error occured:
Do I have to rename any files or post them into other directories too?

Piwik_PluginsManager::require_once(plugins/DataFiles/DataFiles.php) [piwik-pluginsmanager.require-once]: failed to open stream: No such file or directory
in ‘/kunden/223202_76131/webseiten/piwik/core/PluginsManager.php’ at the line 265

#0 Piwik_ErrorHandler(2, Piwik_PluginsManager::require_once(plugins/DataFiles/DataFiles.php) [piwik-pluginsmanager.require-once]: failed to open stream: No such file or directory, /kunden/223202_76131/webseiten/piwik/core/PluginsManager.php, 265, Array ([pluginName] => DataFiles,[pluginFileName] => DataFiles/DataFiles.php,[pluginClassName] => Piwik_DataFiles,[path] => plugins/DataFiles/DataFiles.php)) called at [(null):0]
#1 Piwik_PluginsManager::loadPlugin() called at [/kunden/223202_76131/webseiten/piwik/core/PluginsManager.php:265]
#2 Piwik_PluginsManager->loadPlugin(DataFiles) called at [/kunden/223202_76131/webseiten/piwik/core/PluginsManager.php:230]
#3 Piwik_PluginsManager->loadPlugins() called at [/kunden/223202_76131/webseiten/piwik/core/PluginsManager.php:151]
#4 Piwik_PluginsManager->setPluginsToLoad(Array ([0] => CorePluginsAdmin,[1] => CoreAdminHome,[2] => CoreHome,[3] => API,[4] => Widgetize,[5] => Actions,[6] => Dashboard,[7] => Referers,[8] => UserSettings,[9] => UserCountry,[10] => VisitsSummary,[11] => VisitFrequency,[12] => VisitTime,[13] => VisitorInterest,[14] => ExampleAPI,[15] => ExamplePlugin,[16] => ExampleRssWidget,[17] => ExampleFeedburner,[18] => Provider,[19] => Feedback,[20] => Login,[21] => UsersManager,[22] => SitesManager,[23] => Installation,[24] => Goals,[25] => CoreUpdater,[26] => LanguagesManager,[27] => GeoIP,[28] => DBStats,[29] => Live,[30] => DataFiles,[31] => Filter)) called at [/kunden/223202_76131/webseiten/piwik/core/FrontController.php:227]
#5 Piwik_FrontController->init() called at [/kunden/223202_76131/webseiten/piwik/index.php:51]


(Matthieu Aubry) #2

to install the plugin you just to copy the directory “SearchEnginePosition” in the plugins/ directory, then enable it in your piwik admin.


(frag-titus) #3

Hi Matt,
sorry the error still occurs. I have installed the newest version of piwik. I added the ‘SearchEnginePosition’-folder to the plugins directory and opened the piwik admin. The error message says that the ‘SearchEnginePosition.php’ couldn’t be found.
I found out that the file name in the ‘SearchEnginePosition’-directory is SearchEnginesPosition.php so I renamed it to SearchEnginePosition.php. But the error remains the same.
Here is the entire message:
Warning: Piwik_PluginsManager::require_once(plugins/SearchEnginePosition/SearchEnginePosition.php) [piwik-pluginsmanager.require-once]: failed to open stream: Datei oder Verzeichnis nicht gefunden in /piwik/core/PluginsManager.php on line 261 Backtrace -->#0 Piwik_ErrorHandler(2, Piwik_PluginsManager::require_once(plugins/SearchEnginePosition/SearchEnginePosition.php) [piwik-pluginsmanager.require-once]: failed to open stream: Datei oder Verzeichnis nicht gefunden, /piwik/core/PluginsManager.php, 261, Array ([pluginName] => SearchEnginePosition,[pluginFileName] => SearchEnginePosition/SearchEnginePosition.php,[pluginClassName] => Piwik_SearchEnginePosition,[path] => plugins/SearchEnginePosition/SearchEnginePosition.php)) called at [(null):0] #1 Piwik_PluginsManager::loadPlugin() called at [/piwik/core/PluginsManager.php:261] #2 Piwik_PluginsManager->loadPlugin(SearchEnginePosition) called at [/piwik/plugins/CorePluginsAdmin/Controller.php:27] #3 Piwik_CorePluginsAdmin_Controller->index() called at [(null):0] #4 call_user_func_array(Array ([0] => Piwik_CorePluginsAdmin_Controller Object ([] => CorePluginsAdmin,[] => 2009-03-12,[] => Piwik_Date Object ([] => 1236812400)),[1] => index), Array ()) called at [/piwik/core/FrontController.php:147] #5 Piwik_FrontController->dispatch() called at [/piwik/index.php:51]
Fatal error: Piwik_PluginsManager::require_once() [function.require]: Failed opening required ‘plugins/SearchEnginePosition/SearchEnginePosition.php’