ATP icon indicating copy to clipboard operation
ATP copied to clipboard

Error on activation

Open webangon opened this issue 11 years ago • 4 comments

Hi Thank for this plugin but I have got this error while activating

The plugin generated 2139 characters of unexpected output during activation. If you notice “headers already sent” messages, problems with syndication feeds or other issues, try deactivating or removing this plugin.

Any idea?

webangon avatar Feb 06 '15 20:02 webangon

@webangon Are you sure that your current setup meets ATP requirements?

More specifically, are you sure that your sistem has PHP 5.4+?

gmazzap avatar Feb 06 '15 20:02 gmazzap

I am using php 5.5.12 wamp server. But I do not have composer installed .wordpress 4.1

webangon avatar Feb 07 '15 09:02 webangon

@webangon ATP requires Composer to be installed.

Download the plugin zip and activate it is not a way to go, because the plugin relies on Composer autoload to work.

To use Composer you can just:

  1. download composer.phar file from here and put in your WordPress plugins folder (usually wp-content/plugins). No installation or configuration required.

  2. cd to plugins folder from console (if you use Windows, hold SHIFT while right-click on plugins folder in explorer, then click "Open command prompt here...")

  3. Type (or copy&paste) installation command:

    php composer.phar create-project gmazzap/ajax-template-part --no-dev
    

All 3 steps took no more than 1 minute and are super-easy.

You need to do that only in your local server. Online you have only to publish the plugin folder with anything inside it (you'll notice a vendor folder created by Composer).

gmazzap avatar Feb 07 '15 10:02 gmazzap

Thank you

webangon avatar Feb 07 '15 14:02 webangon