Search found 22 matches

by jmcafee
Tue Jul 06, 2021 4:13 am
Forum: Problems
Topic: Indoor T/H data no longer tabulates or plots after a specific date/time
Replies: 6
Views: 7137

Re: Indoor T/H data no longer tabulates or plots after a specific date/time

@davidefa: You are so smart! The indoor table does not have any data beyond the June 24 cutoff. This gives me a clue as to where to track down the problem.

Thank you.
by jmcafee
Fri Jul 02, 2021 6:14 pm
Forum: Problems
Topic: Indoor T/H data no longer tabulates or plots after a specific date/time
Replies: 6
Views: 7137

Re: Indoor T/H data no longer tabulates or plots after a specific date/time

Thanks for the suggestion. The data is current for both installations, as indicated previously, which means the cron job is running (and so verified). The reason for the 'admin only' is for security -- good thinking by Jachym. Not a good idea to allow visitors to analyze data that could reveal a pat...
by jmcafee
Thu Jul 01, 2021 12:24 am
Forum: Problems
Topic: Indoor T/H data no longer tabulates or plots after a specific date/time
Replies: 6
Views: 7137

Re: Indoor T/H data no longer tabulates or plots after a specific date/time

@davidefa: The Indoor data analysis is reserved for admins only, except for the block on the home page. Is there something you would like for me to try?
by jmcafee
Wed Jun 30, 2021 10:44 pm
Forum: Problems
Topic: Indoor T/H data no longer tabulates or plots after a specific date/time
Replies: 6
Views: 7137

Indoor T/H data no longer tabulates or plots after a specific date/time

MT v18.0, indoor temperature and humidity block v7.0, station data v10.0, indoor data v4.0 (all current). I have 2 separate weather stations and MT installations, each of which reports the Indoor T/H. The Indoor Conditions of the Weather Station Data section will not display or plot any data after 0...
by jmcafee
Wed May 29, 2019 3:17 am
Forum: Problems
Topic: API SQL Commands Drive High Server Resouces Utilization
Replies: 6
Views: 9783

Re: API SQL Commands Drive High Server Resouces Utilization

Hey Jachym, Here is the evidence that there is a problem with line 1482 ("ALTER TABLES...") in api.php that isn't executing as you expect. The snapshot of the last 7 days of the db I/O is instructive: Section 1 is where the 2 api.php files (for both websites) is unmodified from the 17.1 up...
by jmcafee
Tue May 28, 2019 3:37 am
Forum: Problems
Topic: API SQL Commands Drive High Server Resouces Utilization
Replies: 6
Views: 9783

Re: API SQL Commands Drive High Server Resouces Utilization

One other observation. My Notepad++ editor indicates that the original api.php has Windows style EOL (CRLF). When I saved my version with the ALTER TABLE command commented out, it was saved as a Unix EOL (LF) and about 1600 bytes smaller. It it possible that the EOL makes a difference?
by jmcafee
Mon May 27, 2019 8:56 pm
Forum: Problems
Topic: API SQL Commands Drive High Server Resouces Utilization
Replies: 6
Views: 9783

Re: API SQL Commands Drive High Server Resouces Utilization

Hi,
I am using v17.1 of MT, api.php v3.1.

Attached is the snapshot of the DB I/O for the last 30 days. The dramatic drop in I/O is where I edited the api.php file.

Your thoughts?
Screenshot_2019-05-27 cPanel - Resource Usage Overview.png
Screenshot_2019-05-27 cPanel - Resource Usage Overview.png (61.57 KiB) Viewed 9752 times
by jmcafee
Fri May 24, 2019 11:32 am
Forum: Problems
Topic: API SQL Commands Drive High Server Resouces Utilization
Replies: 6
Views: 9783

API SQL Commands Drive High Server Resouces Utilization

My web host throttled my server resources, crippling the web site performance, because MT was consuming excessive server resources. I made an edit to the api.php file that dramatically reduced utilization, made my host happy, and restored full server resources and web site performance. Thus far I ha...
by jmcafee
Fri May 24, 2019 10:47 am
Forum: Problems
Topic: Do Your SteelSeries Gauges Not Display?
Replies: 0
Views: 7632

Do Your SteelSeries Gauges Not Display?

If your SteelSeries gauges block or plugin page suddenly becomes blank (no gauges), it could be that your web host has added protective measures that will block the JavaScript found in 3 files for block v3.1 and plugin v4.0 (and likely older versions). As explained here, http://meteotemplate.com/for...
by jmcafee
Sun Aug 05, 2018 4:36 am
Forum: General
Topic: Jachym: tranition meteotemplate.com to https?
Replies: 3
Views: 5195

Jachym: tranition meteotemplate.com to https?

Hey Jachym, The SSL train has left the station, thanks to Google and Mozilla, and it isn't coming back. At some point we need to heed the push for better browser security and embrace the transition to https for all web activity. The Meteotemplate forum login looks like it passes credentials in clear...
by jmcafee
Sat Jun 09, 2018 9:29 pm
Forum: General
Topic: Pay attention: Cron job command line parameter syntax
Replies: 1
Views: 15820

Pay attention: Cron job command line parameter syntax

If you need to run several different cron job scripts, don't assume (like I did) that the command line syntax is identical. The cron.php script in /load parses the command line password from " password =<update password>" The update.php script in /plugins/metoehub parses the command line p...
by jmcafee
Sat Jun 02, 2018 5:26 am
Forum: Installation
Topic: Your choice of server host makes a big difference
Replies: 5
Views: 8023

Your choice of server host makes a big difference

Meteotemplate relies heavily on server based routines like PHP and MySQL. Your choice of host can make a gigantic difference on the performance of your website. For the better part of eternity I have used a commercial hosting provider that features a (now former) professional race car driver as one ...
by jmcafee
Sat Jun 02, 2018 2:05 am
Forum: Installation
Topic: Tips on migrating MySQL database to new server
Replies: 1
Views: 3844

Tips on migrating MySQL database to new server

I ran into unexpected roadblocks to data migration between servers that required much trial and error to overcome. The unanticipated problems mostly revolve around database tables with many records, and different versions of MySQL. I hope my experience can help anticipate and mitigate the frustratio...
by jmcafee
Wed May 30, 2018 3:51 am
Forum: Problems
Topic: "Block Installation" Page is Blank
Replies: 6
Views: 9822

Re: "Block Installation" Page is Blank

Oh, yes, saved the setup; and plenty more.
by jmcafee
Tue May 29, 2018 4:16 am
Forum: Problems
Topic: "Block Installation" Page is Blank
Replies: 6
Views: 9822

"Block Installation" Page is Blank

Using MT 17.0 After migrating the website to a new server, the "Block Installation" (Install New Blocks) page does not list any blocks. I did only a partial re-installation, trying to copy and keep as much of the previous site intact. The page listing all of the installed blocks correctly ...
by jmcafee
Mon Oct 23, 2017 4:24 am
Forum: Problems
Topic: partnerStations Block Mobile Page Incorrect Scaling
Replies: 6
Views: 7406

Re: partnerStations Block Mobile Page Incorrect Scaling

With all due respect, Jachym, please look at this and tell me if it is readable in mobile browser (it is clearly different from other blocks): http://jsmcafee.com/mtemplate/sunriver/indexMobile.php
by jmcafee
Sun Oct 22, 2017 1:52 am
Forum: Problems
Topic: partnerStations Block Mobile Page Incorrect Scaling
Replies: 6
Views: 7406

Re: partnerStations Block Mobile Page Incorrect Scaling

The block scales correctly with the following modification of the code:

mainMobile.php: comment out line 339 "font-size: 1.5vw;"
by jmcafee
Sun Oct 22, 2017 12:23 am
Forum: Problems
Topic: partnerStations Block Mobile Page Incorrect Scaling
Replies: 6
Views: 7406

Re: partnerStations Block Mobile Page Incorrect Scaling

Jachym,

There is only a single column spanning the entire page width. So your suggestion to put it in a wider column is not possible. I even put it in the footer, with the same result of incorrect scaling.
by jmcafee
Thu Oct 12, 2017 4:10 am
Forum: Problems
Topic: partnerStations Block Mobile Page Incorrect Scaling
Replies: 6
Views: 7406

partnerStations Block Mobile Page Incorrect Scaling

partnerStations Block 3.0, MT 16.0 Android 7.0, Chrome 61.0.3, FF 56 The block scales correctly in the desktop page. In a mobile page the block size is 100%. In the portrait view all text and most graphics are extremely small and unreadable without zoom. In the landscape view the text is larger and ...
by jmcafee
Sat Oct 07, 2017 7:09 pm
Forum: Problems
Topic: partnerStations Block 3.0 missing icon directory
Replies: 1
Views: 2855

partnerStations Block 3.0 missing icon directory

Installed the Partner Stations Block 3.0 using the automated upload/install. The /icons sub-directory is missing, thus the icon for the wx station doesn't display.
by jmcafee
Sat Oct 07, 2017 3:42 am
Forum: Problems
Topic: Auto-updates
Replies: 158
Views: 256772

Re: Auto-updates

Hey Jachym,

Your summary of why the updates aren't working does not include the PHP ZIP option issue that several of us have posted. Could this be more central to the issue than users report (not knowing about it or how to fix)?
by jmcafee
Wed Oct 04, 2017 3:36 am
Forum: Problems
Topic: Auto-updates
Replies: 158
Views: 256772

Re: Auto-updates

OK for blocks; no plugins needed updating so I could not test. BUT, I had to enable "zip" in the PHP options for the updates to work. Great job on the v15->16 update and auto-update feature. Please do not deprecate the auto-update function if the configuration can get worked out (like enab...