Hi,

I'm running/testing Drupal 6.2 and noticed a script error when viewing node pages.

Line 7
Char 5
Error: Invalid argument
code 0

On line 7 I find a external script referring to http://www.google.com/jsapi
I'm not sure which module is using this script or what is causing this error.
Someone any ideas?

!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="nl" lang="nl" dir="ltr">
  <head>
    <title>Test Pagina</title>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<script type="text/javascript" src="http://www.google.com/jsapi"></script>
<link rel="shortcut icon" href="/misc/favicon.ico" type="image/x-icon" />
    <link type="text/css" rel="stylesheet" media="all" href="/modules/themebuilder/themebuilder.css?5" />

Comments

EvanDonovan’s picture

Google's JSAPI is used for remote hosting of JavaScript libraries (like jQuery) - see http://cxliv.org/2008/05/27/should_you_use_googles_ajax_libraries_api_fo.... It shouldn't normally be needed in Drupal, since Drupal includes the local copy of jQuery, if needed.

What modules are you running? If you gave a list, maybe someone could isolate which one would be causing this.

Online Publications Editor,
UrbanMinistry.org
http://www.urbanministry.org/user/evandonovan