Forum Moderators: open

Message Too Old, No Replies

This one did me in this morning

Dengerous Stringing Left & Right on Saturday Morning!

         

blend27

4:33 pm on Jan 21, 2023 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



I quit playing with the code yesterday at about 6 or so...just closed laptop and left the room...

So like a champ, this early morning, I am up & out to parse me some data from a file that I will need to do a presentation on Monday.

About 5 sips in of that fresh Java I refresh the page in I get this:


The web site you are accessing has experienced an unexpected error.

The following information is meant for the website developer for debugging purposes.
The value -1 second for each 30 feet of vehicle length cannot be converted to a number.
 
The error occurred in .../static/parseQA.cfm: line 445

443 : <div class="answer">
444 : <input type="radio" id="q-#RadinID#" name="radio-#startSelect#">
445 : <label for="q-#RadinID#">#Right(line,len(line-1))#</label>
447 : </div>


Took me a minute.... misplacement of Parentheses.

string comes from a Q&A File:
----------------------
Q: How much space in front of you do you need when driving on a highway?
-1 second for each 30 feet of vehicle length
-1 second for each 10 feet of vehicle length
-1 second for each 20 feet of vehicle length


I am a developer for the past 25 years, but Heeeeeyyyy, something new is always out there to getcha...

Sgt_Kickaxe

1:30 pm on Jan 22, 2023 (gmt 0)



Oh. The fun of working on a live site without a dev version. You should probably turn off error reporting so that raw code doesn't get shown along with the error.

blend27

3:29 pm on Jan 22, 2023 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



Lol, That was a Dev site. I've been working in DQSP(Dev/QA/Staging/Production) mode for ages. No such this as CUTE-FTP-ing either.

tangor

8:19 pm on Jan 22, 2023 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



Dontcha just hate it when machines read what you type, not what you meant?