CINXE.COM

Database Error

<!DOCTYPE html> <html lang="en"> <head><script type="text/javascript" src="https://web-static.archive.org/_static/js/bundle-playback.js?v=7YQSqjSh" charset="utf-8"></script> <script type="text/javascript" src="https://web-static.archive.org/_static/js/wombat.js?v=txqj7nKC" charset="utf-8"></script> <script>window.RufflePlayer=window.RufflePlayer||{};window.RufflePlayer.config={"autoplay":"on","unmuteOverlay":"hidden"};</script> <script type="text/javascript" src="https://web-static.archive.org/_static/js/ruffle/ruffle.js"></script> <script type="text/javascript"> __wm.init("https://web.archive.org/web"); __wm.wombat("https://urdu.geo.tv/election/constituency","20201103051934","https://web.archive.org/","web","https://web-static.archive.org/_static/", "1604380774"); </script> <link rel="stylesheet" type="text/css" href="https://web-static.archive.org/_static/css/banner-styles.css?v=p7PEIJWi" /> <link rel="stylesheet" type="text/css" href="https://web-static.archive.org/_static/css/iconochive.css?v=3PDvdIFv" /> <!-- End Wayback Rewrite JS Include --> <meta charset="utf-8"> <title>Database Error</title> <style type="text/css"> ::selection { background-color: #E13300; color: white; } ::-moz-selection { background-color: #E13300; color: white; } body { background-color: #fff; margin: 40px; font: 13px/20px normal Helvetica, Arial, sans-serif; color: #4F5155; } a { color: #003399; background-color: transparent; font-weight: normal; } h1 { color: #444; background-color: transparent; border-bottom: 1px solid #D0D0D0; font-size: 19px; font-weight: normal; margin: 0 0 14px 0; padding: 14px 15px 10px 15px; } code { font-family: Consolas, Monaco, Courier New, Courier, monospace; font-size: 12px; background-color: #f9f9f9; border: 1px solid #D0D0D0; color: #002166; display: block; margin: 14px 0 14px 0; padding: 12px 10px 12px 10px; } #container { margin: 10px; border: 1px solid #D0D0D0; box-shadow: 0 0 8px #D0D0D0; } p { margin: 12px 15px 12px 15px; } </style> </head> <body> <div id="container"> <h1>A Database Error Occurred</h1> <p>Error Number: 1052</p><p>Column 'election_id' in where clause is ambiguous</p><p>SELECT t.name as constituency_urdu_name, t.constituency_complete_name,t.constituency_short_name,t.slug,GROUP_CONCAT(t1.constituency_short_name) AS sub_constituency, GROUP_CONCAT(t1.slug) AS sub_constituency_slug FROM ( SELECT gn_ec_constituency_translation.name,gn_ec_constituency.constituency_complete_name,gn_ec_constituency.constituency_short_name,gn_ec_constituency.slug,gn_ec_constituency.id,gn_ec_constituency.district_id FROM gn_ec_candidate_nomination JOIN gn_ec_constituency ON gn_ec_constituency.id = gn_ec_candidate_nomination.constituency_id join gn_ec_constituency_translation on gn_ec_constituency_translation.constituency_id = gn_ec_constituency.id WHERE election_id=22 AND assembly_id=1 GROUP BY gn_ec_constituency.id ) AS t LEFT JOIN gn_ec_sub_constituency_relation a ON a.constituency_id = t.id LEFT JOIN gn_ec_constituency t1 ON t1.id = a.sub_constituency_id GROUP BY t.constituency_short_name ORDER BY SUBSTR(t.constituency_short_name,1,2) ASC,CONVERT(TRIM(SUBSTR(t.constituency_short_name,3,3)),UNSIGNED INTEGER) ASC</p><p>Filename: modules/frontend/models/Election_model.php</p><p>Line Number: 428</p> </div> </body> </html><!-- FILE ARCHIVED ON 05:19:34 Nov 03, 2020 AND RETRIEVED FROM THE INTERNET ARCHIVE ON 07:17:05 Feb 27, 2025. JAVASCRIPT APPENDED BY WAYBACK MACHINE, COPYRIGHT INTERNET ARCHIVE. ALL OTHER CONTENT MAY ALSO BE PROTECTED BY COPYRIGHT (17 U.S.C. SECTION 108(a)(3)). --> <!-- playback timings (ms): captures_list: 0.905 exclusion.robots: 0.058 exclusion.robots.policy: 0.036 esindex: 0.032 cdx.remote: 25.381 LoadShardBlock: 432.238 (3) PetaboxLoader3.datanode: 555.459 (5) PetaboxLoader3.resolve: 365.628 (3) load_resource: 585.073 (2) -->