Author Topic: Meteotemplate - new free website template  (Read 641312 times)

0 Members and 3 Guests are viewing this topic.

Offline Jáchym

  • Meteotemplate Developer
  • Forecaster
  • *****
  • Posts: 8605
    • Meteotemplate
Re: Meteotemplate - new free website template
« Reply #350 on: September 25, 2015, 06:21:11 PM »
You are welcome,  enjoy the template

Offline Jáchym

  • Meteotemplate Developer
  • Forecaster
  • *****
  • Posts: 8605
    • Meteotemplate
Re: Meteotemplate - new free website template
« Reply #351 on: September 25, 2015, 09:49:38 PM »
Please, donde mira Usted?

I just noticed one thing though, on your site, the css is not loading properly. Based on what I see it seems like your design2 color is not set properly, check that it is correct, currently it cannot find the right values, so the design2 parameter must be set incorrectly.

Offline Juan Mª Vilaro Sala

  • Member
  • *
  • Posts: 42
    • Meteo Badalona Progres
Re: Meteotemplate - new free website template
« Reply #352 on: September 26, 2015, 02:31:25 AM »
Good day, I just got your message, and I'm puzzled, because that is not what I have to rectify, what is the way to take the data correctly?
Thank you for your help

Offline Juan Mª Vilaro Sala

  • Member
  • *
  • Posts: 42
    • Meteo Badalona Progres
Re: Meteotemplate - new free website template
« Reply #353 on: September 26, 2015, 04:28:32 AM »
Hello, I have been introduced every month in 2013 and 10 month except if it appears, others do not appear, downloads all tell me success, which can be please.

Thank you

Offline Juan Mª Vilaro Sala

  • Member
  • *
  • Posts: 42
    • Meteo Badalona Progres
Re: Meteotemplate - new free website template
« Reply #354 on: September 26, 2015, 04:31:26 AM »

Offline Juan Mª Vilaro Sala

  • Member
  • *
  • Posts: 42
    • Meteo Badalona Progres
Re: Meteotemplate - new free website template
« Reply #355 on: September 26, 2015, 06:56:56 AM »
No se que hacer!!

Offline Jáchym

  • Meteotemplate Developer
  • Forecaster
  • *****
  • Posts: 8605
    • Meteotemplate
Re: Meteotemplate - new free website template
« Reply #356 on: September 26, 2015, 10:29:36 AM »
Hi, well it seems like you changed your admin password for the template from the default one, so I cant do anything.

The column numbers you should use are:

Temperature   5
Humidity   6
Pressure   8
Wind speed   9
Wind gust   10
Daily rain   13
Rain last minute   12
Wind Direction Degrees    11

For your password use the one you specified in config.php and if you have already tried importing something choose the "overwrite" option
« Last Edit: September 26, 2015, 10:31:29 AM by Jachym »

Offline Juan Mª Vilaro Sala

  • Member
  • *
  • Posts: 42
    • Meteo Badalona Progres
Re: Meteotemplate - new free website template
« Reply #357 on: September 26, 2015, 11:03:56 AM »
Sorry, I'm back to change the pasword (12345) so you can see what happens, columns with numbers are correct, the import is successful, but does not appear in the database, sent password you can look.

Thank you for your attentio

Offline Jáchym

  • Meteotemplate Developer
  • Forecaster
  • *****
  • Posts: 8605
    • Meteotemplate
Re: Meteotemplate - new free website template
« Reply #358 on: September 26, 2015, 11:27:04 AM »
Sorry, I'm back to change the pasword (12345) so you can see what happens, columns with numbers are correct, the import is successful, but does not appear in the database, sent password you can look.

Thank you for your attentio

Hi,
I just went to your site, yes the only month that is imported is the one I imported yesterday (Oct 2013) others were not in the database.

So I entered the column numbers I showed you, clicked import - and all the data was imported. I really dont know what you are doing wrong, because for me the import works normal.

Again:
This is what you have to use:

log file name:   201311.txt (or other months)
column numbers: see above
mode: overwrite
password: your adminPass from config.php

And the import works like this. Try 201312.txt



Offline Jáchym

  • Meteotemplate Developer
  • Forecaster
  • *****
  • Posts: 8605
    • Meteotemplate
Re: Meteotemplate - new free website template
« Reply #359 on: September 26, 2015, 12:06:28 PM »
One more thing. In the past I have noticed that in case of some servers there is a problem with import using IE.

Ideally, try importing the data using the best browser there is :)

P.S. I meant Chrome of course  :grin: :grin: :grin:

Offline Juan Mª Vilaro Sala

  • Member
  • *
  • Posts: 42
    • Meteo Badalona Progres
Re: Meteotemplate - new free website template
« Reply #360 on: September 26, 2015, 12:10:07 PM »
.. You know me wrong, I just did not appear 201312.txt and does it take too long to download? in the database?

Seguro que hay algo que hago mal y no se que es

Offline Jáchym

  • Meteotemplate Developer
  • Forecaster
  • *****
  • Posts: 8605
    • Meteotemplate
Re: Meteotemplate - new free website template
« Reply #361 on: September 26, 2015, 12:13:45 PM »
Hi,

yes your server does seem to be very slow, but it eventually does import. Plus, even if your server was slow, you might just not see some of the last days in the month, but in your case, nothing imports.

I suspect it must be the browser issue, did you try Chrome?

Offline Juan Mª Vilaro Sala

  • Member
  • *
  • Posts: 42
    • Meteo Badalona Progres
Re: Meteotemplate - new free website template
« Reply #362 on: September 26, 2015, 12:22:11 PM »
Firefox,

Offline Jáchym

  • Meteotemplate Developer
  • Forecaster
  • *****
  • Posts: 8605
    • Meteotemplate
Re: Meteotemplate - new free website template
« Reply #363 on: September 26, 2015, 12:32:04 PM »
OK,

so everytime I try importing something, it works, so far I imported Oct and Nov 2013. None of the months you tried worked.

So:

Try Chrome. I cannot think of anything else, I filled in everything as I posted above and if you replicated that then the browser is the only thing I can think of. Try Chrome.

if Chrome does not work for 201312.txt, let me know and I will import all your files

Offline Juan Mª Vilaro Sala

  • Member
  • *
  • Posts: 42
    • Meteo Badalona Progres
Re: Meteotemplate - new free website template
« Reply #364 on: September 26, 2015, 12:42:53 PM »
Since you do not, just try with Chrome, Firefox, Edge ..... he tells me that the download was successful, but ... does not occur, if you want you upload files 2013, 2014 and 2015 to have the entire database, do me this favor?

Thanks for your great interest

I love his magnificent template.

Offline Jáchym

  • Meteotemplate Developer
  • Forecaster
  • *****
  • Posts: 8605
    • Meteotemplate
Re: Meteotemplate - new free website template
« Reply #365 on: September 26, 2015, 12:49:00 PM »
Hi,

thanks, Im glad you like it.

listen, if you are struggling with the import, I will do it for you, but it will take some time and unfortunately I am at work now so I can always just quickly look here and I have to do other stuff. So I will do it, but I will do it later tonight when I get home. We are in the same timezone. It is now 7PM, I finish here at 8, then I tutor so I will get home around 11.30 PM. So, I will import your database, but it will be around midnight, not earlier. I will let you know once it is done. Also - make sure all your log files from 2013, 2014 and 2015 are uploaded to the server so that I can import them!!!

Best regards Jachym

Offline Juan Mª Vilaro Sala

  • Member
  • *
  • Posts: 42
    • Meteo Badalona Progres
Re: Meteotemplate - new free website template
« Reply #366 on: September 26, 2015, 06:04:54 PM »
Thank you

Offline Jáchym

  • Meteotemplate Developer
  • Forecaster
  • *****
  • Posts: 8605
    • Meteotemplate
Re: Meteotemplate - new free website template
« Reply #367 on: September 26, 2015, 06:10:59 PM »
I just got home 10 minutes ago... so I will eat something and look at your web. I hope it will only take maybe half an hour or hour to do. I will have to import the entire database and all log files and your server is also very slow.

Offline Juan Mª Vilaro Sala

  • Member
  • *
  • Posts: 42
    • Meteo Badalona Progres
Re: Meteotemplate - new free website template
« Reply #368 on: September 26, 2015, 06:14:45 PM »
Ok

Offline Jáchym

  • Meteotemplate Developer
  • Forecaster
  • *****
  • Posts: 8605
    • Meteotemplate
Re: Meteotemplate - new free website template
« Reply #369 on: September 26, 2015, 07:06:51 PM »
I imported one month, but you probably did not set config.php. The numbers are nonsense, you have temperatures of over 100 °C.

Either:
1. your logs are nonsense
or your units in config.php are not set properly. Did you follow the instructions in the wiki? Did you set the units correctly?

Offline Juan Mª Vilaro Sala

  • Member
  • *
  • Posts: 42
    • Meteo Badalona Progres
Re: Meteotemplate - new free website template
« Reply #370 on: September 26, 2015, 07:08:36 PM »
Ahora lo miro

Offline Juan Mª Vilaro Sala

  • Member
  • *
  • Posts: 42
    • Meteo Badalona Progres
Re: Meteotemplate - new free website template
« Reply #371 on: September 26, 2015, 07:11:25 PM »
   // Units in MySQL database - specify the units in which your data is saved in MySQL database
   $dataTempUnits = "C"; // C or F
   $dataRainUnits = "mm"; // mm or in
   $dataWindUnits = "kmh"; // ms, kmh, kt or mph
   $dataPressUnits = "hpa"; // hpa, mmhg, inhg

   // Display units - specify the default units in which you want your data to be shown on the web
   $displayTempUnits = "C"; // C or F
   $displayRainUnits = "mm"; // mm, cm or in
   $displayWindUnits = "kmh"; // ms, kmh, kt or mph
   $displayPressUnits = "hpa"; // hpa, mmhg, inhg
   $displayCloudbaseUnits = "m"; // m or ft
   $displayVisibilityUnits = "km"; // visibility units, km/mi/m

   //limits - these are limits for specific parameters. These limits will be used when uploading new or historical data to the database. If the value to be added is outside these limits, it will be ignored - this is for example to avoid inserting crazy values, which would subsequently bias averages etc. These limits are in the units to be saved in the db - i.e. the units you specified that are units of data in MySQL database.
   $limitTempMin = -100;
   $limitTempMax = 100;
   $limitHumidityMin = 0;
   $limitHumidityMax = 100;
   $limitPressureMin = 950;
   $limitPressureMax = 1100;
   $limitRainMin = 0;
   $limitRainMax = 200;
   $limitRainRateMin = 0;
   $limitRainRateMax = 500;
   $limitBearingMin = 0;
   $limitBearingMax = 360;
   $limitWindMin = 0;
   $limitWindMax = 200;
   $limitSolarMin = 0;
   $limitSolarMax = 2000;

Offline Jáchym

  • Meteotemplate Developer
  • Forecaster
  • *****
  • Posts: 8605
    • Meteotemplate
Re: Meteotemplate - new free website template
« Reply #372 on: September 26, 2015, 07:21:26 PM »
OK, can you also check and paste here what you have for:
$design and $design2 - there is a problem with that too

Offline Juan Mª Vilaro Sala

  • Member
  • *
  • Posts: 42
    • Meteo Badalona Progres
Re: Meteotemplate - new free website template
« Reply #373 on: September 26, 2015, 07:28:16 PM »
You mean I have to go back adescargar the template?

Offline Jáchym

  • Meteotemplate Developer
  • Forecaster
  • *****
  • Posts: 8605
    • Meteotemplate
Re: Meteotemplate - new free website template
« Reply #374 on: September 26, 2015, 07:33:24 PM »
There seems to be a problem with your server.

It is extremely slow, I tried your logs on my server and the import took about 7 seconds. When I do it on yours it often runs out of time after 30 seconds.

Now I even get this:

Failed to connect to MySQL: User meteobadalona already has more than 'max_user_connections' active connections

It seems like you either have very low limits in your php.ini or I fear the problem is that the hosting you use is just extremely slow and runs on some very slow servers. Even your whole page behaves extremely slowly.

Is this a free hosting?