xwp / stream

🗄️ Stream plugin for WordPress

Home Page:https://wordpress.org/plugins/stream/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

'Activate' link on Extensions screen results in 'Plugin file does not exist.'

Japh opened this issue · comments

commented

While troubleshooting #464, I noticed that the 'Active' links on the Extensions screen don't work. The plugins can be activated from the Plugins screen as normal though.

commented

This issue appears to be caused by using a different plugin path locally than that specified by https://wp-stream.com.

For example, I have the Data Exporter extension installed at 'wp-stream-data-exporter' instead of the 'stream-data-exporter' that is expected by the Extensions screen using information provided by https://wp-stream.com.

The extension is still detected correctly as being installed though.

commented

@fjarrett @shadyvb This will need some work on both sides. Anyone see any potential problems with going ahead?

@Japh My guess is because you have the plugins installed on your local as direct clones from the GitHub repo and they are still using the wp- prefix in the directory names, which won't work.

Instead, the directory name should be changed when cloning, like so:

$ git clone git@github.com:x-team/wp-stream-extension.git stream-extension

@Japh @fjarrett We'll probably need to match extensions using their titles, as that won't change on both sides, at least not easily as slugs would. I'll look into this tomorrow.

I'm on it.

Sorry - just read your comment all the way through @shadyvb . It's all yours.

commented

Brilliant, thanks guys! :)