Community Support

[This post is marked as unsolved] Bad file format  

  RSS
Claus Falk Jensen
(@claus-falk)
New Member

Hi try to install my vantage pro

uploads fine to WU

but when i try to set up for weatherlink it makes this fail

<?php

namespace WeatherStationSDKGenericFetcher;

/**
* @package IncludesLibraries
* @author Originally written by Christian Flach < https://github.com/cmfcmf>.
* @author Modified by Pierre Lannoy < https://pierre.lannoy.fr/>.
* @since 3.0.0
* @license MIT
*/
class FileGetContentsFetcher implements FetcherInterface
{
/**
* {@inheritdoc}
*/
public function fetch($url)
{
return file_get_contents($url);
}
}

 

Returns with Bad file format

what to do

on

windows 10 X64

Quote
Posted : 06/10/2017 1:03 pm
Pierre Lannoy
(@pierre-lannoy)
Member Admin

Hello Claus! Sorry to hear that... Could you tell me what "type" of station you've choosen (when adding it in Weather Station) and what is the public url of the file (if it is public)? Thanks

If you like Weather Station, please consider to make a review to help make it known. That would be the best way to thank me...

ReplyQuote
Posted : 06/10/2017 1:19 pm
Pierre Lannoy
(@pierre-lannoy)
Member Admin

Hello. Please could you tell me: - what type of station you've choosen (when adding it in Weather Station) : stickertags, realtime, clientraw, etc. - what type of source: local file, http/https, ftp/ftps - the string you've typed in source name - what are the error or warning events in Weather Station events log Thanks.

If you like Weather Station, please consider to make a review to help make it known. That would be the best way to thank me...

ReplyQuote
Posted : 15/10/2017 11:46 pm
Pierre Lannoy
(@pierre-lannoy)
Member Admin

Is it the same error, or is it a new one? Could you tell me what is your php version?

If you like Weather Station, please consider to make a review to help make it known. That would be the best way to thank me...

ReplyQuote
Posted : 15/10/2017 11:53 pm
Claus Falk Jensen
(@claus-falk)
New Member

Hi and i have get my station tags to working order http://krantrold.dk/ is my page but i shall thank many times for your help and a good site greetings from Claus

ReplyQuote
Posted : 16/10/2017 2:02 am
Pierre Lannoy
(@pierre-lannoy)
Member Admin

Hello Claus!

I did not understand your problem. No more than the solution you found. But the main thing is that it works now...

Pierre

PS : Why did you delete some of your comments?

If you like Weather Station, please consider to make a review to help make it known. That would be the best way to thank me...

ReplyQuote
Posted : 16/10/2017 5:03 pm

To participate, please connect first!