Getting further and further with this wonderful dashboard.
today tried to implement trash.
When implemented this in config.js
- Spoiler: show
Looking in the console I see that there is a 0 before the HTTPS://

How can I change this or remove this 0?
Moderators: leecollings, htilburgs, robgeerts
Code: Select all
<br />
<b>Warning</b>: Undefined property: stdClass::$accessToken in <b>C:\xampp2\htdocs\vendor\dashticz\garbage\index.php</b> on line <b>303</b><br />
<br />
<b>Warning</b>: Undefined property: stdClass::$items in <b>C:\xampp2\htdocs\vendor\dashticz\garbage\index.php</b> on line <b>321</b><br />
<br />
<b>Warning</b>: Trying to access array offset on value of type null in <b>C:\xampp2\htdocs\vendor\dashticz\garbage\index.php</b> on line <b>321</b><br />
<br />
<b>Warning</b>: Attempt to read property "id" on null in <b>C:\xampp2\htdocs\vendor\dashticz\garbage\index.php</b> on line <b>321</b><br />
<br />
<b>Warning</b>: Undefined property: stdClass::$items in <b>C:\xampp2\htdocs\vendor\dashticz\garbage\index.php</b> on line <b>343</b><br />
<br />
<b>Warning</b>: Trying to access array offset on value of type null in <b>C:\xampp2\htdocs\vendor\dashticz\garbage\index.php</b> on line <b>343</b><br />
<br />
<b>Warning</b>: Attempt to read property "id" on null in <b>C:\xampp2\htdocs\vendor\dashticz\garbage\index.php</b> on line <b>343</b><br />
<br />
<b>Warning</b>: Undefined property: stdClass::$items in <b>C:\xampp2\htdocs\vendor\dashticz\garbage\index.php</b> on line <b>369</b><br />
<br />
<b>Warning</b>: foreach() argument must be of type array|object, null given in <b>C:\xampp2\htdocs\vendor\dashticz\garbage\index.php</b> on line <b>369</b><br />
Code: Select all
curl -H "x-consumer: recycleapp.be" -H "x-secret: Qp4KmgmK2We1ydc9Hxso5D6K0frz3a9raj2tqLjWN5n53TnEijmmYz78pKlcma54sjKLKogt6f9WdnNUci6Gbujnz6b34hNbYo4DzyYRZL5yzdJyagFHS15PSi2kPUc4v2yMck81yFKhlk2aWCTe93" "https://recycleapp.be/api/app/v1/access-token" > accesstoken.json
Code: Select all
{"host":"http://api-http:8080","identifier":"25d0abc2-4dd7-40c2-ab27-8be5b515fd71","timestamp":"2021-01-28T15:42:14.945Z","status":401,"name":"Unauthorized","message":"Missing authorization"}
Thanks, Jos. I'll try to implement the same.
Did you download the beta version of index.php?Rtificial wrote: ↑Monday 08 February 2021 9:50 So I did a quick test, just replaced the garbage index.php, and reconfigured again for recycleapp, though this still has the same problem for me.
As for iCal in the garbage collector, this doesn't seem to work with recurring events in the calendar, is that a known issue?
I had all my garbage collections as recurrings, and those worked only the first time. For tomorrow, I did not see any. Now I created a single even for tomorrow, and it shows up in the block.
Code: Select all
http://dashticz-ip:port/vendor/dashticz/garbage/index.php?service=recycleapp&street=...&sub=...&zipcode=...&nr=..&t=
An error on line 303 on $accessToken means you are using the master version ...Rtificial wrote: ↑Monday 08 February 2021 11:25 I indeed downloaded the beta version.
PHP is reported as 8.0.1
http://192.168.178.65:888/vendor/dashti ... &nr=190&t=
The response is :
<br />
<b>Warning</b>: Undefined property: stdClass::$accessToken in <b>C:\xampp2\htdocs\vendor\dashticz\garbage\index.php</b> on line <b>303</b><br />
<br />
<b>Warning</b>: Undefined property: stdClass::$items in <b>C:\xampp2\htdocs\vendor\dashticz\garbage\index.php</b> on line <b>321</b><br />
<br />
<b>Warning</b>: Trying to access array offset on value of type null in <b>C:\xampp2\htdocs\vendor\dashticz\garbage\index.php</b> on line <b>321</b><br />
<br />
<b>Warning</b>: Attempt to read property "id" on null in <b>C:\xampp2\htdocs\vendor\dashticz\garbage\index.php</b> on line <b>321</b><br />
<br />
<b>Warning</b>: Undefined property: stdClass::$items in <b>C:\xampp2\htdocs\vendor\dashticz\garbage\index.php</b> on line <b>343</b><br />
<br />
<b>Warning</b>: Trying to access array offset on value of type null in <b>C:\xampp2\htdocs\vendor\dashticz\garbage\index.php</b> on line <b>343</b><br />
<br />
<b>Warning</b>: Attempt to read property "id" on null in <b>C:\xampp2\htdocs\vendor\dashticz\garbage\index.php</b> on line <b>343</b><br />
<br />
<b>Warning</b>: Undefined property: stdClass::$items in <b>C:\xampp2\htdocs\vendor\dashticz\garbage\index.php</b> on line <b>369</b><br />
<br />
<b>Warning</b>: foreach() argument must be of type array|object, null given in <b>C:\xampp2\htdocs\vendor\dashticz\garbage\index.php</b> on line <b>369</b><br />
[]
Code: Select all
//afvalophaalkalender
blocks['mygarbage'] = {
company: 'avalex',
zipcode: '2622 km',
street: 'straat van malakka',
housenumber: xx,
maxitems: 6,
width: 12
}
Users browsing this forum: No registered users and 1 guest