Error: Object doesn't support property or method 'DataTable'

Error: Object doesn't support property or method 'DataTable'

PaladinMatttPaladinMattt Posts: 2Questions: 1Answers: 0
edited March 2016 in Free community support

I have a wordpress page that I develop on my local machine with a localwebserver. I then upload everything to my webserver when it's all working properly. Datatables works good on my local machine, but then when I upload everything to my public server, I get the error
Line: 280
Error: Object doesn't support property or method 'DataTable'
when accessing the page.
http://portal.paladinpos.com/my-cases/
Any help would be greatly appreciated as I cannot figure out why it works on my local server, but not the public one.

This question has an accepted answers - jump to answer

Answers

  • allanallan Posts: 63,213Questions: 1Answers: 10,415 Site admin
    Answer ✓

    http://portal.paladinpos.com/wp-content/plugins/crm-cases/js/dataTables.js?ver=4.4.2 Failed to load resource: the server responded with a status of 404 (Not Found)

    That would do it. DataTables isn't being loaded.

    Allan

  • PaladinMatttPaladinMattt Posts: 2Questions: 1Answers: 0

    Thank you. After doing some research with that knowledge, I found it was a stupid mistake on my part, and a matter of case sensitivity. (the file is actually called "datatables.js" not "dataTables.js". My local windows server didn't care, but my public Linux server did. Thank you so much for your help.

This discussion has been closed.