The easiest way for you to rectify a photoplog problem would be requesting official support from their site or the hack's thread. But I believe the problem may lie in the description field. It may require quotes around 'mediu-- sending SELECT query...'