Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Home
Help
Search
Login
Register
Weather by You!
»
Templates and Projects support
»
Php templates
»
Undefined variable - Cumulus Upgraded to 1.9.4
« previous
next »
Print
Pages: [
1
]
Author
Topic: Undefined variable - Cumulus Upgraded to 1.9.4 (Read 1476 times)
Andy9164
Full Member
Posts: 87
Undefined variable - Cumulus Upgraded to 1.9.4
«
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
Logged
Mr.Meteo
Administrator
Hero Member
Posts: 1120
Re: Undefined variable - Cumulus Upgraded to 1.9.4
«
Reply #1 on:
December 11, 2013, 04:51:19 PM »
Hi Andy,
Since your site is not online, I couldn't see it,
but, first, which Template are you using?
Regards,
Jacques
Logged
Please, consider supporting this site
Andy9164
Full Member
Posts: 87
Re: Undefined variable - Cumulus Upgraded to 1.9.4
«
Reply #2 on:
December 11, 2013, 05:12:38 PM »
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
Logged
Mr.Meteo
Administrator
Hero Member
Posts: 1120
Re: Undefined variable - Cumulus Upgraded to 1.9.4
«
Reply #3 on:
December 12, 2013, 09:12:41 AM »
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"!
Best Regards,
Jacques
Logged
Please, consider supporting this site
Andy9164
Full Member
Posts: 87
Re: Undefined variable - Cumulus Upgraded to 1.9.4
«
Reply #4 on:
December 12, 2013, 04:25:25 PM »
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
Logged
Print
Pages: [
1
]
« previous
next »
Weather by You!
»
Templates and Projects support
»
Php templates
»
Undefined variable - Cumulus Upgraded to 1.9.4