mritter Posted June 8, 2008 Posted June 8, 2008 Here is the cure for the cond problem. I never full tested the code "chinadave" sent since I don't have an excludes at the moment. He had some when they should have been [j]. Makes me wonder if he even tested his own code. if (cond[j] && cond[j][0]) { var c = unescape(ReplacePath(cond[j][0]).replace(/\\/g, "[url=""]\\\\[/url]")); try { if (!eval(c)) continue; } catch(e) { alert(getText(ErrorInCondStatement)+"\n\n" + prog[j] + "\n" + cond[j] + "\n\n"+getText(TreatingAsFalseCond)); continue; } }Download new check.js file here: Post here is works, or if not.
Dislocated Time Posted June 9, 2008 Posted June 9, 2008 (edited) Starting WPI:JavaScript Error ReportMessage: Object expectedURL: file://X:/HFSLIPENG/SOURCE/WPI/WPI.htaFile: check.jsFunction: CountCheck()Line: 667Note: None of my programs appeared in WPI, even though they are still listed in my config.js After clicking the error message away and clicking on the config button:Message: 'configList[...].prog' is null or not an objectUrl:file:///X:/HFSLIPENG/SOURCE/WPI/WPI.htaFile:configwizard.jsFunction: FillInConfig()Line:174By the way:Cat is a variable... did you read what I wrote about the variable: perhaps the software reads catch as the variable Cat with the suffix ch. Edited June 9, 2008 by Dislocated Time
mritter Posted June 10, 2008 Author Posted June 10, 2008 cat as a variable is not a problem; it has been there since the day WPI was written.I don't know what else you could have done, your config entries work on my computer with the above new code.
Dislocated Time Posted June 10, 2008 Posted June 10, 2008 Maybe it's my PC at the moment.Will try on my other PC after I get off work today.Thank you very much for your work.
mritter Posted June 11, 2008 Author Posted June 11, 2008 It very well could be. Computers at my work have difficulty with WPI, old ones and new ones, different errors, different times......
rajesh.kumar Posted July 30, 2008 Posted July 30, 2008 thank u for the replacement file. this one works here too.
mritter Posted July 30, 2008 Author Posted July 30, 2008 I actually ended up taking the new addition back out. It is redundant because it is also done in boxes.js.
sp00f Posted August 2, 2008 Posted August 2, 2008 does v7 include this fix?Good question, i also like to know.
sp00f Posted August 5, 2008 Posted August 5, 2008 Yes. Is evrything working OK for you now?No , : http://www.msfn.org/board/problem-with-col...in-t121389.html
rajesh.kumar Posted August 6, 2008 Posted August 6, 2008 (edited) Yes. Is evrything working OK for you now?No , : http://www.msfn.org/board/problem-with-col...in-t121389.html Edit : One issue - http://www.msfn.org/board/problem-with-col...585#entry786585ok, i have only one column, and the issue related to it.And the basic error is not anymore in this version. Edited August 6, 2008 by rajesh.kumar
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now