Error
Database query error
Query:
UPDATE `sharePhotoFiles` SET `medViews` = `medViews` + 1 WHERE `medID`='244'
Mysql error:
UPDATE command denied to user 'RICH'@'linux06.atelierlogico.net' for table 'sharePhotoFiles'
Found error in file /var/autofs/sites/erlogfssites/rich/netXOES/viewPhoto.php
at line 73. Called db_res function with erroneous argument #0

Debug backtrace:
Array
(
    [1] => Array
        (
            [file] => /var/autofs/sites/erlogfssites/rich/netXOES/viewPhoto.php
            [line] => 73
            [function] => db_res
            [args] => Array
                (
                    [0] => UPDATE `sharePhotoFiles` SET `medViews` = `medViews` + 1 WHERE `medID`='244'
                )

        )

)
Called script: /viewPhoto.php
Request parameters:
Array
(
    [fileUri] => Rocking-Chinese-Mobile-Phones
    [phpbb3_3yj1k_k] => 
    [phpbb3_3yj1k_sid] => 769345887f0b6d289b42fa8aaf5203a5
    [phpbb3_3yj1k_u] => 1
    [lang] => en
)