Page 4 of 11
Re: IMPORTANT REQUEST!!!
Posted: Monday 22 October 2018 13:52
by Thuis
this is line 44 of the SG_iCal_Parser.php
$c = curl_init();
correct ?
Re: IMPORTANT REQUEST!!!
Posted: Monday 22 October 2018 15:10
by Thuis
well i tried several things like adding php_curl.dll in my php.ini file, copying dll files from php folder to apache24\bin folder. But i never get a curl in the phpinfo.php. Only the name of the module maker, which is Sterling Hughes by the way....
For now, i just leave it at this, i have to do some work. Tomorrow i will be switching and swapping files on the windows machine again ,to see if i can get it to work somehow :-p
Re: IMPORTANT REQUEST!!!
Posted: Monday 22 October 2018 15:35
by poudenes
Tried everything:
Updated the part in calendar.js
Code: Select all
if (settings['calendar_parse_localy']){
curUrl = './vendor/dashticz/ical/?time=' + cache + '&url=' + curUrl;
} else {
curUrl = 'https://MY WEBSITE/dashticz/ical/?time=' + cache + '&url=' + curUrl;
}
and add this in my CONFIG.js
Code: Select all
config['calendar_parse_localy']=false;
But no calendar is shown.
Re: IMPORTANT REQUEST!!!
Posted: Monday 22 October 2018 17:42
by HansieNL
Updated to beta 2.4.2 and installed: sudo apt-get install php7.0-curl
Calendar and TV Channels working great. Now I have only to get Garbage working.
Re: IMPORTANT REQUEST!!!
Posted: Monday 22 October 2018 17:47
by EdwinK
Still can't get it to work. Server is running on Synology with php7 and Curl enabled. Keep getting connection refused errors
Failed to load resource: net::ERR_CONNECTION_REFUSED
:8080/scripts/ical/?time=1540223287867&url=
https://calendar.google.com/calendar/ic ... asic.ics:1 Failed to load resource: net::ERR_CONNECTION_REFUSED
:8080/scripts/afval/?service=mijnafvalwijzer&sub=undefined&zipcode=3161LH&nr=27&t=:1 Failed to load resource: net::ERR_CONNECTION_REFUSED
Re: IMPORTANT REQUEST!!!
Posted: Monday 22 October 2018 17:53
by poudenes
HansieNL wrote: ↑Monday 22 October 2018 17:42
Updated to beta 2.4.2 and installed: sudo apt-get install php7.0-curl
Calendar and TV Channels working great. Now I have only to get Garbage working.
php7.0-curl was already running. Everything except Calendar is working
Re: IMPORTANT REQUEST!!!
Posted: Monday 22 October 2018 17:59
by HansieNL
[FIXED] @poudenes : You got your garbage running?
If I try
http://json.mijnafvalwijzer.nl/?method= ... oevoeging= in the browser I get a json response. Mmm...
Re: IMPORTANT REQUEST!!!
Posted: Monday 22 October 2018 18:28
by peerkersezuuker
To get the garbage running don't forget to edit function getGeneralData(service,address, date, random, subservice){ in the garbage.js.
Replace the dashticz.nl with you own domain
Re: IMPORTANT REQUEST!!!
Posted: Monday 22 October 2018 18:45
by HansieNL
[FIXED] @peerkersezuuker : I did change the domainsaddress and port to my own webserver. But no luck till now.
If I try
http://192.168.2.14:3000/dashticz/vendo ... L&nr=41&t= in the browser I get all the data I need, but not in the Garbage block

Re: IMPORTANT REQUEST!!!
Posted: Monday 22 October 2018 18:57
by EdwinK
Got thrash working. I had added portnumber, but I forgot I don't use a specific port for web on my synology
On to the next
Calendar also working

Re: IMPORTANT REQUEST!!!
Posted: Monday 22 October 2018 18:59
by peerkersezuuker
@HansieNL,
And when you enable the inspector from your browser and open your dashticz board, do yo see any errors in the console pane regarding your url ?
Re: IMPORTANT REQUEST!!!
Posted: Monday 22 October 2018 19:06
by HansieNL
peerkersezuuker wrote: ↑Monday 22 October 2018 18:59
@HansieNL,
And when you enable the inspector from your browser and open your dashticz board, do yo see any errors in the console pane regarding your url ?
Missed
function getGeneralData(service,address, date, random, subservice){ in the garbage.js.
Thanks for the help. Everything is up and running as it was before

Re: IMPORTANT REQUEST!!!
Posted: Monday 22 October 2018 19:18
by EdwinK
I just need tvguide and public transportation working. Then I'm real happy.
Re: IMPORTANT REQUEST!!!
Posted: Monday 22 October 2018 19:34
by poudenes
I get a ERROR 403 - Forbidden.
77.250.102.136 - - [22/Oct/2018:19:30:38 +0200] "GET /dashticz/ical/?time=1540229438248&url=
https://p28-calendars.icloud.com/publis ... YjJQOufb3g HTTP/1.1" 403 2348 "
http://192.168.100.18:8081/dashbeta/index2.html" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/69.0.3497.100 Safari/537.36"
find this URL in log file and tried open it in browser. Then get a error 403. (Yes paste the full URL

)
can someone tell me what this problem can be?
Re: IMPORTANT REQUEST!!!
Posted: Monday 22 October 2018 20:03
by jake
all you lucky ones. I don't get the curl module enabled. I ended up with PHP 5.6, 7.0 and 7.2
When I run the phpinfo.php file, it always gives me the php info of 5.6, but I don't see the module loaded/enabled
How should I proceed, delete 2 of 3 PHP versions?
And why do some use a specific port number, I simply added the afval folder in the same folder as the ical folder in /vendor/dashticz/ and pointed towards that in the garbage.js file. Is that the right way to do it?
Re: IMPORTANT REQUEST!!!
Posted: Tuesday 23 October 2018 1:03
by HansieNL
jake wrote: ↑Monday 22 October 2018 20:03
all you lucky ones. I don't get the curl module enabled. I ended up with PHP 5.6, 7.0 and 7.2
When I run the phpinfo.php file, it always gives me the php info of 5.6, but I don't see the module loaded/enabled
How should I proceed, delete 2 of 3 PHP versions?
And why do some use a specific port number, I simply added the afval folder in the same folder as the ical folder in /vendor/dashticz/ and pointed towards that in the garbage.js file. Is that the right way to do it?
Are you running your own webserver? I run my own webserver and is set to a different port.
I'm running nginx with php. You can find a good description how to do that on raspberrypi.org
https://www.raspberrypi.org/documentati ... r/nginx.md Maybe that solves your problem with the php version.
Re: IMPORTANT REQUEST!!!
Posted: Tuesday 23 October 2018 8:08
by pvm
Is it possible to configure ip address (and /or path) from config file?
Re: IMPORTANT REQUEST!!!
Posted: Tuesday 23 October 2018 9:23
by jake
HansieNL wrote:
Are you running your own webserver? I run my own webserver and is set to a different port.
I have Dashticz installed in /var/www/html and can access it from my tablet. Am I right to say that I therefore have an (apache) webserver running?
Phpinfo.php shows me the php information as well. When I look in the 'loaded modules', I don't see curl in the list.
- Spoiler: show
- core mod_so mod_watchdog http_core mod_log_config mod_logio mod_version mod_unixd mod_access_compat mod_alias mod_auth_basic mod_authn_core mod_authn_file mod_authz_core mod_authz_host mod_authz_user mod_autoindex mod_deflate mod_dir mod_env mod_filter mod_mime prefork mod_negotiation mod_php5 mod_reqtimeout mod_setenvif mod_status
Re: IMPORTANT REQUEST!!!
Posted: Tuesday 23 October 2018 10:12
by moses123
jake wrote: ↑Tuesday 23 October 2018 9:23
HansieNL wrote:
Are you running your own webserver? I run my own webserver and is set to a different port.
I have Dashticz installed in /var/www/html and can access it from my tablet. Am I right to say that I therefore have an (apache) webserver running?
Phpinfo.php shows me the php information as well. When I look in the 'loaded modules', I don't see curl in the list.
- Spoiler: show
- core mod_so mod_watchdog http_core mod_log_config mod_logio mod_version mod_unixd mod_access_compat mod_alias mod_auth_basic mod_authn_core mod_authn_file mod_authz_core mod_authz_host mod_authz_user mod_autoindex mod_deflate mod_dir mod_env mod_filter mod_mime prefork mod_negotiation mod_php5 mod_reqtimeout mod_setenvif mod_status
Install curl for php and change the parameter in the settings, thats all, no changed of anything in the code.
It is imported to use the latest beta.
Moses123
Re: IMPORTANT REQUEST!!!
Posted: Tuesday 23 October 2018 10:33
by jake
moses123 wrote:
Install curl for php and change the parameter in the settings, thats all, no changed of anything in the code.
It is imported to use the latest beta.
Moses123
I installed curl for php, but somehow it doesn't load. I don't think that having 3 versions on my system helps. Would I be better off to remove 2? If so, should I keep 5.6 or 7.2?