--> -->
 
 
<type 'exceptions.TypeError'>
Python 2.6.9: /usr/local/bin/python
Thu Nov 23 20:07:13 2017

A problem occurred in a Python script. Here is the sequence of function calls leading up to the error, in the order they occurred.

 /home/blog/public_html/cgi/mt-search.cgi in ()
  114 search_like='%'+search[0]+'%'
  115 
  116 ct.execute('select * from mt_blog where blog_id = %s',(blog_id))
  117 if ct.rowcount==0:
  118   print 'Can''t find that blog!', time.clock()
ct = <MySQLdb.cursors.Cursor object>, ct.execute = <bound method Cursor.execute of <MySQLdb.cursors.Cursor object>>, blog_id = '207'
 /usr/local/lib/python2.6/site-packages/MySQLdb/cursors.py in execute(self=<MySQLdb.cursors.Cursor object>, query='select * from mt_blog where blog_id = %s', args='207')
  185                                      for key, item in args.iteritems())
  186             else:
  187                 query = query % tuple([db.literal(item) for item in args])
  188         try:
  189             r = None
query = 'select * from mt_blog where blog_id = %s', builtin tuple = <type 'tuple'>, db = <weakproxy at 0x18abfc8 to Connection>, db.literal = <bound method Connection.literal of <_mysql.connection open to 'localhost' at 1842f70>>, item = '7', args = '207'

<type 'exceptions.TypeError'>: not all arguments converted during string formatting
      args = ('not all arguments converted during string formatting',)
      message = 'not all arguments converted during string formatting'