If you wonder, the wind-icons in the windgraph are done with pure javascript/canvas, no images involved there.
Its ported from the windgauge i have on my frontpage. :lol:
Also forgot to add, the tempgraph change color when below zero C to light blue
Hi Henkka, no worries, sounds good with the colour change…
I have hit a wee snag though, I am getting a
Warning: file(wxsim/plaintext-parser.php) [function.file]: failed to open stream: No such file or directory in /home/nortrcom/domains/northantsweather.com/public_html/wxsim/wxsim.allinone.plaintextparser.php on line 77
Warning: file(wxsim/plaintext-parser.php) [function.file]: failed to open stream: No such file or directory in /home/nortrcom/domains/northantsweather.com/public_html/wxsim/wxsim.allinone.plaintextparser.php on line 77
Yeah, those 3 paths in xx.plaintextparser.php needs to be changed too (as per 2. in README ;)).
Tryed to get them as $variable to the setting-file but for some strange reason it didn’t work, no idea why so far…
Sorry Hennka, i thought i’d done all that :oops: Including the lang part but when i saw it running
it was still showing a none english language, i have it set to en in the settings file
When look at your page now (and with same list of notices at jwwd’s page) seem i will add a setting what force php-errornotices to off in the script, that way we get ride off the them at least.
Bashy, add
<?php
error_reporting(0);
?>
to top of that page and it will fix those.
Then, check the paths to the js-files, seems it did not find them (therefore no tabs), in the code you copied from sivu2.php but also in the settings-file.
Bashy, did it showed up finnish translation for you as default? 8O
Thats cured the language side of it thank you… still gettting langaue errors though and i think theres
been a needle found in the haystack, whatever that means pmsl…
Got fixed the issue with the paths on line 75-80 in xx.plaintextparser.php, are now in the settingsfile for easier setup (you still need to check the 2 paths ate top of that file tought).
Add that errorreporting(0); to the top of page too
Check the path to js-files, add a slash to $jsfile-settings (is “jquery” not “jquery/”?) as i saw it pushed out paths w/o that, also upload the jquery-files to that folder, seemed missing
Just looked at your source-code, js-files are found ok, so also css-file.
But for some strange reason are the wind-dirs in charcters not numeric like this:
dirdata: [E,SSE,SSE,E,E,E,E,E,E,E,E,E,E,E,E,E,E,E,E,E,E,ESE,ESE,ESE,ESE,ESE,ESE,ESE,ESE,ESE,E],
Can you check they are numeric in lastret.txt? as they should be readed in “as they are” and that was the first error what FF’s errorconsole picked up for me.
ok m8 no worries, Im going to call it a night, have to be up early tomoz, I will pick up on tomorrow
night, thanks for your help this evening, tis a great script, well done