Page 1 of 1

Leuven Templates and Meteobridge+error

Posted: Sun May 24, 2015 6:32 pm
by ursus
Hi !

Everithing goes fine with instalation but at the end :

Image

Image

Image

Only realtime.txt (gauges) works fine ?
Folder permissions are set correct...
Any idea what is going (i am doing) wrong ?

BRegards

Re: Leuven Templates and Meteobridge+error

Posted: Sun May 24, 2015 7:04 pm
by wvdkuil
You have to set the permissions for the upload folder correctly or the two files get a special owner.

The meteobridge is successful in uploading but as the error message says, the meteobridge can not delete the old file.
First rename the current tags.php and yfwindow.xml to old..... Using your own ftp program.
Then probably meteobridge can upload its own files.

Also check if the folder uploadMB and the contents of the folder are set to 755.
Check the wiki

The uploaded temporary tags.php file is only zero characters long.
The template file could not be loaded by Meteobridge, again probably a permission setting or an extra space in the file name.
The yowindow.txt template was loaded as the uploaded temporary file has a normal length.

Succes,
Wim

Re: Leuven Templates and Meteobridge+error

Posted: Thu May 28, 2015 12:36 pm
by ursus
Sorry ,no success :(

Re: Leuven Templates and Meteobridge+error

Posted: Fri May 29, 2015 9:36 am
by wvdkuil
ursus wrote:Sorry ,no success :(
Well that is very strange

1. There are error messages as clear as tap-water.
1.1 "Error (event #o3) . . . .download of template failed error 404 not found"
In red at the top of the tab.

Did you solve that?
You removed the website name so I can not test that URL. Nobody can help you, only yourself.

Maybe there is an invisible space character after the name or another character I can not see that, you can.
Maybe there is a typing error in the area you blacked out? Only you can check that.

1.2 Error on live data tab:
"Could not delete old /public_html/weather2/uploadMB.tags.php . . . . . "

I realy do not know what is so difficult to understand there. Your permissions are not set correctly. Nearly every FTP program uploads a temp file, when finished uploading it deletes the old file and renames the temp. That way the scripts do not read a partly uploaded file as uploading takes a "long" time in script terms.
So in this case the FTP program is not allowed to delete the old file. I can not help you, only you can solve that.

These are not " Leuven-Template" problems, certainly not errors. And in my humble opinion certainly not meteobridge errors either.
These are your permissions as set on the uploadMB folder and ITS CONTENTS on the website you do not want to give the name (URL) of.

===

To do:
1. Set the permissions of the uploadMB/ folder and its contents to 755
2. Manualy change the permissions of the tags.txt file if there was no space or invisible character after the name in the FTP #02 setup
and use your browser to access that file with the text you copiued from the FTP#02 setup, just to check an invisible (to me) typing error

Then:
3. Make a screenshot of your uploadMB folder WITH the date/time fields
4. Delete the two files tags.php and yowindow.php
5. Delete the two temp files mb_+tags.php_ and mb_yowindow.php_
6. check after a few minutes if the new files arrived correctly
and if not
7. Make a second screenshot of your uploadMB folder WITH the date/time fields

If you want further answers or support you could fill a support ticket at the Leuven-Template support site .
But again without an URL there is not much I can do than guess what is the problem.

===
And the gauges work as the file used is arriving the HTTP way
which in webserver terms have a different owner compared to the FTP files
and compared to the person using a LAN to access files

Wim