Fatal error: Call to a member function getRow() on

Can you help me please on server linux 

Debug backtrace:
Array
(
    [1] => Array
        (
            [file] => /home/raktemcom/domains/raktem.com/public_html/inc/classes/BxDolDb.php
            [line] => 68
            [function] => error
            [class] => BxDolDb
            [object] => BxDolDb Object
                (
                    [error_checking] => 1
                    [error_message] => 
                    [host] => localhost
                    [port] => 
                    [socket] => 
                    [dbname] => raktemcom_dolph
                    [user] => *****
                    [password] => *****
                    [link] => 
                    [current_res] => 
                    [current_arr_type] => 1
                    [oParams] => 
                    [oDbCacheObject] => 
                )

            [type] => ->
            [args] => Array
                (
                    [0] => Database connect failed
                    [1] => 1
                )

        )

    [2] => Array
        (
            [file] => /home/raktemcom/domains/raktem.com/public_html/inc/classes/BxDolDb.php
            [line] => 44
            [function] => connect
            [class] => BxDolDb
            [object] => BxDolDb Object
                (
                    [error_checking] => 1
                    [error_message] => 
                    [host] => localhost
                    [port] => 
                    [socket] => 
                    [dbname] => raktemcom_dolph
                    [user] => *****
                    [password] => *****
                    [link] => 
                    [current_res] => 
                    [current_arr_type] => 1
                    [oParams] => 
                    [oDbCacheObject] => 
                )

            [type] => ->
            [args] => Array
                (
                )

        )

    [3] => Array
        (
            [file] => /home/raktemcom/domains/raktem.com/public_html/inc/db.inc.php
            [line] => 12
            [function] => BxDolDb
            [class] => BxDolDb
            [object] => BxDolDb Object
                (
                    [error_checking] => 1
                    [error_message] => 
                    [host] => localhost
                    [port] => 
                    [socket] => 
                    [dbname] => raktemcom_dolph
                    [user] => *****
                    [password] => *****
                    [link] => 
                    [current_res] => 
                    [current_arr_type] => 1
                    [oParams] => 
                    [oDbCacheObject] => 
                )

            [type] => ->
            [args] => Array
                (
                )

        )

    [4] => Array
        (
            [file] => /home/raktemcom/domains/raktem.com/public_html/inc/classes/BxDolAlerts.php
            [line] => 7
            [args] => Array
                (
                    [0] => /home/raktemcom/domains/raktem.com/public_html/inc/db.inc.php
                )

            [function] => require_once
        )

    [5] => Array
        (
            [file] => /home/raktemcom/domains/raktem.com/public_html/inc/header.inc.php
            [line] => 167
            [args] => Array
                (
                    [0] => /home/raktemcom/domains/raktem.com/public_html/inc/classes/BxDolAlerts.php
                )

            [function] => require_once
        )

    [6] => Array
        (
            [file] => /home/raktemcom/domains/raktem.com/public_html/administration/index.php
            [line] => 8
            [args] => Array
                (
                    [0] => /home/raktemcom/domains/raktem.com/public_html/inc/header.inc.php
                )

            [function] => require_once
        )

)
Called script: /administration/index.php
Request parameters:
Array
(
    [cat] => modules
    [memberSession] => 9NB?YAU8fQcwiX.ybVk3PAk7?!Z/mrh&
    [memberID] => 1
    [memberPassword] => aeef7aed268ebac8c95c845eb9772cb36401d169
    [skin] => uni
    [profile_polls_question_1] => 1
    [1] => 
    [lang] => en
)


Fatal error: Call to a member function getRow() on a non-object in /home/raktemcom/domains/raktem.com/public_html/inc/utils.inc.php on line 437

2013-09-26_195926.jpg · 107.3K · 328 views
Quote · 26 Sep 2013

when that has happened to me, it meant that a variable used in my query was empty, thus the query failed. Example:

$acuity = mysql_query("SELECT * FROM acuity WHERE client_id = '$client' ORDER BY acuity_id DESC LIMIT 1");

while ($row_acuity = mysql_fetch_array($acuity)) {
$dateacuity = $row_acuity["date"];
$PsychologicalPain = $row_acuity["PsychologicalPain"];
$Stress = $row_acuity["Stress"];

}

with this alone - there is no definition for the variable $client, so I would get that error. But adding:

$client = $_GET['ID'];

to the beginning - would make everything work correctly. I am just guessing as my database errors show the query and give the answer right there, but I do not see that on yours. Would you be able to show your actual query code?

 

Also an FYI - dont show your cookie variables, as these can be used to hack your site.

caredesign.net
Quote · 26 Sep 2013
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.