Uncaught Unknown file table name: files error.

Uncaught Unknown file table name: files error.

jarrettjjarrettj Posts: 13Questions: 4Answers: 0

Hi,

Good day.

This error comes and goes and I am not sure how and why anymore? For a moment it disappeared yesterday, then all of a sudden it is back today.

Attached my responses from the server during upload:

And the error:

My file upload rendering code:

            {
                data: "file_upload",
                render: function ( file_id ) {
                    return file_id ?
                        '<span>' + editorIncident.file('files', file_id).filename + '</span>    ' +
                        '<a href="/file/document/download/' + file_id + '">' +
                        '<i class="fa fa-download"></i>\n' +
                        '</a>' :
                        null;
                },
                defaultContent: "No file",
                title: "File"
            }

The strange part of this all is if I return a test array which obviously comes back in no time, it works. But as soon as I actually do the file upload and return proper data it fails. Any help would be much appreciated. Thanks.

Regards.
Jarrett

Answers

  • allanallan Posts: 63,214Questions: 1Answers: 10,415 Site admin

    Hi Jarrett.

    Does this error happen when you reload the page and it is displaying the table for the first time? If so, can you run the debugger on your page for me, and click the upload option, then upload a trace and let me know the debug code.

    Thanks,
    Allan

This discussion has been closed.