Weather by You!
Templates and Projects support => Php templates => Topic started by: Andy9164 on December 11, 2013, 03:45:16 PM
-
Hi Jacques,
I need some help please.
I updated to Cumulus 1.9.4 today and since then when opening my test web page I get the following error which appears many times.
Notice: Undefined variable: Tr_monthnames in C:\xampp\htdocs\midlifedad\weather\wt_data_inc.php on line xxx.
I have looked in the forum and found about updating language files and mine seem to be up to date at version 1.2 according to update manager.
I see in my wt_data_inc.php these. $Tr_monthnames["12"]; and I am assuming that the 12 is December. However in my language files I see no mention of Tr_monthnames so I dont know where Tr_monthnames and 12 come together and produce "December".
Unfortunately my website is not "live" yet and I am still working on this locally.
Any help you can give would be most helpful.
Andy
-
Hi Andy,
Since your site is not online, I couldn't see it,
but, first, which Template are you using?
Regards,
Jacques
-
Jacques,
Originally my adaption "Weather Shed" but have now set up standard WBV2_1 on Xampp and redirected Cumulus to this directory and still getting the same. As an experiment I put the following in the language file $Tr_monthnames["12"] = "December" and the error goes away but it will only allow me one entry of the variable in the language file. This may be the wrong idea.
Andy
-
Hi Andy,
I was about to work on WB2 update these days, so, I've sent
a new release today. As you have done a lot of customizations
on your Weather Shed Template, you'll have to download new
complete version 2.2 archive, but use only these files:
all files ending with _txt.php
data files (wt_*_inc.php)
all subfolders
... with that, "Shed" should be "Top Shape"! 8)
Best Regards,
Jacques
-
Jacques,
You are an absolute star.
I now don't get the error and my data is all present an correct.
I just have to make a few adjustments to the table widths as for some reason the data now seems wider, but this is not a big problem.
I also now have a website I can load "The Shed" on to so in a couple of days when I have made just a few more adjustments I will upload and let you know where its is.
Many, many, many thanks for your work.
Andy