Comments (3)
qor-example
requires go 1.6+
from qor-example.
sorry for the problem, just fixed that, you need to upgrade gorm
from qor-example.
Still having same problem on:
- go run main.go --> failed
Error:
# github.com/qor/qor-example/config/auth
config/auth/auth.go:35: Auth.LayoutPath undefined (type *authboss.Authboss has no field or method LayoutPath)
config/auth/auth.go:36: Auth.LayoutFuncMaker undefined (type *authboss.Authboss has no field or method LayoutFuncMaker)
Try Fixing:
comment out qor-example/config/auth/auth.go line 35 and 36
- re-run go run main.go --> failed
Error:
[info] replacing callback `gorm:delete` from /home/ubuntu/qorsdk/src/github.com/qor/publish/publish.go:144
Failed to create unique index for translations key & locale, got: Error 1170: BLOB/TEXT column 'key' used in key specification without a key length
(Error 1170: BLOB/TEXT column 'key' used in key specification without a key length)
[2016-06-16 14:35:50]
[register] Loading
panic: [register] Error Initializing: template: authboss:8: function "t" not defined
goroutine 1 [running]:
github.com/qor/qor-example/config/auth.init.1()
/home/ubuntu/qorsdk/src/github.com/qor/qor-example/config/auth/auth.go:58 +0x6a9
github.com/qor/qor-example/config/auth.init()
/home/ubuntu/qorsdk/src/github.com/qor/qor-example/config/auth/session_storer.go:69 +0xd3
github.com/qor/qor-example/config/admin.init()
/home/ubuntu/qorsdk/src/github.com/qor/qor-example/config/admin/worker.go:133 +0x7b
main.init()
/home/ubuntu/qorsdk/src/github.com/qor/qor-example/main.go:29 +0x4a
goroutine 17 [syscall, locked to thread]:
runtime.goexit()
/usr/local/go/src/runtime/asm_amd64.s:1696 +0x1
goroutine 5 [chan receive]:
database/sql.(*DB).connectionOpener(0xc820272f00)
/usr/local/go/src/database/sql/sql.go:634 +0x45
created by database/sql.Open
/usr/local/go/src/database/sql/sql.go:481 +0x336
exit status 2
from qor-example.
Related Issues (20)
- Demo link is redirecting to docs HOT 1
- config.NoMetadata undefined HOT 1
- Error 1170: BLOB/TEXT column 'key' used in key specification without a key length HOT 2
- Error 1054: Unknown column 'basics.provider' in 'where clause' - "invalid account" error message
- Unable to start this project
- create a theme folder with all views and assets
- AssetFS is used before overwrite it!
- enterprise.getqor.com/microsite: cannot find module providing package enterprise.getqor.com/microsite HOT 2
- sheet.Rows undefined (type *xlsx.Sheet has no field or method Rows) HOT 2
- The sample project has a problem and is still not running HOT 1
- Is run after compile not possible ? HOT 1
- Undefined variable
- twitter/github auth, how to make them work ?
- `go run main.go` fails HOT 1
- Create new user failed
- Admin not working HOT 1
- Make example work with less dependency : e.g default squlite for db, admin/admin for uid/pwd
- example db connection missing port in connection string
- all image files in "public/system/...." folder are not displayed after cmd "go run main.go".
- unit/integration tests missing
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from qor-example.