by

Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
fpintoG
@fpintoG
hi, does someone has problems with translations module i18n?, seems like i can not load the related templates
translation_error.png
Johnny
@johnnywale
for some dependence , you may need to checkout old the commit or version.
jwong858
@jwong858

I got these errors from the sample app, when I clicked on Home, Men, Women or Kids tab:

template: gender:10: unexpected unclosed action in command
template: :10: unexpected unclosed action in command

Any idea how to fix it?

jwong858
@jwong858
I got the key error and "widget FullWidthBannerEditor not exists" error, when I was seeding it. Any idea how to fix it?

$ go run config/db/seeds/main.go config/db/seeds/seeds.go
Failed to create unique index for translations key & locale, got: Error 1170: BLOB/TEXT column 'key' used in key specification without a key length

(/Users/jwong3/go/src/github.com/qor/i18n/backends/database/database.go:20)
[2019-10-26 09:32:44] Error 1170: BLOB/TEXT column 'key' used in key specification without a key length
WARNING: AssetFS is used before overwrite it!
goroutine 1 [running, locked to thread]:
runtime/debug.Stack(0x2e, 0x0, 0x0)
/usr/local/go/src/runtime/debug/stack.go:24 +0x9d
runtime/debug.PrintStack()
/usr/local/go/src/runtime/debug/stack.go:16 +0x22
github.com/qor/assetfs.SetAssetFS(0x6a57910, 0x24938e0)
/Users/jwong3/go/src/github.com/qor/assetfs/assetfs.go:33 +0xc5
github.com/qor/qor-example/config/bindatafs.init.0()
/Users/jwong3/go/src/github.com/qor/qor-example/config/bindatafs/bindatafs.go:26 +0x5d
Need to have gorm DB in the configuration in order to run migrations
Start create sample data...
--> Created setting.
--> Created seo.
--> Created admin users.
--> Created users.
--> Created addresses.
--> Created categories.
--> Created collections.
--> Created colors.
--> Created sizes.
--> Created material.
--> Created medialibraries.
--> Created products.
--> Created stores.
--> Created orders.
2019/10/26 09:33:30 widget FullWidthBannerEditor not exists, make sure to register it
2019/10/26 09:33:30 widget FullWidthBannerEditor not exists, make sure to register it
2019/10/26 09:33:30 widget FullWidthBannerEditor not exists, make sure to register it
2019/10/26 09:33:30 widget FullWidthBannerEditor not exists, make sure to register it
--> Created widgets.
--> Created articles.
--> Created helps.
--> Done!
Is this qor project still active? How come no one is responding my questions?
丁冬冬
@HappyDaydayUp
Listening on: 9000
2019/11/07 18:39:23 Finish [GET] /admin Took 0.19ms
2019/11/07 18:39:23 http: panic serving [::1]:54051: runtime error: invalid memory address or nil pointer dereference
quick start bug
I don nor know how to do
Waleed Gadelkareem
@gadelkareem
Hi, is there a way to implement a subscription based e-commerce website? do you have an example repo for it?
Ujjawal Sehrawat
@UjjawalSehrawat_twitter
Hey All
Ujjawal Sehrawat
@UjjawalSehrawat_twitter
I have a trouble on qor when I apply multiple filters using queries ,it uses the same db and join all the queries of different filters .
Can you suggest some solution?
This is the first filter
userQueries.Filter(&admin.Filter{
Label: "Account Manager",
Config: &admin.SelectOneConfig{Collection: bulkupload.GetAccountManagers},
Handler: func(db gorm.DB, filter admin.FilterArgument) *gorm.DB {
db = configuration.GetDB(constants.READ)
metaValue := filter.Value.Get("Value")
var filterValue interface{}
if metaValue != nil {
filterValue = metaValue.Value
} else {
filterValue = nil
}
return db.Joins(" JOIN products ON products.id = user_queries.product_id JOIN users ON users.id = products.user_id AND users.deleted_at is null AND users.account_manager_id = ? ", filterValue)
},
})
and this is second one
userQueries.Filter(&admin.Filter{
Label: "Vendor User ID",
Config: &admin.SelectOneConfig{Collection: bulkupload.GetUsers},
Handler: func(db gorm.DB, filter admin.FilterArgument) gorm.DB {
//db1 := configuration.GetDB(constants.READ)
metaValue := filter.Value.Get("Value")
var filterValue interface{}
if metaValue != nil {
filterValue = metaValue.Value
} else {
filterValue = nil
}
//return db1.Exec("select
from user_queries JOIN products ON products.id = user_queries.product_id where products.user_id is not null AND products.user_id = ? ", filterValue)
return db.Joins(" JOIN products ON products.id = user_queries.product_id and products.user_id is not null AND products.user_id = ? ", filterValue)
},
})
How can I implement the second filter?
x0rzkov
@x0rzkov
Hi guys, we are creating a wordpress clone based on qor called qorpress, any objections to it ?
Serge Tan Panza
@stanpanza
Hi guys, has anyone used github.com/qor/page_builder ? Looking for documentation to hook it to a request handler.
sachin-puranik
@sachin-puranik
Hi
I have created a pull request qor/auth#39
Can some one please merge the pull
qi
@zhouqiw
hi
Martijn van Maasakkers
@mvmaasakkers
Hi guys, is it possible to disable a delete action on a qor/admin resource?
Martijn van Maasakkers
@mvmaasakkers
I fixed this by setting invisible to true on the resource and copying code from the AddResource:
Admin.AddMenu(&admin.Menu{Name: inflection.Plural(res.Config.Name), IconName: res.Config.IconName, Permissioner: res, Priority: res.Config.Priority, Ancestors: res.Config.Menu, RelativePath: res.ToParam()})
Admin.RegisterResourceRouters(res, "create", "update", "read")
Nathan Ngo
@nathan.ngo_gitlab
For those who cannot login (see message "You have to confirm your account before continuing"), pls make a change on auth as this PR https://github.com/qor/auth/pull/39/files#diff-74d143ebc83607521c0db57e6225668d
Nathan Ngo
@nathan.ngo_gitlab
Screen Shot 2020-04-02 at 7.20.44 PM.png
can you see the image on the system? all the images on my local cannot be loaded, pls advice how to solve it?
mrasu
@mrasu
Hello, how does qor's admin supports null.String by https://github.com/guregu/null ?
When creating admin simply, edit panel shows "String" and "Valid" section for nullable columns.
But values of the section are empty even when it have some text
Kevin
@kevinx8888_gitlab

How can I access login page for a provider. Accessing http://localhost:9000/auth/login results in following page:

I do see the login file under password/views/auth/login/providers/password/tmpl, but cannot find the url which would send this page. Could not find anything in PasswordProvider .ServeHttp method which sends this page - was expecting a handle in this file

Kevin
@kevinx8888_gitlab
Screenshot from 2020-04-19 09-18-31.png
Arturo de la Vega Ruiz
@ArturoDLVega_twitter
Hello
Im getting this
image.png
someone knows why?
twit-twit
@slyfox_neil_twitter
hello, I want to try the qor example, using go get command. Its failing with the following errors:
neil@neil-Inspiron-7577:~$ go get -u github.com/qor/qor-example
# github.com/qor/auth
go1: internal compiler error: in methods, at go/gofrontend/types.cc:8611
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:///usr/share/doc/gcc-8/README.Bugs> for instructions.
# github.com/qor/exchange/backends/csv
go/src/github.com/qor/exchange/backends/csv/xlsx2csv.go:28:27: error: reference to undefined field or method ‘Rows’
for _, row := range sheet.Rows {
^
go/src/github.com/qor/exchange/backends/csv/xlsx2csv.go:28:27: error: reference to undefined field or method ‘Rows’
go/src/github.com/qor/exchange/backends/csv/xlsx2csv.go:41:3: error: range clause must have array, slice, string, map, or channel type
for i, cell := range row.Cells {
^
go/src/github.com/qor/exchange/backends/csv/xlsx2csv.go:28:2: error: range clause must have array, slice, string, map, or channel type
for _, row := range sheet.Rows {
^
go/src/github.com/qor/exchange/backends/csv/xlsx2csv.go:28:6: error: invalid type for range clause
for _, row := range sheet.Rows {
^
neil@neil-Inspiron-7577:~$
Tao Ritchie
@Tatt_y_twitter
Any experienced QOR/Go programmers looking for freelance work?
Akshay448
@Akshay448
yes
how can i contact?
Glenford Williams
@glenfordwilliams
image.png
how do i get the dropdown to show something other than blank spaces?
Andre Basse
@abasse
@glenfordwilliams Look at the select one Dcoumentation for a dropdown example https://doc.getqor.com/admin/metas/select-one.html
Glenford Williams
@glenfordwilliams
@abasse thanks i found that afterwards and had some success, Only issue i have now is i'm not sure how to set a default value in the editing view
Glenford Williams
@glenfordwilliams
anyone?
Furkan AKSOY
@fufuceng
hi all,
Is there anyone who can reach the doc? I've got 503 error
Aibyn
@Aibaend
Hi all, One question is it possible to change Add and Edit word in slideout?

Screen Shot 2020-04-02 at 7.20.44 PM.png

put public before system