Page 1 of 1
Block issues after update
Posted: Tue Oct 03, 2023 12:20 pm
by Sarrow
Updated my template to 19.0 and now have a strange block issue. I have the "meteogram" block installed and tried to modify the settings. But, whenever I attempt to do so, the block settings for another block ("lightenings") loads. I have tried deleting and reinstalling the both of these blocks without any change. Now my "moonPhase" block is also loading "lightenings" settings when I try to change settings. Other blocks seem OK.
This is way over my head as a non-expert in programming. Any suggestions out there? Hope I am just doing something dumb...
Thank you,
Steve
Re: Block issues after update
Posted: Mon Nov 13, 2023 3:15 pm
by alexvanuxem
maybe this is your answer?
viewtopic.php?t=2446#p12779
grtz
Alex
Re: Block issues after update
Posted: Sat Nov 18, 2023 3:23 pm
by Sarrow
Alex:
Thank you for your helpful input. I installed the new blockSetup file to the admin folder. Now I can access the screen to set up preferences for my meteogram block, which is progress! But meteogram does not load. Just a blank block on my main page. I have tried several times to make sure I have entered the location string properly. Any other ideas? I appreciate your help.
Steve
Re: Block issues after update
Posted: Sat Nov 18, 2023 4:40 pm
by lemimi
Good morning,
If I clear my cache of the recent history of my Firefox, Opera, Chrome browsers, I enter
https://sarrowweather.com/template/inde ... =meteogram, the block is displayed normally.
If I restart, empty block.
But if I relaunch only the address above, it's still ok!
Perhaps this is due to what is written after in the URL: #
https://api.met.no/weatherapi/locationf ... n=-72.6438
And maybe too much at the end of:
https://sarrowweather.com/template/indexDesktop.php
If this helps...
Good evening... Michel
Re: Block issues after update
Posted: Sat Nov 18, 2023 7:05 pm
by Sarrow
Michel:
Thank you very much for being kind enough to look at my issue. My wife is living near Annemasse/Geneva and I have really enjoyed spending time in your beautiful country.
The meteogram issue has been driving me insane. All was well with it (showing my home metetogram and my wife's in Geneva) before the meteotemplate update. She depends on it to check before her daily walks along the Arve! When I followed the steps you outlined, the block worked once and now is blank again. I am sorry, but I have no idea how to resolve this issue. If you have any suggestions, I would be grateful.
I appreciate your help,
Steve
Re: Block issues after update
Posted: Sat Nov 18, 2023 7:59 pm
by lemimi
I don't see what the point is:
#
https://api.met.no/weatherapi/locationf ... n=-72.6438
after the url. Maybe you should remove it in your configuration...
For testing, don't forget to clear your browser's cache, there is a chance that it will write down your old URL in full.
Good courage... Michel
You wrote:
Updated my template to 19.0 and now have a strange block issue.
Why not go back to version 18, if it works well?
I am myself in this version which works under php 8.2.
Re: Block issues after update
Posted: Sun Nov 19, 2023 4:03 pm
by Sarrow
Michel:
I must be really annoying you! Thank you for your patience. You have referred to
https://api.met.no/weatherapi/locationf ... n=-72.6438 after the url as a problem, and that perhaps my site url is incorrect? How do I change these? I have looked and looked and not found a way to do so.
Thanks,
Steve
Re: Block issues after update
Posted: Sun Nov 19, 2023 5:28 pm
by lemimi
Maybe you should check your
Main Setup, in the
Paths section.
Below is a screenshot of what is written in it for my address.

You should find this same information in the
config.php file,
lines 19 and 20.
For me this gives:
$path = '/';
$pageURL = '
https://lemimi.fr/template';
Have a nice end to the weekend... Michel