microsoft / ApplicationInsights-WordPress

Main development repository for Application Insights WordPress plugin.
MIT License
45 stars 42 forks source link

Not working as per instructions in readme.txt #3

Closed yooakim closed 9 years ago

yooakim commented 9 years ago

I've just tried to upload the code to an existing Wordpress site. I see the plugin in the WordPress admin plugin page but when I try to activate the plugin I get this:

Warning: require_once(vendor/autoload.php): failed to open stream: No such file or directory in /var/www/html/wp-content/plugins/ApplicationInsights/ApplicationInsightsPlugin.php on line 10

Fatal error: require_once(): Failed opening required 'vendor/autoload.php' (include_path='.:/usr/share/php:/usr/share/pear') in /var/www/html/wp-content/plugins/ApplicationInsights/ApplicationInsightsPlugin.php on line 10

Where is the /vendor/ stuff supposed to come from?

This is a Wordpress site running in a Ubuntu VM in Azure. /Joakim

SyntaxC4 commented 9 years ago

Did you run Composer?

yooakim commented 9 years ago

No, I didn't run composer. It is hard to do on a WordPress server where you don't have full access. I assume dthis was a working Wordpress plug-in. But apparently not?