Error
Database query error
Query:
UPDATE `sharePhotoFiles` SET `medViews` = `medViews` + 1 WHERE `medID`='5'
Mysql error:
UPDATE command denied to user 'socianet_dbuser'@'localhost' for table 'sharePhotoFiles'
Found error in file /home/socianet/public_html/viewPhoto.php
at line 73. Called db_res function with erroneous argument #0

Debug backtrace:
Array
(
    [1] => Array
        (
            [file] => /home/socianet/public_html/viewPhoto.php
            [line] => 73
            [function] => db_res
            [args] => Array
                (
                    [0] => UPDATE `sharePhotoFiles` SET `medViews` = `medViews` + 1 WHERE `medID`='5'
                )

        )

)
Called script: /viewPhoto.php
Request parameters:
Array
(
    [fileUri] => avatar
    [strSec] => 6f8512be261cc90ee6791555f3544b1c
)