Page 1 of 1

template hosting problem

Posted: Sat Dec 16, 2017 2:13 pm
by evetsmd
does the template only function in the root directory of your host server.......I have tried to run the template from a folder in the root and the pages don't load properly.......my ISP says it's my problem.....

Thanks for any help!

Steve

Re: template hosting problem

Posted: Sat Dec 16, 2017 2:57 pm
by Jachym
Hi Steve,
it runs perfectly fine from a folder and I would even recommend doing so, on Linux servers it does not work properly in root (icons). Make sure you have the path correct.

Re: template hosting problem

Posted: Sat Dec 16, 2017 3:59 pm
by meteocaldas
Jachym wrote: Sat Dec 16, 2017 2:57 pm Hi Steve,
it runs perfectly fine from a folder and I would even recommend doing so, on Linux servers it does not work properly in root (icons).
Hi Jachym, I was planning to move MT to the root of my server, so the users will just need to type meteocaldas.com instead of meteocaldas.com/mtp.
My idea was to make MT the entrance of the site, so now I m a little confused.
Is there a way that users simply tipe meteocaldas.com and enter MT right away, without MT beeing on the root?
Thanks

Image

http://www.meteocaldas.com/mtp

Re: template hosting problem

Posted: Sat Dec 16, 2017 6:04 pm
by Jachym
download this file, change the extension from .txt to .html and save it as index.html in your server root.
Before you do it, change the "template" inside that file to the name of the folder you use (mtp)

http://www.meteotemplate.com/web/wiki/index.txt

Re: template hosting problem

Posted: Sat Dec 16, 2017 11:19 pm
by meteocaldas
Jachym wrote: Sat Dec 16, 2017 6:04 pm download this file, change the extension from .txt to .html and save it as index.html in your server root.
Before you do it, change the "template" inside that file to the name of the folder you use (mtp)

http://www.meteotemplate.com/web/wiki/index.txt
Thank you sooooo much Jachym!
It worked like a charm... and I never thought it could be so easy :D
You are a genius!

(I am not leaving it working by now, because former index.htm was from Cumulus and now I want to transfer all cumulus files to a different folder and update all the old links to realtime.txt... and to avoid any probems, I first need to create a backup and study the problem a little better, etc, etc.) :-)

Once again thank you so much for this fantastic way to solve my problem!

Image

Re: template hosting problem

Posted: Thu Dec 21, 2017 4:59 pm
by ChrisBoom
Thanks Jachym, the small forwarding file works much faster than the internal forwarding settings of my ISP, which randomly kills CSS for (equally random) files.

Re: template hosting problem

Posted: Tue Jan 02, 2018 1:01 pm
by evetsmd
Jachym.....Happy New Year.....

quote"it runs perfectly fine from a folder and I would even recommend doing so, on Linux servers it does not work properly in root (icons). Make sure you have the path correct."quote

I'm back on this issue again....I believe my ISP is using Linux Servers and I'd like to have meteotemplate work from within a folder on my root.....

Can u help me with how the path needs to be setup....right now I hv meteo setup in a folder called "meteo"

where do I set the path and what should the path look like....

Thanks for the help
Steve

Re: template hosting problem

Posted: Tue Jan 02, 2018 4:48 pm
by jay_hoehn
Steve,

Have you done the initial setup? As you follow down the setup page there is a place to set the path. If your meteo folder is one step below the root then enter /meteo/ Under that just put the URL of your site leaving off the /meteo/.

Jay

Re: template hosting problem

Posted: Tue Jan 02, 2018 5:15 pm
by evetsmd
Thanks Jay....I think I have it under control

http://www.bwsrh.com/meteo/indexDesktop.php

Happy New Year

Steve

Re: template hosting problem

Posted: Tue Jan 02, 2018 5:34 pm
by jay_hoehn
Great, Steve. Good start to the site.
Happy New Year to you.
Jay

Re: template hosting problem

Posted: Tue Jan 02, 2018 6:09 pm
by evetsmd
Thanks Jay....problem now is my "current conditions" shows offline....I would guess that it's not seeing my clientraw file from WD.....I can't remember where in MT if I need to set a path for MT to go get the clientraw file....

I know it's uploading to my ISP because my original wx website is working OK www.bwsrh.com

any ideas...thanks

Steve

Re: template hosting problem

Posted: Tue Jan 02, 2018 6:15 pm
by evetsmd
Hi Jay....I got it....needed to update the api folder in Weather Display.....I should have remembered that!

Thanks

Steve

Re: template hosting problem

Posted: Tue Jan 02, 2018 8:02 pm
by jay_hoehn
Steve,

Glad you got it sorted. Are you using the WD MeteoTemplate API upload?

Jay

Re: template hosting problem

Posted: Tue Jan 02, 2018 10:44 pm
by evetsmd
Yes it seems to work well...

http://www.bwsrh.com/meteo/indexDesktop.php

next step is to upgrade to 17...I need to find what it takes to do that.... there may also be a bugfix
that was done on 16 that I think I need to do before the upgrade to 17...not sure I fully understand this process.
thought I remember reading that each fix or update has instructions in the zip but I'm missing it somewhere...

Appreciate ur help..... thanks

Steve

Re: template hosting problem

Posted: Tue Jan 02, 2018 10:58 pm
by jay_hoehn
Steve,
Here is a link to the instructions to upgrade:
http://meteotemplate.com/blog/?p=3549

Here is the link to get a download token:
http://www.meteotemplate.com/web/download.php

Make sure you request an update token.

Jay

Re: template hosting problem

Posted: Fri Jan 05, 2018 3:41 am
by Ken Good
Jachym wrote: Sat Dec 16, 2017 6:04 pm download this file, change the extension from .txt to .html and save it as index.html in your server root.
Before you do it, change the "template" inside that file to the name of the folder you use (mtp)

http://www.meteotemplate.com/web/wiki/index.txt
I was having a similar issue whereby my web page was not loading correctly when the web address was entered as "www" instead of "http." The home icon would be missing and there would be weird random letters or numbers in places. It was driving me crazy. It was a little frustrating. If I just entered the address as "BullardWeather.com" without anything else it was fine. I believe I fixed the issue using the text file referenced. I made one small change.

<meta http-equiv="refresh" content="0;url=http://BullardWeather.com/template/index.php" />

This forced every address entered to be converted to the simple "BullardWeather.com address with the new folder added. So far any variation is changed and works fine.

Re: template hosting problem

Posted: Sun Feb 25, 2018 6:07 pm
by pascalg21
Hello,
I have the same problem as you
I tried your site the problem is still there with the www address :oops:
ok avec http:://

Re: template hosting problem

Posted: Mon Feb 26, 2018 12:52 pm
by ea7gt
Jachym wrote: Sat Dec 16, 2017 2:57 pm Hi Steve,
it runs perfectly fine from a folder and I would even recommend doing so, on Linux servers it does not work properly in root (icons). Make sure you have the path correct.
I originally installed meteotemplate on a folder with no problems, then I decided to move to the root of a new hosting with domain and had a problem with the icons folder (404 error). Then I moved the template to a subfolder (eltiempo) and ask to the server for the problem with the icons folder and they fixed it. In this moment the template still in the eltiempo folder, redirected with a index.html but I think am going to move everything to the root only for a cosmetic reason of the URL showed in address bar.

Besides icons folder, is there any other trouble installing template on root?