andrzejkupczyk / mantisbt-awards

Emoji Awards Plugin for MantisBT
Apache License 2.0
2 stars 0 forks source link

Installation instructions need a little clarification #2

Open pkbarbiedoll opened 5 months ago

pkbarbiedoll commented 5 months ago

I used the more common old school method of uploading the plugin to an Awards folder in the mantisbt plugins folder

Hoping the Awards might work without composer (like all other plugins I've installed), I tried accessing my installation's Plugins tab under admin and got

INTERNAL APPLICATION ERROR

Please use the "Back" button in your web browser to return to the previous page. There you can correct
 whatever problems were identified in this error or select another action. You can also click an option 
 from the menu bar to go directly to a new section.

I dropped into the mantisbt plugins folder and ran:

[pkbarbiedoll@box plugins]$ composer install --no-dev
Composer could not find a composer.json file in /data/www/mantis/mantisbt-2.26.1/plugins
To initialize a project, please create a composer.json file. See https://getcomposer.org/basic-usage

The instructions do not explain what to do if a composer.json file does not exist. Since I did not need composer to install core mantisbt 2.26.1 or any of the plugins, I'm unsure what to do next.

pkbarbiedoll commented 5 months ago

When I removed the Awards/ folder from plugins directory, the error message I saw when accessing the Plugins tab in MantisBT went away.