Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.

Is there something wrong with the uploading of plugins?

peregrineperegrine MVP
edited March 2012 in Vanilla 2.0 - 2.8

I am trying to upload a newly developed plugin that is a zip file and I get

Could not analyze the addon file.

I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.

Best Answer

  • UnderDogUnderDog MVP
    Answer ✓

    Open the .zip file and look if you have a file in there called default.php

    It should have to start with an array:


    $PluginInfo['PluginName'] = array(
    'Name' => 'PluginName',
    'Description' => 'Description',
    'Version' => '0.1.1',
    'Author' => "",
    'AuthorEmail' => 'email@author.com',
    'AuthorUrl' => 'Author Url'
    );

    There was an error rendering this rich post.

Answers

  • UnderDogUnderDog MVP
    Answer ✓

    Open the .zip file and look if you have a file in there called default.php

    It should have to start with an array:


    $PluginInfo['PluginName'] = array(
    'Name' => 'PluginName',
    'Description' => 'Description',
    'Version' => '0.1.1',
    'Author' => "",
    'AuthorEmail' => 'email@author.com',
    'AuthorUrl' => 'Author Url'
    );

    There was an error rendering this rich post.

  • peregrineperegrine MVP
    edited March 2012

    Thanks

    analyzer seemed to fail because of this....
    
    original
         'Description' => 'my formatter made one very long line description
                into two lines, and added a return.'
    
    fixed:  
          'Description' => 'my formatter made one very long line description into two lines, and added a return.'
    

    I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.

Sign In or Register to comment.