<p>I've got exactly the same issue reported here:
<a href="https://craftcms.stackexchange.com/questions/3023/plugin-wont-enable">Plugin won&#39;t enable</a></p>

<p>I've created a really simple plugin that works fine on my local environment but won't enable on my remote dev server. I've followed the advice in that Question and checked all the file and class names but with no success.</p>

<p>There doesn't seem to be any indication of problems in the logs either. I'm stumped. =(</p>

<p>Here's the code as requested:
FirstImagePlugin.php - <a href="http://pastebin.com/ehVHF9vk" rel="nofollow noreferrer">http://pastebin.com/ehVHF9vk</a>
FirstImageTwigExtension.php - <a href="http://pastebin.com/D5C8QnjK" rel="nofollow noreferrer">http://pastebin.com/D5C8QnjK</a></p>

<p>The directory structure is simply just:
/plugins/firstimage/twigextensions</p>

CC BY-SA 3.0
2015-07-10T13:30:46.947Z
usually it's really related to filename capitalization so make sure to double check that. Is it possible to show us the plugincode (via gist or similar), or is it private?
Sidney Widmer
CC BY-SA 3.0
2015-07-10T13:53:23.327Z
Added it to the original question
Digital Squid
CC BY-SA 3.0
2015-07-10T17:41:53.320Z
When you say "won't enable" you mean it's not showing up under Settings->Plugins?  Or it is, you click enable and some other error happens?
Brad Bell
CC BY-SA 3.0
2015-07-13T07:55:18.853Z
It's showing, I click **Enable**, the page refreshes with no errors and the plugin is still shown as disabled
Digital Squid
CC BY-SA 3.0
2015-07-13T17:57:35.467Z
Can you reproduce the issue, then check your `craft/storage/runtime/logs` files for either `[error]` or `[warning]` entries and see if there is anything related?
Brad Bell
<plugin-development>
Plugin won't enable on remote dev enviornment
# Plugin won't enable on remote dev enviornment

(Asked by: username_0 on 2015-07-10)

I've got exactly the same issue reported here:
[Plugin won't enable](https://craftcms.stackexchange.com/questions/3023/plugin-wont-enable)

I've created a really simple plugin that works fine on my local environment but won't enable on my remote dev server. I've followed the advice in that Question and checked all the file and class names but with no success.

There doesn't seem to be any indication of problems in the logs either. I'm stumped. =(

Here's the code as requested:
FirstImagePlugin.php - <http://pastebin.com/ehVHF9vk>
FirstImageTwigExtension.php - <http://pastebin.com/D5C8QnjK>

The directory structure is simply just:
/plugins/firstimage/twigextensions

**Tags:** plugin-development

> **Comments:**
> **username_1**: usually it's really related to filename capitalization so make sure to double check that. Is it possible to show us the plugincode (via gist or similar), or is it private?  
> **username_0**: Added it to the original question  
> **username_2**: When you say "won't enable" you mean it's not showing up under Settings->Plugins?  Or it is, you click enable and some other error happens?  
> **username_0**: It's showing, I click **Enable**, the page refreshes with no errors and the plugin is still shown as disabled  
> **username_2**: Can you reproduce the issue, then check your `craft/storage/runtime/logs` files for either `[error]` or `[warning]` entries and see if there is anything related?  

---

## 0 answers

