Joomla 1.5 Ошибка просмотра профиля зарегестрированного пользователя в FireBoard 1.0.5RC2

Discussion in 'Fireboard' started by Fetus, Jun 6, 2009.

  1. Fetus
    Offline

    Fetus Недавно здесь

    Joined:
    May 17, 2009
    Messages:
    28
    Likes Received:
    0
    Gender:
    Male
    При попытке просмотреть профили других форумчан, браузер выдает в виде таблицы такое:

    variable value
    $0 "
    key value
    $file "/.../component...s/fb_debug.php"
    $line "36"
    $function "debug_callstackinfo"
    [args] Nested Array
    "
    $1 "
    key value
    $file "/.../component.../fbprofile.php"
    $line "51"
    $function "trigger_dberror"
    [args] Nested Array
    "
    $2 "
    key value
    $file "/.../component.../fbprofile.php"
    $line "27"
    $function "showprf"
    [args] Nested Array
    "
    $3 "
    key value
    $file "/.../component.../fireboard.php"
    $line "579"
    [args] Nested Array
    $function "include"
    "
    $4 "
    key value
    $file "/.../libraries...ent/helper.php"
    $line "162"
    [args] Nested Array
    $function "require_once"
    "
    $5 "
    key value
    $file "/.../includes/application.php"
    $line "124"
    $function "renderComponent"
    $class "JComponentHelper"
    $type "->"
    [args] Nested Array
    "
    $6 "
    key value
    $file "/.../index.php"
    $line "68"
    $function "dispatch"
    $class "JSite"
    $type "->"
    [args] Nested Array
    "

    Fatal error: Unable to get user info.\nDB function reports no errors in /home/users/.../components/com_fireboard/sources/fb_debug.php on line 37

    Вылечил, исправив в файле

    JOOMLA_PATH/components/com_fireboard/template/default/plugin/fbprofile/fbprofile.php

    Строку 51

    $database->loadObject($userinfo) or trigger_dberror("Unable to get user info.");;

    на

    $database->loadObject($userinfo,false,false); //or trigger_dberror("Unable to get user info.");
     
    Last edited: Jun 6, 2009
  2.  

Share This Page

Loading...