Author Topic: MBtags.php get blanked when updated **solved**  (Read 943 times)

0 Members and 1 Guest are viewing this topic.

Offline Ian.

  • Forecaster
  • *****
  • Posts: 404
    • Chatteris Weather
MBtags.php get blanked when updated **solved**
« on: October 08, 2017, 07:02:26 AM »
Hi,

My MB has been working fine until I did a recent update of AjaxMBwx.js and MB-trends-inc.php, i tried to regress but the problem still exists, this proberbly coincidental but the issue I have is that MBtags.php (file size 38,878) gets wiped on update to 0.

The link to gen-MBtags.php seems ok - https://www.chatteris.biz/gen-MBtags.php the only change from the original is the addition of 'mbuptime' on the last line.

As the link to MBtags.php would be blank, this link is to a copy - https://www.chatteris.biz/copy-MBtags.php?sce=dump

Any Ideas how to fix this?
« Last Edit: October 09, 2017, 02:28:18 PM by docbee »
CWOP - DW3371
PWS - ICAMBRID16
https://www.chatteris.biz

Offline wvdkuil

  • Wim van der kuil
  • Forecaster
  • *****
  • Posts: 1455
    • My PWS at Leuven Belgium Europe
Re: MBtags.php get blanked when updated
« Reply #1 on: October 08, 2017, 08:39:52 AM »
Hi,

My MB has been working fine until I did a recent update of AjaxMBwx.js and MB-trends-inc.php, i tried to regress but the problem still exists, this proberbly coincidental but the issue I have is that MBtags.php (file size 38,878) gets wiped on update to 0.

The link to gen-MBtags.php seems ok - https://www.chatteris.biz/gen-MBtags.php the only change from the original is the addition of 'mbuptime' on the last line.

As the link to MBtags.php would be blank, this link is to a copy - https://www.chatteris.biz/copy-MBtags.php?sce=dump

Any Ideas how to fix this?
The most common cause of an empty uploaded file: MB needs to reload the template.

Click the "Reload Template" button just above the "gen-MBtags.php" FTP setup on the Meteobridge Services tab.

Wim
Support for Leuven-Template & Scripts  at this forum
Support for the PWS_Dashboard (HWS-template) for WD a.o.  http://pwsdashboard.weather-template.com/
Script sponsors https://support.leuven-template.eu/userlistScripts.php
Template sponsors https://support.leuven-template.eu/userlist.php

Offline Ian.

  • Forecaster
  • *****
  • Posts: 404
    • Chatteris Weather
Re: MBtags.php get blanked when updated
« Reply #2 on: October 08, 2017, 09:01:18 AM »
Hi Wim,

Thank you so much, that seems to have solved it.

All the best

Ian
CWOP - DW3371
PWS - ICAMBRID16
https://www.chatteris.biz

Offline atlantic

  • Member
  • *
  • Posts: 6
    • http://www.pelzerwilliamston.com
Re: MBtags.php get blanked when updated **solved**
« Reply #3 on: January 05, 2019, 07:50:36 PM »
I seem to be having the same problem myself. Everything worked fine until a couple of weeks ago. When I try to reload the template I receive this error:
Error (Event #01): Download of template failed: https://pelzerwilliamston.com/gen-MBtags.php: HTTPS support not compiled in.

I'm able to download the file with any FTP client and also have a sister station using the same setup and same webserver so don't think that's the problem.
Any ideas?
« Last Edit: January 05, 2019, 08:05:04 PM by atlantic »

Offline saratogaWX

  • Administrator
  • Forecaster
  • *****
  • Posts: 7452
  • Saratoga, CA, USA Weather - free PHP scripts
    • Saratoga-Weather.org
Re: MBtags.php get blanked when updated **solved**
« Reply #4 on: January 05, 2019, 09:56:48 PM »
The message
Quote
HTTPS support not compiled in.
means that docbee (Boris) would need to answer.. I think it means that HTTPS support is not available in your Meteobridge firmware version.  You can switch to HTTP instead for your request, however, if your site automatically redirects http->https, then it will also fail.  If that happens, temporarily turn off the http->https redirect, reload the template using http, then put the redirect back in place.. it should work until your Meteobridge is restarted.
Ken True/Saratoga, CA, USA main site: saratoga-weather.org
Davis VP1+ FARS, Boltek-PCI/NexStorm, microSferics ToA, Blitzortung RED, GRLevel3, WD, WL, VWS, Cumulus, Meteobridge/hub
Free weather PHP scripts/website templates - update notifications on Twitter saratogaWXPHP

Offline atlantic

  • Member
  • *
  • Posts: 6
    • http://www.pelzerwilliamston.com
Re: MBtags.php get blanked when updated **solved**
« Reply #5 on: January 05, 2019, 10:28:09 PM »
Thanks! That was the problem. Now that you mention it the problem started after a MB reboot.

Hopefully Boris can update the Meteobridge firmware to correct this.
Current Firmware Information:
Platform:    TL-MR3020  (plus USB hub)
RAM: 29364 kB total, 3840 kB free (86% used)
SW Version: Meteobridge 3.8 (Dec 24 2018, build 12603), FW 1.4
« Last Edit: January 05, 2019, 10:48:56 PM by atlantic »

Offline Jasiu

  • Forecaster
  • *****
  • Posts: 568
    • LexMAWeather
Re: MBtags.php get blanked when updated **solved**
« Reply #6 on: January 05, 2019, 11:03:07 PM »
I'm on:

  Meteobridge 3.7 (Sep 28 2018, build 12365), FW 1.4

and it works for me, so yeah, looks like a problem with 3.8.

Offline Jasiu

  • Forecaster
  • *****
  • Posts: 568
    • LexMAWeather
Re: MBtags.php get blanked when updated **solved**
« Reply #7 on: January 05, 2019, 11:07:46 PM »
In the Maintenance section of the Services tab, next to Version Control, does it give you the option to "stick to version 3.7"? You could try that in the meantime.

Offline docbee

  • Moderator
  • Forecaster
  • *****
  • Posts: 721
    • smartbedded
Re: MBtags.php get blanked when updated **solved**
« Reply #8 on: January 09, 2019, 09:51:56 AM »
Can you please paste in the service upload definition that raises the error?
founder of smartbedded.com - home of meteohub, meteoplug, meteobridge, meteostick

Offline atlantic

  • Member
  • *
  • Posts: 6
    • http://www.pelzerwilliamston.com
Re: MBtags.php get blanked when updated **solved**
« Reply #9 on: January 12, 2019, 09:29:31 AM »
Is this what you're referring to?
 [ You are not allowed to view attachments ]

Currently I have the redirect in the .htaccess file removed.
« Last Edit: January 12, 2019, 05:45:08 PM by atlantic »