Error when using Datatables.net Jquery lib


#1

Hi,

I try to make tables that use jquery/javascript with datatables.net third party, but i couldn’t. It is good when i use localhost or other host (like 000webhost, with many limitations). And then when i use this infinitefree, i encounter this problem.

`dataTables.bootstrap.min.js:5 Uncaught TypeError: Cannot read property ‘defaults’ of undefined
at f (dataTables.bootstrap.min.js:5)
at dataTables.bootstrap.min.js:8
at dataTables.bootstrap.min.js:8
f @ dataTables.bootstrap.min.js:5
(anonymous) @ dataTables.bootstrap.min.js:8
(anonymous) @ dataTables.bootstrap.min.js:8

dataTables.responsive.js:867 Uncaught TypeError: Cannot read property ‘Responsive’ of undefined
at dataTables.responsive.js:867
at dataTables.responsive.js:873
(anonymous) @ dataTables.responsive.js:867
(anonymous) @ dataTables.responsive.js:873

jquery.min.js:2 jQuery.Deferred exception: $(…).DataTable is not a function TypeError: $(…).DataTable is not a function
at HTMLDocument. (http://kasban.epizy.com/pages/dashbor.php:333:33)
at j (http://kasban.epizy.com/vendor/jquery/jquery.min.js:2:29568)
at k (http://kasban.epizy.com/vendor/jquery/jquery.min.js:2:29882) undefined
r.Deferred.exceptionHook @ jquery.min.js:2
k @ jquery.min.js:2
setTimeout (async)
(anonymous) @ jquery.min.js:2
i @ jquery.min.js:2
fireWith @ jquery.min.js:2
fire @ jquery.min.js:2
i @ jquery.min.js:2
fireWith @ jquery.min.js:2
ready @ jquery.min.js:2
R @ jquery.min.js:2

jquery.min.js:2 Uncaught TypeError: $(…).DataTable is not a function
at HTMLDocument. (dashbor.php:333)
at j (jquery.min.js:2)
at k (jquery.min.js:2)`

Thank You

#2

somehow i fixed this problem by renaming my webpage folder inside htdocs.