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

API Goals.addGoal Error!! #11636

Closed
druidajes opened this issue Apr 19, 2017 · 1 comment
Closed

API Goals.addGoal Error!! #11636

druidajes opened this issue Apr 19, 2017 · 1 comment
Labels
answered For when a question was asked and we referred to forum or answered it.

Comments

@druidajes
Copy link

With version 3.3 of piwik, when I try to add a target through the api, it returns the following error:

Mysqli prepare error: Unknown column 'description' in 'field list

I have looked in the piwik_goal table and indeed there is no such column (in fact no version exists, but in the new update when making the insert if you take it into account)

I've added this directly and it works:

ALTER TABLE lead_on_site.piwik_goal ADD description VARCHAR (255) after name;

A greeting!!

@sgiehl
Copy link
Member

sgiehl commented Apr 19, 2017

This should have been automatically done with updating to 3.0.0.
Maybe the update script failed on your side somehow.

@sgiehl sgiehl closed this as completed Apr 19, 2017
@sgiehl sgiehl added the answered For when a question was asked and we referred to forum or answered it. label Apr 19, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
answered For when a question was asked and we referred to forum or answered it.
Projects
None yet
Development

No branches or pull requests

2 participants