Page 1 of 1

Home Page Loading

Posted: Thu Feb 01, 2018 10:39 pm
by acatalano
I have just setup MeteoTemplate at http://www.boulderweather.org and the site is working...sorta.

If I enter the web address listed in the last sentence, only the basic framework of the page loads and the blocks just show the spinning logo forever. However, if I type the full address including the path to the index file: http://www.boulderweather.org/template/indexDesktop.php, the page loads in an instant. I have looked at the .htaccess page and it correctly shows the /template/indexDesktop.php path as the Directory Index. I've consulted the webhosting's tech support and they don't feel it's their problem. Any ideas? I have two other sites at this host and they are behaving properly.

Re: Home Page Loading

Posted: Thu Feb 01, 2018 10:41 pm
by Fraggboy
If you are running your website off of a Linux Server, follow these directions..

http://meteotemplate.com/web/wiki/wiki3GB.php

Click on "NOTE FOR LINUX APACHE SERVERS!!!" towards the top.

Re: Home Page Loading

Posted: Thu Feb 01, 2018 11:27 pm
by acatalano
Thanks for the suggestion. I don't believe I have an Apache server, at least when I did the suggested "icon" test I did not receive the error indicated. Nonetheless, it was convenient to upload the entire MeteoTemplates zip file and unpack it in the root which gave me the template folder in which all the template files & folders are located. The setup specifies the path as /templates/ so my sense is it should work. The index.txt file referred to in the Wiki (regarding the Apache server issue) redirects to the index.php within the /templates/ folder but I suppose I could change it to indexDesktop.php and try that.

Re: Home Page Loading

Posted: Thu Feb 01, 2018 11:42 pm
by acatalano
Well that worked! I uploaded the index.txt file and edited the file to change the forwarding url to include indexDesktop.php instead of index.php, then edited the .htacess file, changing the entry: "Directory Index index.php" instead of /templates/indexDesktop.php. Page loads fine now. Thanks for the help!

But I'm still a bit surprised since both the web hosting folks and the results of the icon test suggested it's not an Apache Server in which case the htacess redirection should have worked,-no?

Re: Home Page Loading

Posted: Fri Feb 02, 2018 12:38 am
by Dehatter
As I have discovered over the past 3 weeks....

"should" is the key word.

Congratulations on getting it working. Its a great template.

Tom

Re: Home Page Loading

Posted: Fri Feb 02, 2018 2:06 am
by Ken Good
I had this same problem. It took me forever to figure out the index.php solution. But it worked for me as well.

Re: Home Page Loading

Posted: Fri Feb 02, 2018 2:10 am
by Ken Good
I like your webcam view. It is beautiful.

I have had loading issues at times. I think part of my issue was that I was playing with learning all the different blocks and I had turned so many "on" that I was not using. I finally realized that since I had turned them on, I began to wonder if they were still loading even if they were not selected to display. So I started deleted the ones that I was not using. It may just have been a placebo effect, but in my opinion, my page began loading more quickly.

Ken

Re: Home Page Loading

Posted: Fri Feb 02, 2018 5:09 am
by acatalano
That's good to know. I probably downloaded 2x the number I actually have on the page!

Re: Home Page Loading

Posted: Fri Feb 02, 2018 9:21 am
by iatros
acatalano wrote: Thu Feb 01, 2018 11:42 pm , then edited the .htacess file, changing the entry: "Directory Index index.php" instead of /templates/indexDesktop.php.
hi acatalano
what's the exact line in the .htaccess file?
is it the .htaccess in the template or the one in the server root?
Maybe this could help me; For some obscure reason I cannot load any plugin using the downloaded index.php; I have to rename that file and adapt the menu.php in accordance, which is quite a work on every update of the menu.php!
Thanks in adavance
iatros

Re: Home Page Loading

Posted: Fri Feb 02, 2018 1:52 pm
by acatalano
The line of code in the .htaccess is:
DirectoryIndex index.php
This refers to a file in the root of the server of course, not in the /template/ path. The contents of the index.php file is based on the one (index.txt) in the "Wiki", except that I have changed the url reference to the path of the indexDesktop.php file (/template/indexDesktop.php) so line #3 of the index.txt file has been changed and the file renamed to index.php as instructed in the Wiki. The entire index.php file is:

<html>
<head>
<meta http-equiv="refresh" content="0; url=template/indexDesktop.php" />
<title>Meteotemplate</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="description" content="Meteotemplate - free website template for weather enthusiasts." />
<meta name="keywords" content="meteotemplate, weather, climate, station, template, website" />
<meta name="robots" content="index,follow" />
<link rel="icon" href="favicon.ico" type="image/x-icon">
</head>
</html>

Hope this helps!

Re: Home Page Loading

Posted: Fri Feb 02, 2018 2:51 pm
by Fraggboy
I am very glad that it worked for you. :) That is very strange you didn't see the 'icon issue' which should have happened (It happened for myself). ;)

Welcome to the group!

Re: Home Page Loading

Posted: Fri Feb 02, 2018 4:17 pm
by acatalano
Yes it was a surprise to me also. Before I implimented the Templates on my host, I asked the Tech Support folks if it was an Apache server; this is the ambiguous answer I received:

"Thank you for contacting our Technical Support Department.
The OS on the hosting server is Debian GNU/Linux.
Apache/2.4.27 (Unix) OpenSSL/1.0.2j Apache is running on the server.
If there is anything else we can assist you with do not hesitate to contact us."

This did not answer the question for me so I did the test, which proved negative. So I thought I was OK.

Re: Home Page Loading

Posted: Fri Feb 02, 2018 8:00 pm
by Fraggboy
They provided you with more information that you requested, but in their (lengthy) reply states Apache.

Anyways, I am glad it's been resolved and you can start enjoying the template.

Re: Home Page Loading

Posted: Sat Feb 03, 2018 3:33 pm
by acatalano
The difference between "hosting server" and "server" is still unclear. I took the (Debian Linux) hosting server to be the one the templates was residents of. In any event the test called for in the Wiki seemed to reinforce that idea. The hosting people have consistently expressed their desire to not get involved in the operation of the website.