riset block doesn't load

Post Reply
User avatar
Asobig
Advisor
Advisor
Posts: 72
Joined: Mon Aug 21, 2017 7:05 am
Location: Almere
Station model: Davis Vantage VP2+
Software: Meteobridge (Red)
Contact:

riset block doesn't load

Post by Asobig » Fri Dec 08, 2017 10:41 am

For some reason, my riset block will not load.
The logo keeps spinning for ever.
I tried to change the units in the setup, but that makes no difference.

These are the setting in config.php:

$stationLat = 52.4026;
$stationLon = 5.3215;
$stationCountry = 'nl';
$stationLocation = 'Almere';
$stationState = 'FL';
$stationTZ = 'Europe/Amsterdam';
$stationMETAR = 'EHAM';

$dateFormat = 'd-m-Y';
$timeFormat = 'H:i';
$dateTimeFormat = 'Y-m-d H:i';
$prefferedDate = 'M';
$prefferedTime = '24h';
$firstWeekday = 1;

$graphTimeFormat = '%H:%M';
$graphDateFormat = '%d- %m';

The block should load just below Cloud temperature (Wolktemperatuur).

The link is in my footer.

User avatar
Jachym
Site Admin
Site Admin
Posts: 1686
Joined: Fri Aug 18, 2017 10:12 pm
Location: Brno, Czech Republic
Station model: WH1080
Software: Meteobridge
Contact:

Re: riset block doesn't load

Post by Jachym » Fri Dec 08, 2017 2:45 pm

This is the error:

Fatal error: Uncaught Error: Call to undefined function gregoriantojd()

however this is a standard PHP function so it must be missing in your PHP installation

User avatar
Asobig
Advisor
Advisor
Posts: 72
Joined: Mon Aug 21, 2017 7:05 am
Location: Almere
Station model: Davis Vantage VP2+
Software: Meteobridge (Red)
Contact:

Re: riset block doesn't load

Post by Asobig » Fri Dec 08, 2017 3:47 pm

It works, thanks Jachym!!!
It seems that on a Synology NAS the calendar extension is disabled by default.

User avatar
Fraggboy
Forecaster
Forecaster
Posts: 193
Joined: Wed Sep 27, 2017 2:45 pm
Location: Sunny California
Station model: Bloomsky II + Storm
Software: Bloomsky
Contact:

Re: riset block doesn't load

Post by Fraggboy » Fri Dec 08, 2017 4:05 pm

Asobig wrote: Fri Dec 08, 2017 3:47 pm. . .It seems that on a Synology NAS the calendar extension is disabled by default.

... Derailing off-topic ...
Yay! Another user running from their Synology NAS!! :)

What model are you running? I upgraded recently. I was running a DS413J which served me well. I needed more 'power' under the hood since I really wanted to run a Minecraft sever on it as well (It wasn't keeping up).

I now have a DS916+ (8GB memory) and love it. I just found out they came out with a DS918+.. :roll:

... Back on track now ...
There was a php extension that wasn't enabled which messed up my Bloomsky plugin. I was 'blindly' checking all of the options focused around sql and it started working.
Image

User avatar
Asobig
Advisor
Advisor
Posts: 72
Joined: Mon Aug 21, 2017 7:05 am
Location: Almere
Station model: Davis Vantage VP2+
Software: Meteobridge (Red)
Contact:

Re: riset block doesn't load

Post by Asobig » Fri Dec 08, 2017 5:57 pm

I got a DS1512+ with 3 GB of memory. Now almost 5 years old, but still going strong.
I'm on a fiber connection 500/500 Mb so it's really fast.

A few month ago i upgraded form PHP 5.6 to 7.0 and from that moment the riset block didn't work anymore, never linked it to the calendar extension.

User avatar
Fraggboy
Forecaster
Forecaster
Posts: 193
Joined: Wed Sep 27, 2017 2:45 pm
Location: Sunny California
Station model: Bloomsky II + Storm
Software: Bloomsky
Contact:

Re: riset block doesn't load

Post by Fraggboy » Fri Dec 08, 2017 6:07 pm

I wish I have fiber. I'm fortunate with my somewhat decent speed out in the 'boonies', ROFL.

I do like that no php extensions are enabled by default (Trim down the resources), but it has tripped me up on occasion as well.

You have a nice 5-bay there. That's what I really love about Synology. Their EOL is very generous in which they keep supporting the older version for quite some time. My old one was just limited in hardware which required the upgrade. I'm sure I will be getting 5+ years out of mine also.
Image

Paul779
Newbie
Newbie
Posts: 2
Joined: Thu Mar 29, 2018 8:20 pm
Station model: Davis Pro 2
Software: Weather display
Contact:

Re: riset block doesn't load

Post by Paul779 » Sat Mar 31, 2018 4:24 pm

Sorry to drag this up but i have same issue as i found out over on the wxforum, how do you fix it is there some code i can add to the php.ini file

Paul779
Newbie
Newbie
Posts: 2
Joined: Thu Mar 29, 2018 8:20 pm
Station model: Davis Pro 2
Software: Weather display
Contact:

Re: riset block doesn't load

Post by Paul779 » Sat Mar 31, 2018 8:21 pm

Paul779 wrote: Sat Mar 31, 2018 4:24 pm Sorry to drag this up but i have same issue as i found out over on the wxforum, how do you fix it is there some code i can add to the php.ini file
Sorted it switched to php 7.0 on server :D

Post Reply