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
Thankyou for the pointer everything is working now.
However it turns out that my paths in the end were ok but my lastret.txt is corrupt.
I borrowed another lastret.txt and it fired up ok so I need to go back and see how my text file differs from the working copy.
Many thanks for the reply this was the pointer I needed to track down the issue
// Other paths
$pathtolsparser = ‘wxsim/wxsim.allinone.lastretparser.php’;
$lastretfile = “./lastret.txt”;
$plaintextFile = ‘./plaintext.txt’; // location of the WXSIM plaintext.txt
$filea = ‘wxsim/plaintext-parser-data.php’;
$fileb = ‘wxsim/plaintext-parser-lang-’.$lang.‘.txt’; // just change the path, language are detetcred auto
Also I changed language in ‘nl’ but it isn`t translated.
Does it use they “old” “plaintext-parser-lang-nl.txt” file or do I have to translate everything again?
Only a question now about the translation. How is this simple to do?
So long you have the path to plaintext-parser-lang-nl.txt correct it should use it directly, that was whole idea with the script, less translation-files. Note tought to add the new words from plaintext.lang.txt to it. Even if tryed to get all from old langfile it needed a few new words added to work smoothly
Bashy,
humm…Have you checked the paths are correct? (ie. it looks for a icon what really exsists)
Hi Henkka
i try to run the perfect script - very good job.
But the script does not work correctly on my site.
I am not able to find the cause.
I see a message at the top of the page that is a problem with java.
But I do not know how to solve the problem.
I do not know if all of the error is associated with this message.
Maybe you have some hint http://www.andretti.pl/wxsim_forecast.php
or http://www.andretti.pl/sivu2.php
thanks
andretti
hehe
What I found to be a problem. The problem to be very trivial.
File lastret.txt not be current, and the date was the September 1.
I probably can not set WXSIM to create this file automatically.
I manually update the file and now everything work.
But I see a small error. On the charts, after moving the cursor, do not display values. I get a blank label.
Can I fix this? How?
To get wxsim to create lastret.txt you need to choose that “Ext Boot”-thingy and at least i had to set up a SS-call what runs WRET before i upload the files. WRET then just starts and automaticly closes itself few seconds later and create the lastret.txt.
For the labels…Humm…
Could it be a css-thingy there? Will add a txt-color the labels and update the zip so we can test, as it seems the texts are defined (the boxes sizes varys) but no text are visible…