{"id":1485,"date":"2022-08-30T15:16:55","date_gmt":"2022-08-30T15:16:55","guid":{"rendered":"https:\/\/unknownerror.org\/index.php\/2013\/11\/23\/google-search-results-not-showing-up-collection-of-common-programming-errors\/"},"modified":"2022-08-30T15:16:55","modified_gmt":"2022-08-30T15:16:55","slug":"google-search-results-not-showing-up-collection-of-common-programming-errors","status":"publish","type":"post","link":"https:\/\/unknownerror.org\/index.php\/2022\/08\/30\/google-search-results-not-showing-up-collection-of-common-programming-errors\/","title":{"rendered":"Google Search results not showing up-Collection of common programming errors"},"content":{"rendered":"<p>Two Three things you need to look at (one related, one two unrelated) from the FireFox error console<\/p>\n<blockquote>\n<p>(javascript) Error: uncaught exception: Syntax error, unrecognized expression:<\/p>\n<\/blockquote>\n<p>Unrelated but still worth correcting:<\/p>\n<blockquote>\n<p>Warning: Unexpected end of file while searching for selector. Source File: http:\/\/www.nu-living.com\/ Line: 0<\/p>\n<\/blockquote>\n<p>&#8230; and:<\/p>\n<blockquote>\n<p>(parsing) Error: The stylesheet http:\/\/www.nu-living.com\/css\/about.css was not loaded because its MIME type, &#8220;text\/html&#8221;, is not &#8220;text\/css&#8221;. Source File: http:\/\/www.nu-living.com\/info\/search_results\/?cx=017425724926122041548%253Avgp5w3d356w&amp;cof=FORID%253A9&amp;ie=UTF-8&amp;q=testing&amp;sa=Search&amp;siteurl=www.nu-living.com%252F Line: 0<\/p>\n<\/blockquote>\n<p>Also, is there a good reason you are including jQuery and related Javascript file references in the body of your HTML document?<\/p>\n<p><strong>Update:<\/strong> A problem on your homepage here:<\/p>\n<pre><code>\n  $('#breaking-news ul').newsticker();\n  $('#slideshow').cycle();\n\n<\/code><\/pre>\n<p>You should wrap all jQuery calls in <code>$(document).ready(function() { \/* code *\/ });<\/code> to ensure the DOM is ready before you change things &#8211; otherwise you&#8217;ll hit a Javascript error which may prevent other scripts from running if jQuery hasn&#8217;t had a chance to initialize the <code>$<\/code> variable.<\/p>\n<p>I would wager that this is what is happening with Google Custom Search &#8211; a problem with one of your other scripts is breaking script execution before the search script can run.<\/p>\n<p>You should debug your site to correct these problems &#8211; FireBug may help with this task.<\/p>\n<p id=\"rop\"><small>Originally posted 2013-11-23 09:50:20. <\/small><\/p>","protected":false},"excerpt":{"rendered":"<p>Two Three things you need to look at (one related, one two unrelated) from the FireFox error console (javascript) Error: uncaught exception: Syntax error, unrecognized expression: Unrelated but still worth correcting: Warning: Unexpected end of file while searching for selector. Source File: http:\/\/www.nu-living.com\/ Line: 0 &#8230; and: (parsing) Error: The stylesheet http:\/\/www.nu-living.com\/css\/about.css was not loaded [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-1485","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/1485","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/comments?post=1485"}],"version-history":[{"count":0,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/1485\/revisions"}],"wp:attachment":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/media?parent=1485"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/categories?post=1485"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/tags?post=1485"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}