Category: Programming

Apostrophe in a SQL Query String

June 16th, 2009
I was running into a problem with a SQL query string being terminated to soon. One of the variables I was using in the concatenation of the string contained an apostrophe. In order to handle this situation you have to put two apostrophes to escape the… more »

Running Tom Cat on Windows 7

February 4th, 2009
I was trying to get Tom Cat to start on Windows 7. When trying to start the service I would receive an error message stating the service could not start. After some digging around on the internet the solution to the problem was to set the environment v… more »

Lock Workstation on Startup

November 13th, 2008
Found it. I did not even need to write a script. Just put a shortcut to C:\Windows\System32\tsdiscon.exe in your startup folder. I found this solution at this site: http://www.winhelponline.com/blog/how-to-automatically-login-to-windows-and-then-lock-… more »

Script Virtual PC Virtual Machines to start

November 13th, 2008
Both my web server and exchange server are running on Microsoft Virtual PC. I was getting tired of having the start the servers manually when restarting the host. I did some searching on the internet and came up with a VB script to fix the problem.… more »

Random Football Team Chooser made with Jython

September 1st, 2008
I have been learning how to use Jython recently which is a mix between python and java. I decided, for helping me pick football teams this year in my pool, I would create my own program that would randomly generate winners. I was able to compile my cod… more »

An unexpected error has occurred!

If this error persists, please report it to the administrator.

Go back to home page

Additional information about this error:

MySQL error!

MySQL server has gone away(Errno=2006)

Your query: Record the hit

INSERT INTO evo_hitlog(
        hit_sess_ID, hit_datetime, hit_uri, hit_referer_type,
        hit_referer, hit_referer_dom_ID, hit_keyphrase_keyp_ID, hit_serprank, hit_blog_ID, hit_remote_addr, hit_agent_type )
      VALUES( '123141', FROM_UNIXTIME(1328594825), '/blog5.php/programming/', 'direct', '', NULL, NULL, NULL, 5, '38.107.179.243', 'unknown'
      )