Unhandled EntecDBException (3): DB Query Error

Server: lws3

Stack trace:
#FileLineCall
1 /home/kidoons.com/libs/DB/SimpleObject.php 139 EntecDB->query("REPLACE INTO kidst_Impression (idLog, idTarget, typeTarget, idAd, isClicked) VALUES (220189285, 115, 'CPC', 57, '0')");
2 /home/kidoons.com/libs/DB/SimpleObject.php 109 SimpleObject->_insert(array("idLog" => "220189285", "idTarget" => "115", "typeTarget" => "CPC", "idAd" => "57", "isClicked" => 0), NULL, TRUE);
3 /home/kidoons.com/libs/kidad/DataObject/Impression.php 55 SimpleObject->Save(array("idLog" => "220189285", "idTarget" => "115", "typeTarget" => "CPC", "idAd" => "57", "isClicked" => 0));
4 /home/kidoons.com/libs/kidad/UseObject/AdTracker.php 70 Impression::save(array("idLog" => "220189285", "idAd" => "57", "idTarget" => "115", "typeTarget" => "CPC", "idPlacement" => "3", "isClicked" => 0));
5 /home/kidoons.com/libs/kidad/UseObject/AdManager.php 114 AdTracker->impress("220189285", "57", "side_menu_left", "115", "CPC");
6 /home/kidoons.com/libs/kidad/UseObject/AdManager.php 137 AdManager->_processRequests("220189285", "57", "side_menu_left", "115", "CPC");
7 AdManager->smarty_outputfilter_insert_ads(" <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-US" lang="en-US"><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8" /><title>Animated Stories - KIDOONS Network - online stories, fun games, and cool downloads for kids and teens!</title><meta name="MSSmartTagsPreventParsing" content="TRUE" /><meta name="identifier-URL" content="http://www.animatedstories.com/" /><meta name="author" content="KIDOONS" /><meta name="copyright" content="Copyright KIDOONS, &copy; 2017 and all its service marks." /><meta name="robots" content="Index,Follow" /><meta name="keywords" content="" /><meta name="description" content="" /><meta name="htdig-keywords" content=", Classic, Entertainment, Animated Stories, Kids, Teens, Children, Parents, Teachers, Literature, Bed Time Story, Story, Reading, Educate, Knowledge, Online, Game, Download, Wallpaper, Animation, Coloring Book, KIDOONS" /><meta name="abstract" content="animatedstories.com" /><meta name="GOOGLEBOT" content="NOARCHIVE" /><meta name="designer" content="EnTechneVision.com" /><meta name="verify-v1" content="Eb9WCxvRlksOYlBV7H4qk2c5wUDivstGe/GS2QwC2EI=" /><link rel="shorctut icon" type="image/x-icon" href="http://root.kidoons.com/themes/kidoons/images/kidoo_fav_02.ico" /><link rel="alternate" type="application/xml" href="/sitemap.xml" title="SiteMap" /><link rel="section" type="text/html" href="/" title="Animated Stories" /><link rel="section" type="text/html" href="/story_enter" title="Story of Animated Stories" /><link rel="section" type="text/html" href="/story/chapter/1/page/1" title="Story of Animated Stories" /><link rel="section" type="text/html" href="/game_enter" title="Game" /><link rel="section" type="text/html" href="/download" title="Download" /><link rel="section" type="text/html" href="/newsletter/kids" title="Kids Newsletter" /><link rel="section" type="text/html" href="/newsletter/teacher" title="Teachers Newsletter" /><link rel="section" type="text/html" href="/newsletter/parents" title="Parents Newsletter" /><link rel="stylesheet" type="text/css" href="/css/fs.css.php" media="screen" /><link rel="stylesheet" type="text/css" href="/css/styles.css.php" media="screen" /><script type="text/javascript" language="javascript" src="http://root.kidoons.com/nodes/_common/js/ufo.js"></script><script type="text/javascript" language="javascript" src="http://root.kidoons.com/nodes/_common/js/prototype.js"></script><script type="text/javascript" language="javascript" src="/home/kidoons.com/share/site/htdocs/www/_iepngfix/iepngfix.js"></script><meta name="msvalidate.01" content="A6A10A23E0721ECA944F357EEFB857C1" /> <link rel="SHORTCUT ICON" href="http://root.kidoons.com/themes/kidoons/images/kidoo_fav_02.ico" /><script type="text/javascript" language="javascript" src="http://root.kidoons.com/nodes/_common/js/ufo.js"></script></head><body><div id="header"><div id="logo_kidoons"><a href="http://www.kidoons.com/"><img src="http://root.kidoons.com/themes/kidoons/images/kidoo_logo_site.png" alt="KIDOONS Logo" /></a></div></div><div id="main"><div id="flash_header"><a href="/" id="title">Animated Stories</a></div><div id="content"><div id="left"><ul><li ><a class="normalSize" href="http://www.watzupgirlz.ca">Watz Up Girlz</a></li><li ><a class="normalSize" href="http://www.princessdolls.ca">Princess Dolls</a></li><li ><a class="normalSize" href="http://www.animatedhalloween.com">Animated Halloween</a></li><li ><a class="normalSize" href="http://www.adventuresofpeterpan.com">Adventures of Peter Pan</a></li><li ><a class="normalSize" href="http://www.thevioletfairybook.com">The Violet Fairy Book</a></li></ul><div class="box_small"><div class="box_small_header">AD</div><div class="box_small_content">~ad_side_menu_left~</div></div><script type="text/javascript">var FO = { movie:"http://root.kidoons.com/formats/sites/_common/flash/kidoo_160X130_0001_02.swf", width:"160px", height:"130px",majorversion:"7", build:"0", flashvars:"/", wmode:"transparent", allownetworking:"always", allowscriptaccess:"always" } ;UFO.create(FO, "play_more_game");</script><div class="small_banner"><div id="play_more_game"></div></div></div><div id="center"><div class="box_center"><div class="box_center_header"></div><div class="box_center_content"><h2>Animated Stories</h2><br /><br /><div class="box_game "><a href="/game/71-adriana-the-elf-fairy"><img src="http://root.kidoons.com/games/thefa/thefa_dus_0009/images/125_thefa_09.jpg" alt="Adriana the Elf Fairy" /><br />Adriana the Elf Fairy</a></div><div class="box_game "><a href="/game/278-ami-the-goth-fairy"><img src="http://root.kidoons.com/games/thefa/thefa_dus_0017/images/125_thefa_0017.jpg" alt="Ami, the Goth Fairy" /><br />Ami, the Goth Fairy</a></div><div class="box_game "><a href="/game/243-xai-lee-the-chinese-new-year-lunar-fairy"><img src="http://root.kidoons.com/games/thefa/thefa_dus_0010/images/125_thefa_10.jpg" alt="Xai Lee, The Chinese New Year Lunar Fairy" /><br />Xai Lee, The Chinese New Year Lunar Fairy</a></div><div class="box_game game_last"><a href="/game/41-lilly-the-pond-fairy"><img src="http://root.kidoons.com/games/thefa/thefa_dus_0005/images/125_thefa_05.jpg" alt="Lilly the Pond Fairy" /><br />Lilly the Pond Fairy</a></div><div class="box_game "><a href="/game/19-star-beam-fairy"><img src="http://root.kidoons.com/games/thefa/thefa_dus_0004/images/125_thefa_04.jpg" alt="Star Beam Fairy" /><br />Star Beam Fairy</a></div><div class="box_game "><a href="/game/4-krymzon-br-a-halloween-special"><img src="http://root.kidoons.com/games/ahall/ahall_dus_0001/images/125_ahall_02.gif" alt="Krymzon" /><br />Krymzon <br />A HALLOWEEN SPECIAL</a></div><div class="box_game "><a href="/game/18-the-dew-drop-fairy"><img src="http://root.kidoons.com/games/thefa/thefa_dus_0003/images/125_thefa_03.jpg" alt="The Dew Drop Fairy" /><br />The Dew Drop Fairy</a></div><div class="box_game game_last"><a href="/game/7-princess-angiolas-beauty-shop-a-rapunzel153-brand-game"><img src="http://root.kidoons.com/games/rapun/rapun_dus_0001/images/125_rapun_01.gif" alt="Rapunzel in Ravishing Beauty Salon" /><br />Princess Angiola's Beauty Shop - a RAPUNZEL&#153; brand Game</a></div><div class="box_game "><a href="/game/8-rosette-br-the-peacock-princess"><img src="http://root.kidoons.com/games/roset/roset_dus_0001/images/125_roset_01.gif" alt="Rosette The Peacock Princess" /><br />Rosette <br />The Peacock Princess</a></div><div class="box_game "><a href="/game/13-magical-elf-feast"><img src="http://root.kidoons.com/games/elfhi/elfhi_dus_0001/images/125_elfhi_01.jpg" alt="Magical Elf Feast" /><br />Magical Elf Feast</a></div><div class="box_game "><a href="/game/6-rosered-and-snow-white-in-flower-power"><img src="http://root.kidoons.com/games/roser/roser_dus_0001/images/125_roser_01.gif" alt="Rosered and Snow White in "Flower Power!"" /><br />Rosered and Snow White in "Flower Power!"</a></div><div class="box_game game_last"><a href="/game/14-three-little-pigs-in-porkshop"><img src="http://root.kidoons.com/games/tpigs/tpigs_dud_0001/images/125_3pigs_01.jpg" alt="Three Little Pigs in "Porkshop"!" /><br />Three Little Pigs in "Porkshop"!</a></div><div class="box_game "><a href="/game/16-tin-formers"><img src="http://root.kidoons.com/games/stead/stead_dud_0001/images/125_stead_01.jpg" alt="TIN-FORMERS" /><br />TIN-FORMERS</a></div><div class="box_game "><a href="/game/57-cats-gone-wild"><img src="http://root.kidoons.com/games/boets/boets_dud_0001/images/125_boets_01.gif" alt="Pussinboots" /><br />Cats Gone Wild!</a></div><div class="box_game "><a href="/game/61-poor-mrs-quack-in-dressed-to-fly"><img src="http://root.kidoons.com/games/poorm/poorm_dud_0001/images/125_poorm_01.gif" alt="Poor Mrs. Quack" /><br />Poor Mrs. Quack in "DRESSED TO FLY!"</a></div><div class="box_game game_last"><a href="/game/1-wicked-fairy-br-a-halloween-special"><img src="http://root.kidoons.com/games/thefa/thefa_dus_0001/images/125_thefa_01.gif" alt="Wicked Fairy" /><br />Wicked Fairy <br />A HALLOWEEN SPECIAL</a></div><div class="clear_both"></div><p style="display:none;"></p></div><div class="box_center_footer"></div><div class="more_game_banner"><script type="text/javascript">var FO = { movie:"http://root.kidoons.com/formats/sites/_common/flash/kidoo_523X108_0001_02.swf", width:"523px", height:"108px",majorversion:"7", build:"0", flashvars:"url=http://www.twelvedaysofchristmas.ca", wmode:"transparent", allownetworking:"always", allowscriptaccess:"always" } ;UFO.create(FO, "fun_game");</script><div id="fun_game"></div></div></div></div><div id="right"><div class="box_big"><div class="box_big_header">AD</div><div class="box_big_content"><script type="text/javascript"> <!-- google_alternate_color = "720000"; google_color_border = "720000"; google_color_bg = "720000"; google_color_link = "eed642"; google_color_url = "FFFFFF"; google_color_text = "FFFFFF"; google_ad_client = "pub-5560083008079545"; google_ad_width = "300"; google_ad_height = "250"; google_ad_format = "300x250_as"; google_ad_type = "text"; google_ad_channel = "3842087734"; //--> </script> <script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script></div><div class="box_big_header">AD</div><div class="box_big_content">~ad_side_menu_right~</div><div class="box_big_content"><div class="box_big"><div class="box_big_header">OUR FRIENDS</div><div class="box_big_content partners"><div style="padding-top:3px"><div class="partner_row"><a onclick="new Ajax.Request('/partner-click?p=20')" href="" target="_blank"><img src="http://a.kidoons.com/partners/20/4.png" width="88" height="31" border="0" alt="No Banner" /></a>&nbsp; <a onclick="new Ajax.Request('/partner-click?p=15')" href="" target="_blank"><img src="http://a.kidoons.com/partners/15/4.png" width="88" height="31" border="0" alt="No Banner" /></a>&nbsp; <a onclick="new Ajax.Request('/partner-click?p=16')" href="" target="_blank"><img src="http://a.kidoons.com/partners/16/4.png" width="88" height="31" border="0" alt="No Banner" /></a>&nbsp; </div><div class="partner_row"><a onclick="new Ajax.Request('/partner-click?p=19')" href="" target="_blank"><img src="http://a.kidoons.com/partners/19/4.png" width="88" height="31" border="0" alt="No Banner" /></a>&nbsp; <a onclick="new Ajax.Request('/partner-click?p=31')" href="" target="_blank"><img src="http://a.kidoons.com/partners/31/4.png" width="88" height="31" border="0" alt="No Banner" /></a>&nbsp; <a onclick="new Ajax.Request('/partner-click?p=22')" href="" target="_blank"><img src="http://a.kidoons.com/partners/22/4.png" width="88" height="31" border="0" alt="No Banner" /></a>&nbsp; </div><div class="partner_row"><a onclick="new Ajax.Request('/partner-click?p=23')" href="" target="_blank"><img src="http://a.kidoons.com/partners/23/4.png" width="88" height="31" border="0" alt="No Banner" /></a>&nbsp; <a onclick="new Ajax.Request('/partner-click?p=26')" href="" target="_blank"><img src="http://a.kidoons.com/partners/26/4.png" width="88" height="31" border="0" alt="No Banner" /></a>&nbsp; <a onclick="new Ajax.Request('/partner-click?p=28')" href="" target="_blank"><img src="http://a.kidoons.com/partners/28/4.png" width="88" height="31" border="0" alt="No Banner" /></a>&nbsp; </div><div class="partner_row"><a onclick="new Ajax.Request('/partner-click?p=32')" href="" target="_blank"><img src="http://a.kidoons.com/partners/32/4.png" width="88" height="31" border="0" alt="No Banner" /></a>&nbsp; <a onclick="new Ajax.Request('/partner-click?p=34')" href="" target="_blank"><img src="http://a.kidoons.com/partners/34/4.png" width="88" height="31" border="0" alt="No Banner" /></a>&nbsp; <a onclick="new Ajax.Request('/partner-click?p=35')" href="" target="_blank"><img src="http://a.kidoons.com/partners/35/4.png" width="88" height="31" border="0" alt="No Banner" /></a>&nbsp; </div><div class="partner_row"><a onclick="new Ajax.Request('/partner-click?p=29')" href="" target="_blank"><img src="http://a.kidoons.com/partners/29/4.png" width="88" height="31" border="0" alt="No Banner" /></a>&nbsp; <a onclick="new Ajax.Request('/partner-click?p=30')" href="" target="_blank"><img src="http://a.kidoons.com/partners/30/4.png" width="88" height="31" border="0" alt="No Banner" /></a>&nbsp; <a onclick="new Ajax.Request('/partner-click?p=42')" href="" target="_blank"><img src="http://a.kidoons.com/partners/42/4.png" width="88" height="31" border="0" alt="No Banner" /></a>&nbsp; </div></div><div class="clear_both"></div><a id="more_links" href="/more_links">More Links</a></div></div></div><script type="text/javascript">var FO = { movie:"http://root.kidoons.com/formats/sites/_common/flash/kidoo_300x108_0001_02.swf", width:"300px", height:"108px",majorversion:"7", build:"0", flashvars:"url=/partnerships", wmode:"transparent", allownetworking:"always", allowscriptaccess:"always" } ;UFO.create(FO, "become_our_friend");</script><div style="padding-top:4px"> <div id="become_our_friend"></div> </div></div></div></div></div><div class="clear_both"></div><br /><div id="ad_bottom"><div><script type="text/javascript"><!-- google_alternate_color = "720000";google_color_border = "720000";google_color_bg = "720000";google_color_link = "EED642";google_color_url = "EED642";google_color_text = "EED642";google_ad_client = "pub-5560083008079545";google_ad_width = "728";google_ad_height = "90";google_ad_format = "728x90_as";google_ad_type = "text_image";google_ad_channel = "3842087734"; //--></script><script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script></div><br /><div>~ad_footer_bottom~</div></div> <div id="footer" style="margin-top: 30px; "><br /><br /><a href="http://www.childrencanada.com" title="Search on KIDOONS"><img src="http://root.kidoons.com/banners/sites/110x32/kidoo_search.gif" alt="Search on KIDOONS" border="0"/></a><br /><br />KIDOONS highly recommends using Firefox to browse our Network. <br /><a href="http://www.mozilla.com/firefox/" title="Get Firefox"><img src="http://root.kidoons.com/banners/sites/80x15/get_firefox.jpg" alt="Get Firefox" width="80" height="15" border="0"/></a><br /><br />See an issue with this website ?<br /><a href="/contact/error"><img src="http://root.kidoons.com/themes/kidoons/images/report_issue.gif" alt="Report and Issue"/></a><br /><br /><br /><p>Thank you for visiting</p><br /><!-- ************************* FLASH ANIMATION ****************************************** --><script type="text/javascript"> <!-- var FO = { movie:"http://root.kidoons.com/themes/kidoons/flashs/kidoo_brand_04.swf", width:"175px", height:"75px",majorversion:"7", build:"0", flashvars:"", wmode:"transparent" } ;UFO.create(FO, "flash_footer_brand"); //--> </script><div id="flash_footer_brand"><a href="http://www.kidoons.com"><img src="http://root.kidoons.com/themes/kidoons/images/kidoo_brand_noflash.png" width="175" height="75" border="0" alt="KIDOONS" /></a></div><!-- ******************************************************************* --><br /><p>KIDOONS Inc.<br />Under licence.<br />Animated Stories<sup>TM</sup><br />&copy; <a href="http://www.kidoons.com/">KIDOONS</a><img src="http://stats.kidoons.com/spacer.gif" alt="KIDOONS" /></p><br /><br /><br /></div></body></html>", (Smarty) Smarty_Site);
8 /usr/share/php/smarty/Smarty.class.php 1270 call_user_func_array(array(1 => "smarty_outputfilter_insert_ads"), array(1 => (Smarty) Smarty_Site));
9 /usr/share/php/smarty/Smarty.class.php 1107 Smarty->fetch("page_display.tpl", NULL, NULL, TRUE);
10 /home/kidoons.com/share/site/htdocs/formats/sites/games_portal/sources/page_display.php 142 Smarty->display("page_display.tpl");
11 /home/kidoons.com/share/site/htdocs/www/index.php 113 require_once("/home/kidoons.com/share/site/htdocs/formats/sites/games_portal/sources/page_display.php");