Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't locate object method "secret" via package "PowerDNS::API" #38

Open
yu7tux opened this issue Apr 4, 2014 · 2 comments
Open

Can't locate object method "secret" via package "PowerDNS::API" #38

yu7tux opened this issue Apr 4, 2014 · 2 comments

Comments

@yu7tux
Copy link

yu7tux commented Apr 4, 2014

I am getting the "Can't locate object method "secret" via package "PowerDNS::API"
error when trying to run hypnotoad -f script/powerdns_api.

my powerdns-api.conf file looks like this 👍
{
"secret": "dfsdfsdsfsdfsdfsdfssfasdfs",
"database": {
"database": "pdns",
"user": "root",
"password": "p8RyyHZsYgj",
"host": "localhost"
}
}


If I remove the "secret" section from json I get:
script/powerdns_api") called at /usr/local/bin/hypnotoad line 24
'secret' not configured.

The same thing happens if I use morbo.

@meAmidos
Copy link

meAmidos commented Jun 8, 2014

Instead of

$app->secret( 'Something' )

use

$app->secrets(['Something'])

@velgames
Copy link

Where need fix it? I have the same problem

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants