partkeepr / PartKeepr

Open Source Inventory Management
http://www.partkeepr.org
GNU General Public License v3.0
1.38k stars 400 forks source link

Latest update (from Git) creates error in setup during database connectivity check #779

Closed ericmoon closed 7 years ago

ericmoon commented 7 years ago

I updated to the latest git (using the method outlined in the wiki, which has worked many times before). During the setup, I got the following error doing database connectivity check:

The service "partkeepr.octopart_service" has a dependency on a non-existent parameter "partkeepr.octopart.apikey".

I'm running on a postgres database on debian.

Drachenkaetzchen commented 7 years ago

To make it work, please add $container->setParameter('partkeepr.octopart.apikey', ''); to your app/config/parameters.php

ericmoon commented 7 years ago

Perfect, thank you, and thanks so much for PartKeepr - top notch software.

Are there any other changes necessary to enable the octopart integration? I've gotten my api key from them and re-ran setup, but not showing.

Drachenkaetzchen commented 7 years ago

No, the button should be visible at all times in the Add/Edit Part Dialog. Is it visible? If not, you might need to clear the browser cache.

ericmoon commented 7 years ago

That was it. Thought I did it before, but oh well.. thanks again.