0

i had a website that was working fine on localhost without any errors but after i uploaded it on the domain the slider stoped working and i got this errors

 Uncaught SyntaxError: Unexpected token ILLEGAL /js/jquery-ui.min.js:5 Uncaught TypeError: undefined is not a function custom.js:33 (anonymous function) custom.js:33 c jquery-latest.min.js:1069 p.fireWith jquery-latest.min.js:1113 x.extend.ready jquery-latest.min.js:129 q jquery-latest.min.js:38 

when i removed the custom.js page the error are removed but i need it so i could make the slider work but i

i found that the (anonymous function) can be solved by adding ; after the function but i still give me the same error

2
  • Are all of your .js files actually loading?
    – s_ha_dum
    CommentedMay 6, 2014 at 22:34
  • Maybe you should check the inline java script, and php generated code in your slider. Maybe it's depends on php version on server (Some people use <?= tag and this is available php >5.4). Sometimes php can generate to much whitespaces so it can be problem.
    – user51316
    CommentedMay 6, 2014 at 23:28

0

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.