sujit-baniya/fiber-boilerplate

Mysql timezone

azerturk opened this issue · 4 comments

[error] failed to initialize database, got error unknown time zone Localcasbin

I am using mysql i added line to the my.ini default-time-zone = "+04:00" and then i changed the loc in connectionstring but no success

Thank you for opening Issue!

The issue was on Casbin Implementation. I've fixed the issue. Please pull latest code and try again.

Thanks

Okay. I tested a little. The only problem i seen that after logout then reset password mail is not sended - "use of closed connection".

And also in "config/headers.go" this line "c.Set("X-Content-Type-Options", "nosniff")" causes refused running scripts on browser and you should also update readme file rabbitmq lines part )
Last one i tested when i clikcked the paypal button then in browser console shows error - "SyntaxError: Unexpected token < in JSON at position 0"

@azerturk Yes I'll update both as soon as I'm free