No items appear at the list
Forum rules
Always add your Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
Always add your Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
No items appear at the list
Why do I create a new item in the admin, but I can't see it at the list? (https://localhost/list)
Re: No items appear at the list
You haven't probably added it to a category so it won't show up.
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, give us a star
If you like Aimeos, give us a star
Re: No items appear at the list
I create a new category "test", but product don't be added to a category.
Re: No items appear at the list
From your screenshots we can't see that the "test" category was really created.
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, give us a star
If you like Aimeos, give us a star
Re: No items appear at the list
Category list is empty. But the database has data. I use postgresSql.
Re: No items appear at the list
Can you check the browser console if there are any errors? Maybe your web server doesn't answer to OPTIONS requests.
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, give us a star
If you like Aimeos, give us a star
Re: No items appear at the list
I fix OPTIONS requests 500 error, but category list is still empty.
nginx
nginx
Code: Select all
location / {
if ($request_method = OPTIONS ) {
add_header Access-Control-Allow-Origin "*";
add_header Access-Control-Allow-Methods "POST, GET, PUT, DELETE, PATCH, OPTIONS";
add_header Access-Control-Allow-Headers "origin, content-type, accept,DNT,X-CustomHeader,Keep-Alive,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type";
add_header Access-Control-Allow-Credentials "true";
add_header Content-Length 0;
add_header Content-Type text/plain;
return 200;
}
try_files $uri /index.php$is_args$args;
}
Re: No items appear at the list
What is now returned to the browser? Can you post the made requests and the response for fetching the categories?
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, give us a star
If you like Aimeos, give us a star
Re: No items appear at the list
The browser is returned 200.
response
access-control-allow-credentials: true
access-control-allow-headers: origin, content-type, accept,DNT,X-CustomHeader,Keep-Alive,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type
access-control-allow-methods: POST, GET, PUT, DELETE, PATCH, OPTIONS
access-control-allow-origin: *
content-length: 0
content-type: text/plain
date: Tue, 17 Sep 2019 09:53:23 GMT
server: nginx/1.13.5
status: 200
request
:authority: localhost
:method: OPTIONS
:path: /admin/default/jsonadm
:scheme: https
accept: application/json, text/javascript, */*; q=0.01
accept-encoding: gzip, deflate, br
accept-language: zh-TW,zh;q=0.9,en-US;q=0.8,en;q=0.7,zh-CN;q=0.6
cache-control: no-cache
cookie: _ga=GA1.2.1879821586.1542254114; __utmc=44967156; _ga=GA1.3.1879821586.1542254114; __utmc=50244577; __cfduid=d92079f013479d914db998cb7f7f3f4a91545033294; __utmz=50244577.1548838723.15.15.utmcsr=35.201.218.27|utmccn=(referral)|utmcmd=referral|utmcct=/123.html; __utmz=44967156.1552459011.104.23.utmcsr=lebesgue.localhost|utmccn=(referral)|utmcmd=referral|utmcct=/demo/mobile/5; bdshare_firstime=1557993905979; PHPSESSID=b4a2805d804ddabbf28e439ee359ca85; __utma=50244577.1879821586.1542254114.1550809339.1563522356.17; __utma=44967156.1879821586.1542254114.1566877732.1567740605.212; _gid=GA1.2.1844355449.1568684331; XSRF-TOKEN=eyJpdiI6IkdUNjgxUE42U3NLQzIrcjVcL1A4dENRPT0iLCJ2YWx1ZSI6Ik5HRVhSRFFkSGx5TExqZ1RWK25uZ0NEM0xwM1pIQTc3Q1d2bE91NUZISUtRTkJ3aEpOdE9BQmNuaDFsMEM4aTd4Y3ExdkhydnFNZ1l6N3NLTlZjekRnPT0iLCJtYWMiOiI3ZGYyMzcxZWE4MDI5ODhlZTdiYjQxYWQ0MGNiNTcxNTYxNWVlYjIwOTM5OTkwZDM2Mjc3OWExMWUyMmMwNWIxIn0%3D; vnvideogo_ads=eyJpdiI6IjlSaE1jK0orZHBVS3JQQlVPc2NibkE9PSIsInZhbHVlIjoiTytzOG1ndFZPOGtucmRPa0pTXC80dTJ2ckYxbHJrcndhSWVcL3pwOXk1OEVveWRWR0psRGpLRmgrdVR5OUQ2UHRtYmsxNHBVOE42THVKRVRsaVV1ZXFVQT09IiwibWFjIjoiZDE2MjQxZjI1Yzk4ZmUzMDYyMDcyNWEzODYzNmY1ZGU3ZGU5MzcwOTIyYTU1NzdjYWU1ZDhhY2VlOTA5ZDBiNiJ9
origin: https://localhost
pragma: no-cache
referer: https://localhost/admin/default/jqadm/s ... og?lang=zh
sec-fetch-mode: cors
sec-fetch-site: same-origin
user-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/76.0.3809.132 Safari/537.36
x-requested-with: XMLHttpRequest
response
access-control-allow-credentials: true
access-control-allow-headers: origin, content-type, accept,DNT,X-CustomHeader,Keep-Alive,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type
access-control-allow-methods: POST, GET, PUT, DELETE, PATCH, OPTIONS
access-control-allow-origin: *
content-length: 0
content-type: text/plain
date: Tue, 17 Sep 2019 09:53:23 GMT
server: nginx/1.13.5
status: 200
request
:authority: localhost
:method: OPTIONS
:path: /admin/default/jsonadm
:scheme: https
accept: application/json, text/javascript, */*; q=0.01
accept-encoding: gzip, deflate, br
accept-language: zh-TW,zh;q=0.9,en-US;q=0.8,en;q=0.7,zh-CN;q=0.6
cache-control: no-cache
cookie: _ga=GA1.2.1879821586.1542254114; __utmc=44967156; _ga=GA1.3.1879821586.1542254114; __utmc=50244577; __cfduid=d92079f013479d914db998cb7f7f3f4a91545033294; __utmz=50244577.1548838723.15.15.utmcsr=35.201.218.27|utmccn=(referral)|utmcmd=referral|utmcct=/123.html; __utmz=44967156.1552459011.104.23.utmcsr=lebesgue.localhost|utmccn=(referral)|utmcmd=referral|utmcct=/demo/mobile/5; bdshare_firstime=1557993905979; PHPSESSID=b4a2805d804ddabbf28e439ee359ca85; __utma=50244577.1879821586.1542254114.1550809339.1563522356.17; __utma=44967156.1879821586.1542254114.1566877732.1567740605.212; _gid=GA1.2.1844355449.1568684331; XSRF-TOKEN=eyJpdiI6IkdUNjgxUE42U3NLQzIrcjVcL1A4dENRPT0iLCJ2YWx1ZSI6Ik5HRVhSRFFkSGx5TExqZ1RWK25uZ0NEM0xwM1pIQTc3Q1d2bE91NUZISUtRTkJ3aEpOdE9BQmNuaDFsMEM4aTd4Y3ExdkhydnFNZ1l6N3NLTlZjekRnPT0iLCJtYWMiOiI3ZGYyMzcxZWE4MDI5ODhlZTdiYjQxYWQ0MGNiNTcxNTYxNWVlYjIwOTM5OTkwZDM2Mjc3OWExMWUyMmMwNWIxIn0%3D; vnvideogo_ads=eyJpdiI6IjlSaE1jK0orZHBVS3JQQlVPc2NibkE9PSIsInZhbHVlIjoiTytzOG1ndFZPOGtucmRPa0pTXC80dTJ2ckYxbHJrcndhSWVcL3pwOXk1OEVveWRWR0psRGpLRmgrdVR5OUQ2UHRtYmsxNHBVOE42THVKRVRsaVV1ZXFVQT09IiwibWFjIjoiZDE2MjQxZjI1Yzk4ZmUzMDYyMDcyNWEzODYzNmY1ZGU3ZGU5MzcwOTIyYTU1NzdjYWU1ZDhhY2VlOTA5ZDBiNiJ9
origin: https://localhost
pragma: no-cache
referer: https://localhost/admin/default/jqadm/s ... og?lang=zh
sec-fetch-mode: cors
sec-fetch-site: same-origin
user-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/76.0.3809.132 Safari/537.36
x-requested-with: XMLHttpRequest
Re: No items appear at the list
The request is for the OPTIONS method, there should be something for:
Code: Select all
GET /admin/default/jsonadm/catalog
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, give us a star
If you like Aimeos, give us a star