# ReferenceError: define is not defined on admin page

**URL:** <https://forum.ghost.org/t/referenceerror-define-is-not-defined-on-admin-page/11214>\
**Category:** Developer help\
**Created:** [January 7, 2020, 12:28pm UTC](https://forum.ghost.org/t/referenceerror-define-is-not-defined-on-admin-page/11214 "2020-01-07T12:28:12Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![Kevin](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/kevin/32/32_2.png) [@Kevin](https://forum.ghost.org/u/Kevin)\
**Post date:** [January 8, 2020, 9:59am UTC](https://forum.ghost.org/t/referenceerror-define-is-not-defined-on-admin-page/11214/6 "2020-01-08T09:59:55Z")

</div>

@koldLight doing a google search for “nginx net::ERR\_INCOMPLETE\_CHUNKED\_ENCODING” it sounds like it could be a permissions problem on your server.

When nginx proxies a file over a particular size it can write it to disk as a temporary file, if the permissions on it’s directory are incorrect then it can result in the error you’re seeing. There’s a related stack overflow answer here [ruby on rails - net::ERR\_INCOMPLETE\_CHUNKED\_ENCODING nginx - Stack Overflow](https://stackoverflow.com/a/32852154/1163866)

If it doesn’t seem to be that, maybe look into the resource usage on your server to make sure you’re not hitting any memory or disk space limits.

---

_[View the full topic](https://forum.ghost.org/t/referenceerror-define-is-not-defined-on-admin-page/11214)._
