Array
(
    [0] => Array
        (
            [file] => /home/imatacp/public_html/includes/functions.php
            [line] => 1267
            [function] => db_get_records
            [args] => Array
                (
                    [0] => uploads
                    [1] => 
                    [2] => 
                    [3] => folder DESC, filename
                    [4] => 
                    [5] => 1
                )

        )

    [1] => Array
        (
            [file] => /home/imatacp/public_html/includes/functions.php
            [line] => 1277
            [function] => reset_upload_records
            [args] => Array
                (
                )

        )

    [2] => Array
        (
            [file] => /home/imatacp/public_html/includes/inc.php
            [line] => 29
            [args] => Array
                (
                    [0] => /home/imatacp/public_html/includes/functions.php
                )

            [function] => include_once
        )

    [3] => Array
        (
            [file] => /home/imatacp/public_html/index.php
            [line] => 12
            [args] => Array
                (
                    [0] => /home/imatacp/public_html/includes/inc.php
                )

            [function] => include_once
        )

)
Could not retreive record. [Error writing file '/tmp/MYGuIFMQ' (Errcode: 28)]
SELECT * FROM `uploads` ORDER BY folder DESC, filename