Ir para o conteúdo

 Voltar a OpenACS: Des...
Tela cheia

erro ao listar membros do forum

30 de Janeiro de 2008, 8:06 , por Desconhecido - | 2 Pessoas seguindo este artigo.
Visualizado 7 vezes
ao listar os membros de um determinado forum e apenas nele aparece um erro abaixo: alguém tem uma pista ? ---------------------------------------- Houve um erro processando sua requisição. Retornar a página anterior ao erro Query did not return any rows. while executing

Autor: bruno martinez


88 comentários

  • 12cf2da8b1a1753868c7e20816b7dab5?only path=false&size=50&d=404Eduardo Santos(usuário não autenticado)
    30 de Janeiro de 2008, 8:36

     

    Olá Bruno,

    Aparentemente não tem nenhum membro no seu fórum, ou algumas das consultas que você fez nessa página está com problemas. Tem como você colocar a mensagem de erro inteira?

    • 339a409ae383749e05685b4bdfd55453?only path=false&size=50&d=404bruno martinez(usuário não autenticado)
      30 de Janeiro de 2008, 9:05

       

      tem 3 membros e o forum funciona, apenas quando listo os membros do forum acontece o erro.Os outros forums funcionan normalmente.

      -------------------------------
      o erro na integral a seguir:
      ------------------------------

      Query did not return any rows.
      while executing
      "db_1row portal_select {} -column_array portal"
      (procedure "portal::render" line 16)
      invoked from within
      "portal::render -page_num $page_num -hide_links_p $hide_links_p -render_style $render_style $portal_id"
      (procedure "dotlrn::render_page" line 3)
      invoked from within
      "dotlrn::render_page -hide_links_p t -page_num $page_num $portal_id "
      invoked from within
      "set rendered_page [dotlrn::render_page -hide_links_p t -page_num $page_num $portal_id
      ]"
      ("uplevel" body line 56)
      invoked from within
      "uplevel {
      #
      # Copyright (C) 2001, 2002 MIT
      #
      # This file is part of dotLRN.
      #
      # dotLRN is free software; you can redistribute it and/or modify it u..."
      (procedure "code::tcl::/var/lib/aolserver/coptec_comunidades_new/package..." line 2)
      invoked from within
      "code::tcl::$__adp_stub"
      invoked from within
      "if { [file exists $__adp_stub.tcl] } {

      # ensure that data source preparation procedure exists and is up-to-date
      adp_init tcl $__adp_stub
      ..."
      ("uplevel" body line 3)
      invoked from within
      "uplevel {

      if { [file exists $__adp_stub.tcl] } {

      # ensure that data source preparation procedure exists and is up-to-date
      adp_init t..."
      (procedure "adp_prepare" line 2)
      invoked from within
      "adp_prepare "
      (procedure "template::adp_parse" line 30)
      invoked from within
      "template::adp_parse [file root [ad_conn file]] {}"
      (procedure "adp_parse_ad_conn_file" line 5)
      invoked from within
      "$handler"
      ("uplevel" body line 2)
      invoked from within
      "uplevel $code"
      invoked from within
      "ad_try {
      $handler
      } ad_script_abort val {
      # do nothing
      }"
      invoked from within
      "rp_serve_concrete_file [ad_conn file]"
      (procedure "rp_serve_abstract_file" line 60)
      invoked from within
      "rp_serve_abstract_file "$root/$path""
      ("uplevel" body line 2)
      invoked from within
      "uplevel $code"
      invoked from within
      "ad_try {
      rp_serve_abstract_file "$root/$path"
      set tcl_url2file([ad_conn url]) [ad_conn file]
      set tcl_url2path_info..."

      • 12cf2da8b1a1753868c7e20816b7dab5?only path=false&size=50&d=404Eduardo Santos(usuário não autenticado)
        30 de Janeiro de 2008, 9:14

         

        Estranho. Esse erro indica que o sistema não está conseguindo ler o portal para a página solicitada. Não existe uma página padrão no OpenACS que liste os membros do fórum. Está se referindo aos membros do fórum ou da comunidade?

        Se for a página de membros da comunidade, essa página deve estar com algum problema. Dê uma olhada no arquivo /packages/dotlrn-portlet/www/dotlrn-members-portlet.tcl e coloque o código aqui pra gente tentar ajudar.

        Caso seja essa página de membros do fórum, não tem como saber o que ela faz. Você teria que colocar aqui também pra gente ver o que pode fazer pra te ajudar.

        • 339a409ae383749e05685b4bdfd55453?only path=false&size=50&d=404bruno martinez(usuário não autenticado)
          30 de Janeiro de 2008, 9:19

           

          desculpe não fui claro.
          é na lista de membros da comunidade inteira que tem apenas um forum, ou seja para listar todos os participantes de um determinada comunidade, portanto não é do forum .

          • 12cf2da8b1a1753868c7e20816b7dab5?only path=false&size=50&d=404Eduardo Santos(usuário não autenticado)
            30 de Janeiro de 2008, 9:38

             


            • 339a409ae383749e05685b4bdfd55453?only path=false&size=50&d=404bruno martinez(usuário não autenticado)
              30 de Janeiro de 2008, 13:49

               

              e o arquivo .adp

              ========================

               

              <%

              #

              # Copyright (C) 2001, 2002 MIT

              #

              # This file is part of dotLRN.

              #

              # dotLRN is free software; you can redistribute it and/or modify it under the

              # terms of the GNU General Public License as published by the Free Software

              # Foundation; either version 2 of the License, or (at your option) any later

              # version.

              #

              # dotLRN is distributed in the hope that it will be useful, but WITHOUT ANY

              # WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS

              # FOR A PARTICULAR PURPOSE. See the GNU General Public License for more

              # details.

              #

              %>

               

              <if @config.shaded_p@ ne "t">

              <if @read_private_data_p@ eq 1>

              <table class="table-display" cellpadding=3 cellspacing=0 width=95%>

              <tr class="list-header">

              <th width="11%" align="center" class="list"> #dotlrn-portlet.Photo# </th>

              <th width="21%" class="list" > #dotlrn-portlet.Name#</th>

              <th width="20%" class="list"> #dotlrn-portlet.Email#</th>

              <th width="18%" class="list"> #dotlrn-portlet.Role#</th>

              <th width="20%" class="list"> #dotlrn-portlet.Unid#</th>

              </tr>

              <multiple name="users">

              <group column="role">

              <if @users.rownum@ odd>

              <tr class="odd">

              </if>

              <else>

              <tr class="even">

              </else>

              <td align="center" class="list">

              <if @users.portrait_p@ true>

              <a href="@users.community_member_url@"><img width=48 height=48 border="1" style="border-color: #666666;"

              src="http://www.softwarepublico.gov.br/shared/portrait-thumbnail-bits?user_id=@users.user_id@"> </a>

              </if>

              <else>

              <a href="@users.community_member_url@"><img width=48 height=48 border="0" src="http://www.softwarepublico.gov.br/resources/theme-tupi/Tupi/default/no_picture.jpg"> </a>

              </else>

              </td>

              <td align="center" class="list">

              <%= [acs_community_member_link -user_id $users(user_id) -label "$users(first_names) $users(last_name)"] %>

              </td>

              <td align="center" class="list">

              @users.email;noquote@

              </td>

              <td align="center" class="list">

              <i>@users.role@</i>

              </td>

              <td align="center" class="list">

              @users.unid@

              </td>

              </tr>

              </group>

              </multiple>

              </table>

              <if @spam_p@ true>

              <p>

              <ul>

              <li><a href="spam-recipients?community_id=@community_id@&referer=@referer@">#dotlrn-portlet.Email_Members#</a></li>

              <li><a href="members"><if @admin_p@ ne 1>#dotlrn-portlet.Sort#</if><else>#dotlrn-portlet.Sortmanage#</else></a></li>

              </ul>

              </p>

              </if>

              </if>

              <else>

              <% # The user is not allowed to read the member list - he/she is maybe a guest %>

              #dotlrn-portlet.lt_Sorry_this_functional#

              </else>

              </if>

              <else>

              <% # The portal is shaded - should not be displayed %>

              <br>

              </else>

            • 339a409ae383749e05685b4bdfd55453?only path=false&size=50&d=404bruno martinez(usuário não autenticado)
              30 de Janeiro de 2008, 13:48

               

              como pedido ,o arquivo dotlrn-members-portlet.tcl

               

              ==========================

               

              # Copyright (C) 2001, 2002 MIT

              #

              # This file is part of dotLRN.

              #

              # dotLRN is free software; you can redistribute it and/or modify it under the

              # terms of the GNU General Public License as published by the Free Software

              # Foundation; either version 2 of the License, or (at your option) any later

              # version.

              #

              # dotLRN is distributed in the hope that it will be useful, but WITHOUT ANY

              # WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS

              # FOR A PARTICULAR PURPOSE. See the GNU General Public License for more

              # details.

              #

              # copied from dotlrn/www/members-chunk.tcl

              ad_page_contract {

              @author yon (yon@milliped.com)

              @creation-date Jan 08, 2002

              @version $Id: dotlrn-members-portlet.tcl,v 1.4 2006/11/17 15:14:29 alessandrol Exp $

              } -query {

              } -properties {

              users:multirow

              }

              array set config $cf

              set user_id [ad_conn user_id]

              set referer [ad_conn url]

              set community_id $config(community_id)

              set admin_p [dotlrn::user_can_admin_community_p -user_id $user_id -community_id $community_id]

              set read_private_data_p [dotlrn::user_can_read_private_data_p -user_id $user_id -object_id $community_id]

              set spam_p [dotlrn::user_can_spam_community_p -user_id [ad_get_user_id] -community_id $community_id]

              # Get all users for this community, including role

              template::util::list_of_ns_sets_to_multirow \

              -rows [dotlrn_community::list_users $community_id] \

              -var_name "users"

              template::multirow extend users community_member_url unid

              template::multirow foreach users {

              set role [dotlrn_community::get_role_pretty_name -community_id $community_id -rel_type $rel_type]

              set community_member_url [acs_community_member_url -user_id $user_id]

              set email [email_image::get_user_email -user_id $user_id]

              set unid [ams::attribute::value -object_id $user_id -ams_attribute_id "3693"]

              set first_names [dotlrn::toupper_first_letter -string $first_names]

              set last_name [dotlrn::toupper_first_letter -string $last_name]

              }

               

Oportunidade de Trabalho com OpenACS

9 de Dezembro de 2011, 16:07, por Desconhecido

Domí­nio do ambiente Linux em modo Shell;



Fundamentos de desenvolvimento e criação de comunidades virtuais com o framework OpenACS

28 de Outubro de 2010, 16:51, por Desconhecido

Durante o Latinoware, que será realizado em Foz do Iguaçu entre os dias 10 e 12 de Novembro, será realizada uma oficina sobre desenvolvimento em OpenACS. A oficina é parte da iniciativa de compartilhamento do Projeto Software Público Internacional, e conta com apoio da organização.



Oficina sobre OpenACS em Belo Horizonte

19 de Novembro de 2008, 9:43, por Desconhecido

No dia 27 de novembro de 2008, será realizado durante o Encontro Mineiro de Software Livre, uma oficina para formação de desenvolvedores OpenACS. A oficina tem por objetivo introduzir a ferramenta na cidade e atender a uma demanda crescente por especialistas na área.



Treinamento em OpenACS em Brasília tem sua aula inaugural

10 de Novembro de 2008, 9:43, por Desconhecido

Fruto de uma paceria entre a Lupa Treinamento e a Secretaria de Logística e Tecnologia da Informação do Ministério do Planejamento, começou no último Sábado o terceiro treinamento em OpenACS realizado em Brasília.



Instalacao do OACS 5.3 em Debian e Ubuntu

29 de Janeiro de 2008, 16:52, por Desconhecido

Acaba http://cognovis.de/developer/ou de sair do forno...