Javascript error in Control Panel

Hi

I have a js error in the control panel on my live server (this works perfectly well locally). This means that any image type input fields don't load properly.

It could be that this due to the GD lib not having enough memory, however php has access to 256Mb of memory. Also, resizing images on the front end of my site work perfectly well.

Here's how the broken image input looks:

Screen Shot 2015-01-04 at 18.10.39.png

And the JS error:

[Error] ReferenceError: Can't find variable: Statamic
    global code (publish, line 20)
[Error] TypeError: undefined is not a function (evaluating '$('#DsYcHFxJk9cWssp9N0tFsD0hBwWgKQRF').statamicMarkitup()')
    global code (publish, line 198)
[Error] TypeError: undefined is not a function (evaluating '$('#qjjqDFQpQ7Rdx5GzbkRxJBhlNHktgjfX').statamicFile')
    global code (publish, line 237)
[Error] TypeError: undefined is not a function (evaluating '$('#rV5sXbm0dJsT6g9BbvP8JBSZ0GvNkJhS').statamicSuggest()')
    global code (publish, line 252)
[Error] TypeError: undefined is not a function (evaluating '$('#h3VwXRMVw8gz57n6HkQtv3WnwF0ZzChx').statamicFile')
    global code (publish, line 320)

Any ideas? Thanks.

Answered by Jon Roobottom!
>>>>>>> Answered <<<<<<<
1 Reply
1 Follower