Any Ideas here
-
spd2612
- Forecaster

- Posts: 192
- Joined: Thu Jan 23, 2020 4:00 pm
- Location: Jonesboro Ar
- Station model: Davis Pro 2
- Software: Meteobridge Pro 2
- Contact:
Any Ideas here
Initially I had issues getting Meteotemplate to update from WU, stayed offline. I am on a virtual server 2016 windows os system, 12 cores 16gb ram IIS 10(Servers are in house) I have three versions of PHP on that server all with the same extensions, 7.1.19, 7.0.30 64 bit and 5.3.28 32 bit
I changed that site to 7.1.19 and Meteotemplate runs fine. I decided to install StickersWU and the sticker would come up but with no data see my signature. I changed back to 7.0.30 and the sticker works as designed but Meteotemplate wont update again. I tried 5.3.28 32 bit but Meteotemplate wont even load.
Any Ideas
Ok I also registered PHP 7.2.7 and stickers dont have any data
I changed that site to 7.1.19 and Meteotemplate runs fine. I decided to install StickersWU and the sticker would come up but with no data see my signature. I changed back to 7.0.30 and the sticker works as designed but Meteotemplate wont update again. I tried 5.3.28 32 bit but Meteotemplate wont even load.
Any Ideas
Ok I also registered PHP 7.2.7 and stickers dont have any data
-
andyk1
- Professional

- Posts: 433
- Joined: Tue Feb 27, 2018 10:56 pm
- Location: OKLAHOMA, USA
- Station model: Ecowitt WS90
- Software: Meteobridge/GW2000B
- Contact:
Re: Any Ideas here
Looks like the paths or parts of sticker setup is missing.
Mine looks like:
only change the paths, location, and color. It should work for you.
Mine looks like:
Code: Select all
[url=https://www.nicomaparkwx.com][img]https://www.nicomaparkwx.com/wx/plugins/stickers/stickerInteractiveAnim.php?text=Nicoma%20Park,%20Oklahoma&bgColor=212121&type=random[/img][/url]-
spd2612
- Forecaster

- Posts: 192
- Joined: Thu Jan 23, 2020 4:00 pm
- Location: Jonesboro Ar
- Station model: Davis Pro 2
- Software: Meteobridge Pro 2
- Contact:
Re: Any Ideas here
Well I tried every thing else and thank you for the reply but still don't workandyk1 wrote: ↑Fri Jan 31, 2020 12:59 am Looks like the paths or parts of sticker setup is missing.
Mine looks like:
only change the paths, location, and color. It should work for you.Code: Select all
[url=https://www.nicomaparkwx.com][img]https://www.nicomaparkwx.com/wx/plugins/stickers/stickerInteractiveAnim.php?text=Nicoma%20Park,%20Oklahoma&bgColor=212121&type=random[/img][/url]
-
andyk1
- Professional

- Posts: 433
- Joined: Tue Feb 27, 2018 10:56 pm
- Location: OKLAHOMA, USA
- Station model: Ecowitt WS90
- Software: Meteobridge/GW2000B
- Contact:
Re: Any Ideas here
If you do a search here for the sticker plugin you should be able to find a tread talking about the setup process.
Andy
Andy
-
spd2612
- Forecaster

- Posts: 192
- Joined: Thu Jan 23, 2020 4:00 pm
- Location: Jonesboro Ar
- Station model: Davis Pro 2
- Software: Meteobridge Pro 2
- Contact:
Re: Any Ideas here
Well I have worked on this for days I can create a test.php file using
###imagestring($im, 1, 5, 5, 'A Simple Text String', $text_color);###
and it works. its able to print text from the stickers folder to a web page.
You can see in my signature that it does display image and icons, so php/GD is doing its job there.
My only conclusion is it is not getting the data from the DB
I have checked error logs and nothing
also GD has all the necessary ad-dons unless there is one I am not seeing.
PHP Ver. 7.1.19
GD Version | bundled (2.1.0 compatible)
FreeType Support | 1
FreeType Linkage | with freetype
GIF Read Support | 1
GIF Create Support | 1
JPEG Support | 1
PNG Support | 1
WBMP Support | 1
XPM Support | 1
XBM Support | 1
WebP Support | 1
JIS-mapped Japanese Font Support |
array(12) { ["GD Version"]=> string(26) "bundled (2.1.0 compatible)" ["FreeType Support"]=> bool(true) ["FreeType Linkage"]=> string(13) "with freetype" ["GIF Read Support"]=> bool(true) ["GIF Create Support"]=> bool(true) ["JPEG Support"]=> bool(true) ["PNG Support"]=> bool(true) ["WBMP Support"]=> bool(true) ["XPM Support"]=> bool(true) ["XBM Support"]=> bool(true) ["WebP Support"]=> bool(true) ["JIS-mapped Japanese Font Support"]=> bool(false) }
Actually now that I look at the signature which has text in the link and its not printing that either
###imagestring($im, 1, 5, 5, 'A Simple Text String', $text_color);###
and it works. its able to print text from the stickers folder to a web page.
You can see in my signature that it does display image and icons, so php/GD is doing its job there.
My only conclusion is it is not getting the data from the DB
I have checked error logs and nothing
also GD has all the necessary ad-dons unless there is one I am not seeing.
PHP Ver. 7.1.19
GD Version | bundled (2.1.0 compatible)
FreeType Support | 1
FreeType Linkage | with freetype
GIF Read Support | 1
GIF Create Support | 1
JPEG Support | 1
PNG Support | 1
WBMP Support | 1
XPM Support | 1
XBM Support | 1
WebP Support | 1
JIS-mapped Japanese Font Support |
array(12) { ["GD Version"]=> string(26) "bundled (2.1.0 compatible)" ["FreeType Support"]=> bool(true) ["FreeType Linkage"]=> string(13) "with freetype" ["GIF Read Support"]=> bool(true) ["GIF Create Support"]=> bool(true) ["JPEG Support"]=> bool(true) ["PNG Support"]=> bool(true) ["WBMP Support"]=> bool(true) ["XPM Support"]=> bool(true) ["XBM Support"]=> bool(true) ["WebP Support"]=> bool(true) ["JIS-mapped Japanese Font Support"]=> bool(false) }
Actually now that I look at the signature which has text in the link and its not printing that either
-
spd2612
- Forecaster

- Posts: 192
- Joined: Thu Jan 23, 2020 4:00 pm
- Location: Jonesboro Ar
- Station model: Davis Pro 2
- Software: Meteobridge Pro 2
- Contact:
Re: Any Ideas here
Just wanted to let you know I finally got it working.
I had a manual install PHP 7 on this server and added the other versions with “IIS Web PI “
I tried all versions with no luck. I was running that PHP 7 on 8 different sites on this server and there was no problems, however it would not work with Meteotemplate. It did work with stickers
I got desperate and unregistered that 7.0 and reinstalled it with WEB PI
Cant say what the problem was in any version as I have 4 versions of PHP on this server and all sites work well with them just not Meteotemplate.
Stickers and Meteotemplate are all working now.
I had a manual install PHP 7 on this server and added the other versions with “IIS Web PI “
I tried all versions with no luck. I was running that PHP 7 on 8 different sites on this server and there was no problems, however it would not work with Meteotemplate. It did work with stickers
I got desperate and unregistered that 7.0 and reinstalled it with WEB PI
Cant say what the problem was in any version as I have 4 versions of PHP on this server and all sites work well with them just not Meteotemplate.
Stickers and Meteotemplate are all working now.
-
andyk1
- Professional

- Posts: 433
- Joined: Tue Feb 27, 2018 10:56 pm
- Location: OKLAHOMA, USA
- Station model: Ecowitt WS90
- Software: Meteobridge/GW2000B
- Contact:
Re: Any Ideas here
I haven't read through all the replies but want to say I have read reports that MT is not fully compatible with the newest PHP version. Haven't heard from Jachym but am sure he is aware.
-
spd2612
- Forecaster

- Posts: 192
- Joined: Thu Jan 23, 2020 4:00 pm
- Location: Jonesboro Ar
- Station model: Davis Pro 2
- Software: Meteobridge Pro 2
- Contact:
Re: Any Ideas here
well I upgraded my PHP to 8.0.3 and stickers quit working
Guess I will have to wait for a new version of stickers
Guess I will have to wait for a new version of stickers
- Daali
- Advisor

- Posts: 56
- Joined: Mon Jul 26, 2021 8:06 pm
- Location: Georgia, US
- Station model: Ecowitt GW1002
- Software: Meteobridge, FOSHKplugin
- Contact:
Re: Any Ideas here
I've edited this post. Above was my original thought, but my dev server was still on php 7.3. It seems the largest issue with stickerInteractiveAnim.php is below:daali wrote:ok. I've looked at stickers in 8.05 and everything functions that I can test. I had to crop out the SQL data pulls, so it is not showing history.
Code: Select all
Array and string offset access syntax with curly braces is no longer supportedI'd roll back to 7.x
https://www.jeffersonweather.com
GW1000 gateway
WS68 Anemometer
WH40 Rain Gauge
WH32 Temp/Hum
WH57 Lightning
WH41 PM2.5 Air Quality
WH45 PM2.5/10/Co2 Air Quality
WN34S Soil temperature
WH31SM Soil Moisture
GW1000 gateway
WS68 Anemometer
WH40 Rain Gauge
WH32 Temp/Hum
WH57 Lightning
WH41 PM2.5 Air Quality
WH45 PM2.5/10/Co2 Air Quality
WN34S Soil temperature
WH31SM Soil Moisture
-
spd2612
- Forecaster

- Posts: 192
- Joined: Thu Jan 23, 2020 4:00 pm
- Location: Jonesboro Ar
- Station model: Davis Pro 2
- Software: Meteobridge Pro 2
- Contact:
Re: Any Ideas here
I dont understand this issue as everything else works fine on the site
- Daali
- Advisor

- Posts: 56
- Joined: Mon Jul 26, 2021 8:06 pm
- Location: Georgia, US
- Station model: Ecowitt GW1002
- Software: Meteobridge, FOSHKplugin
- Contact:
Re: Any Ideas here
I gave up on my dev server upgrading to php v8.x. every time I upgraded to phpv8, some crazy crap started happening with apache and/or mysql/phpadmin, where mysqli would not load. I cannot debug anything =(
All the compatibility checkers show various things that may be issues, may not be. Default changes(true/false) in string comparisons and some syntax changes in arrays seem to be the most flagged.
https://www.jeffersonweather.com
GW1000 gateway
WS68 Anemometer
WH40 Rain Gauge
WH32 Temp/Hum
WH57 Lightning
WH41 PM2.5 Air Quality
WH45 PM2.5/10/Co2 Air Quality
WN34S Soil temperature
WH31SM Soil Moisture
GW1000 gateway
WS68 Anemometer
WH40 Rain Gauge
WH32 Temp/Hum
WH57 Lightning
WH41 PM2.5 Air Quality
WH45 PM2.5/10/Co2 Air Quality
WN34S Soil temperature
WH31SM Soil Moisture
- Jolumarali
- Professional

- Posts: 252
- Joined: Sun Aug 20, 2017 2:06 pm
- Location: Lignerolles
- Station model: Vantage Vue
- Software: WlIP
- Contact:
Re: Any Ideas here
Forum
My guess is that I will try to make the newly prepared template compatible with PHP 8.0, but not the current one. Also, there is not that much new in PHP 8.0, it is slightly faster, but really only slightly. The huge speed step is between 5 and 7 (6 does not exist). Latest supported version by MT is PHP 7.4.
viewtopic.php?t=2037
My guess is that I will try to make the newly prepared template compatible with PHP 8.0, but not the current one. Also, there is not that much new in PHP 8.0, it is slightly faster, but really only slightly. The huge speed step is between 5 and 7 (6 does not exist). Latest supported version by MT is PHP 7.4.
viewtopic.php?t=2037
Station météo amateur Lignerolles
OS : Windows 11 Famille
Vantage Vue
Weatherlink 2.0 (WlIP)
Meteotemplate 18.0 Papaya
https://meteo-lignerolles.fr
José Luis
-
spd2612
- Forecaster

- Posts: 192
- Joined: Thu Jan 23, 2020 4:00 pm
- Location: Jonesboro Ar
- Station model: Davis Pro 2
- Software: Meteobridge Pro 2
- Contact:
Re: Any Ideas here
Well I went back to PHP 7.1.19
Still the stickers dont work
The entire site seems to be working fine
I verified the version in IIS and in Meteotemplate CP
PHP version
You are using PHP version 7.1.19, which is OK.
CURL extension
CURL extension is enabled on your server.
url_fopen
The url_fopen is enabled on your server.
Still the stickers dont work
The entire site seems to be working fine
I verified the version in IIS and in Meteotemplate CP
PHP version
You are using PHP version 7.1.19, which is OK.
CURL extension
CURL extension is enabled on your server.
url_fopen
The url_fopen is enabled on your server.
-
davidefa
- Expert

- Posts: 905
- Joined: Tue Jan 12, 2021 8:03 am
- Location: Italy
- Station model: WH2650
- Software: WH2650 (direct upload)
- Contact:
Re: Any Ideas here
I think you could have problems with true type support in php ( as nothing is written, even static text ).
Check it in php info in the gd section:
Check it in php info in the gd section:
-
spd2612
- Forecaster

- Posts: 192
- Joined: Thu Jan 23, 2020 4:00 pm
- Location: Jonesboro Ar
- Station model: Davis Pro 2
- Software: Meteobridge Pro 2
- Contact:
Re: Any Ideas here
well GD all looks good that does not look like a issue
Is ImageMagick required for it ?
Is ImageMagick required for it ?
-
spd2612
- Forecaster

- Posts: 192
- Joined: Thu Jan 23, 2020 4:00 pm
- Location: Jonesboro Ar
- Station model: Davis Pro 2
- Software: Meteobridge Pro 2
- Contact:
Re: Any Ideas here
I also got ImageMagick running and set my php version to 7.4.2 But as you can see still dont work
-
davidefa
- Expert

- Posts: 905
- Joined: Tue Jan 12, 2021 8:03 am
- Location: Italy
- Station model: WH2650
- Software: WH2650 (direct upload)
- Contact:
Re: Any Ideas here
I think there is problem with IIS and the fonts.
This is what I found searching for 'php iis imagettftext':
https://tng.community/index.php?/forums ... -php-7126/
https://github.com/e107inc/e107/issues/ ... -355813801
https://forums.iis.net/t/1200939.aspx?i ... +find+font
The quick workaround solution proposed is to use realpath() around the font file name in imagettftext()
Attached the modified stickerInteractive.php script.
You can also check the php error log or you can also try with different font names ( not sure if it can access system fonts )
This is what I found searching for 'php iis imagettftext':
https://tng.community/index.php?/forums ... -php-7126/
https://github.com/e107inc/e107/issues/ ... -355813801
https://forums.iis.net/t/1200939.aspx?i ... +find+font
The quick workaround solution proposed is to use realpath() around the font file name in imagettftext()
Attached the modified stickerInteractive.php script.
You can also check the php error log or you can also try with different font names ( not sure if it can access system fonts )
- Attachments
-
- stickerInteractive.zip
- (4.79 KiB) Downloaded 664 times
-
spd2612
- Forecaster

- Posts: 192
- Joined: Thu Jan 23, 2020 4:00 pm
- Location: Jonesboro Ar
- Station model: Davis Pro 2
- Software: Meteobridge Pro 2
- Contact:
Re: Any Ideas here
Well I tried there is no errors for Hurricanepub.com in my PHP 7.4.2 error log
And the realpath did not work It used to work not sure whats going on
And the realpath did not work It used to work not sure whats going on