You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 298 Next »

Hello Michael

Thanks for having answered so promptly. In fact i have installed the Joget module in Drupal, and unfortunately the error persists. I already have the sources for Drupal Joget Module (PHP) and would like to obtain the sources for Drupal Directory Manager Plugin. The following is a copy of catalina log (at least the part i consider relevant):

14/06/2011 17:08:43 org.apache.commons.httpclient.HttpMethodBase getResponseBody
AVISO: Going to buffer response body of large or unknown size. Using getResponseBodyAsStream instead is recommended.
14/06/2011 17:08:43 org.joget.plugin.directory.DrupalDirectoryManagerImpl authenticate
INFO: Authentication response body received <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML+RDFa 1.0//EN"
  "http://www.w3.org/MarkUp/DTD/xhtml-rdfa-1.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" version="XHTML+RDFa 1.0" dir="ltr"
  xmlns:content="http://purl.org/rss/1.0/modules/content/"
  xmlns:dc="http://purl.org/dc/terms/"
  xmlns:foaf="http://xmlns.com/foaf/0.1/"
  xmlns:og="http://ogp.me/ns#"
  xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#"
  xmlns:sioc="http://rdfs.org/sioc/ns#"
  xmlns:sioct="http://rdfs.org/sioc/types#"
  xmlns:skos="http://www.w3.org/2004/02/skos/core#"
  xmlns:xsd="http://www.w3.org/2001/XMLSchema#">

<head profile="http://www.w3.org/1999/xhtml/vocab">
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="shortcut icon" href="http://localhost/pqdemo/misc/favicon.ico" type="image/vnd.microsoft.icon" />
<meta name="Generator" content="Drupal 7 (http://drupal.org)" />
  <title>Access denied | Portal da Qualidade</title>
  <style type="text/css" media="all">@import url("http://localhost/pqdemo/modules/system/system.base.css?lmsesx");
@import url("http://localhost/pqdemo/modules/system/system.menus.css?lmsesx");
@import url("http://localhost/pqdemo/modules/system/system.messages.css?lmsesx");
@import url("http://localhost/pqdemo/modules/system/system.theme.css?lmsesx");</style>
<style type="text/css" media="all">@import url("http://localhost/pqdemo/modules/comment/comment.css?lmsesx");
@import url("http://localhost/pqdemo/modules/field/theme/field.css?lmsesx");
@import url("http://localhost/pqdemo/modules/node/node.css?lmsesx");
@import url("http://localhost/pqdemo/modules/search/search.css?lmsesx");
@import url("http://localhost/pqdemo/modules/user/user.css?lmsesx");
@import url("http://localhost/pqdemo/sites/all/modules/views/css/views.css?lmsesx");</style>
<style type="text/css" media="all">@import url("http://localhost/pqdemo/sites/all/modules/ctools/css/ctools.css?lmsesx");</style>
<style type="text/css" media="all">@import url("http://localhost/pqdemo/themes/bartik/css/layout.css?lmsesx");
@import url("http://localhost/pqdemo/themes/bartik/css/style.css?lmsesx");
@import url("http://localhost/pqdemo/themes/bartik/css/colors.css?lmsesx");</style>
<style type="text/css" media="print">@import url("http://localhost/pqdemo/themes/bartik/css/print.css?lmsesx");</style>

<!--[KB:if lte IE 7]>
<link type="text/css" rel="stylesheet" href="http://localhost/pqdemo/themes/bartik/css/ie.css?lmsesx" media="all" />
<![KB:endif]-->

<!--[KB:if IE 6]>
<link type="text/css" rel="stylesheet" href="http://localhost/pqdemo/themes/bartik/css/ie6.css?lmsesx" media="all" />
<![KB:endif]-->
  <script type="text/javascript" src="http://localhost/pqdemo/misc/jquery.js?v=1.4.4"></script>
<script type="text/javascript" src="http://localhost/pqdemo/misc/jquery.once.js?v=1.2"></script>
<script type="text/javascript" src="http://localhost/pqdemo/misc/drupal.js?lmsesx"></script>
<script type="text/javascript" src="http://localhost/pqdemo/sites/all/modules/views/js/jquery.ui.dialog.patch.js?lmsesx"></script>
<script type="text/javascript">
<!-//><![CDATA[//><!-
jQuery.extend(Drupal.settings, {"basePath":"\/pqdemo\/","ajaxPageState":{"theme":"bartik","theme_token":"GdO0Ld4tvQdYdFXijVoS4ieemtBZ4mX1d5qvRlLlqCU","js":

Unknown macro: {"misc/jquery.js"}

,"css":

Unknown macro: {"modules/system/system.base.css"}

}});
//--><!]]>
</script>
</head>
<body >
  <div id="skip-link">
    <a href="#main-content">Skip to main content</a>
  </div>
    <div id="page-wrapper"><div id="page">

  <div id="header"><div>

          <a href="/pqdemo/" title="Home" rel="home" id="logo">
        <img src="http://localhost/pqdemo/themes/bartik/logo.png" alt="Home" />
      </a>
    
          <div id="name-and-slogan">

                              <div id="site-name">
              <strong>
                <a href="/pqdemo/" title="Home" rel="home"><span>Portal da Qualidade</span></a>
              </strong>
            </div>
                  
        
      </div> <!- /#name-and-slogan ->
    
    
          <div id="main-menu">
        <h2>Main menu</h2><ul id="main-menu-links"><li><a href="/pqdemo/">Home</a></li>
</ul>      </div> <!- /#main-menu ->
    
    
  </div></div> <!- /.section, /#header ->

 
 
  <div id="main-wrapper"><div id="main">

    
          <div id="sidebar-first"><div>
          <div>
    <div id="block-system-navigation">

    <h2>Navigation</h2>
 
  <div>
    <ul><li><a href="/pqdemo/ctools_ajax_sample">Chaos Tools AJAX Demo</a></li>
</ul>  </div>
</div>
<div id="block-user-login">

    <h2>User login</h2>
 
  <div>
    <form action="/pqdemo/joget/login?destination=joget/login" method="post" id="user-login-form" accept-charset="UTF-8"><div><div>
  <label for="edit-name">Username <span title="This field is required.">*</span></label>
 <input type="text" id="edit-name" name="name" value="" size="15" maxlength="60" />
</div>
<div>
  <label for="edit-pass">Password <span title="This field is required.">*</span></label>
 <input type="password" id="edit-pass" name="pass" value="" size="15" maxlength="60" />
</div>
<div><ul><li><a href="/pqdemo/user/register" title="Create a new user account.">Create new account</a></li>
<li><a href="/pqdemo/user/password" title="Request new password via e-mail.">Request new password</a></li>
</ul></div><input type="hidden" name="form_build_id" value="form-Ap60YOHk2o-EoD71jtpUXhRtRosgKM9vnniC_oEQ_zU" />
<input type="hidden" name="form_id" value="user_login_block" />
<div id="edit-actions"><input type="submit" id="edit-submit" name="op" value="Log in" /></div></div></form>  </div>
</div>
  </div>
      </div></div> <!- /.section, /#sidebar-first ->
    
    <div id="content"><div>
            <a id="main-content"></a>
                    <h1 id="page-title">
          Access denied        </h1>
                          <div>
                  </div>
                          <div>
    <div id="block-system-main">

    
  <div>
    You are not authorized to access this page.  </div>
</div>
  </div>
      
    </div></div> <!- /.section, /#content ->

    
  </div></div> <!- /#main, /#main-wrapper ->

 
  <div id="footer-wrapper"><div>

    
          <div id="footer">
          <div>
    <div id="block-system-powered-by">

    
  <div>
    <span>Powered by <a href="http://drupal.org">Drupal</a></span>  </div>
</div>
  </div>
      </div> <!- /#footer ->
    
  </div></div> <!- /.section, /#footer-wrapper ->

</div></div> <!- /#page, /#page-wrapper ->
  </body>
</html>

14/06/2011 17:08:43 org.joget.plugin.directory.DrupalDirectoryManagerImpl authenticate
GRAVE: Unable to parse JSON response from Drupal
org.json.JSONException: A JSONObject text must begin with '{' at character 1
    at org.json.JSONTokener.syntaxError(JSONTokener.java:496)
    at org.json.JSONObject.<init>(JSONObject.java:180)
    at org.json.JSONObject.<init>(JSONObject.java:403)

  • No labels