gugoan/economizzer

currencycode exception on fresh install

firestalk opened this issue · 4 comments

I have ubuntu 16.04, php7 and nginx.
Following installation instructions, i have cloned repo, made composer magic and migrated db successfully.
PrettyUrls set to false
Then, when I trying to login with "joe" account, I see this error:

Unknown Property – yii\base\UnknownPropertyException
Getting unknown property: app\models\Profile::currencycode

@firestalk
Try to use the sql file "economizzer.sql" in the project root. MIGRATIONS need to be fixed.

@firestalk
You need to add below 2 columns in "profile" table manually in database.
currencycode -> varchar(20)
decimalseparator -> varchar(5)

@kg-dexterity, thank you, it works now.

You do not have to do it manually, the file I added is complete with all the tables and fields. (Only the MIGRATIONS are in trouble).