{"action":"created","issue":{"url":"https://api.github.com/repos/infinity-next/infinity-next/issues/173","labels_url":"https://api.github.com/repos/infinity-next/infinity-next/issues/173/labels{/name}","comments_url":"https://api.github.com/repos/infinity-next/infinity-next/issues/173/comments","events_url":"https://api.github.com/repos/infinity-next/infinity-next/issues/173/events","html_url":"https://github.com/infinity-next/infinity-next/issues/173","id":116061172,"number":173,"title":"Cloudflare JavaScript issues with InstantClick","user":{"login":"milezteg","id":2200225,"avatar_url":"https://avatars.githubusercontent.com/u/2200225?v=3","gravatar_id":"","url":"https://api.github.com/users/milezteg","html_url":"https://github.com/milezteg","followers_url":"https://api.github.com/users/milezteg/followers","following_url":"https://api.github.com/users/milezteg/following{/other_user}","gists_url":"https://api.github.com/users/milezteg/gists{/gist_id}","starred_url":"https://api.github.com/users/milezteg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/milezteg/subscriptions","organizations_url":"https://api.github.com/users/milezteg/orgs","repos_url":"https://api.github.com/users/milezteg/repos","events_url":"https://api.github.com/users/milezteg/events{/privacy}","received_events_url":"https://api.github.com/users/milezteg/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-11-10T08:31:49Z","updated_at":"2015-11-10T20:10:23Z","closed_at":null,"body":"Commit:  08c3910a4774c3b763d7b815bd91795109ed04f4\r\n\r\nFound these so thought I would document here.  #1 is easy to reproduce but I am only experiencing #2 when using CloudFlare.  Direct IP without going through CF does not reproduce #2.  Dunno why but...\r\n\r\nNotes:  minify off, browser cache off, https on.  Just default on CF.\r\n\r\nGo to any thread page on infnext and open a js console...\r\n\r\n1.  Reproduce by clicking the browse/upload button from any thread page\r\n`TypeError: a is undefined - in /static/vendor/10-jquery/jquery-2.1.4.min.js`\r\n\r\n2.  Reproduce by browsing a thread page\r\n`TypeError: script is undefined - in /static/vendor/80-instaclick/instaclick-3.1.0.js line 432`"},"comment":{"url":"https://api.github.com/repos/infinity-next/infinity-next/issues/comments/155551716","html_url":"https://github.com/infinity-next/infinity-next/issues/173#issuecomment-155551716","issue_url":"https://api.github.com/repos/infinity-next/infinity-next/issues/173","id":155551716,"user":{"login":"milezteg","id":2200225,"avatar_url":"https://avatars.githubusercontent.com/u/2200225?v=3","gravatar_id":"","url":"https://api.github.com/users/milezteg","html_url":"https://github.com/milezteg","followers_url":"https://api.github.com/users/milezteg/followers","following_url":"https://api.github.com/users/milezteg/following{/other_user}","gists_url":"https://api.github.com/users/milezteg/gists{/gist_id}","starred_url":"https://api.github.com/users/milezteg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/milezteg/subscriptions","organizations_url":"https://api.github.com/users/milezteg/orgs","repos_url":"https://api.github.com/users/milezteg/repos","events_url":"https://api.github.com/users/milezteg/events{/privacy}","received_events_url":"https://api.github.com/users/milezteg/received_events","type":"User","site_admin":false},"created_at":"2015-11-10T20:10:23Z","updated_at":"2015-11-10T20:10:23Z","body":"Thanks for fixing my title.  I synched:  bdd7e79d1352a7ab900711d0e2cee1bb0cfb4600\r\n\r\nNice #2 looks fixed on infinitydev.org thread pages, but I can't seem to fix my local copy.  I think I must have some configuration difference.  With the latest commit I don't see it occurring anymore on infintydev.org thread pages but you can still see it happening on some pages like:  https://infinitydev.org/cp/donate - but likely I am getting a CF cached copy.  Anyways...\r\n\r\n#1 Same issue, can reproduce on infinitydev.org.\r\n\r\n#2 Fixed on infinitydev.org.  Can't fix it in my own repo. Just to iterate a bit...I go to a thread page, see the error, refresh the page and the error is suppressed.  Weird. And Instaclick works fine without CF (straight to https://IP).  I must have some difference in my setup somewhere.\r\n\r\nI am doing `php artisan cache:clear` and clearing memcached after commits as well as leaving Cloudflare in dev mode.  Browser set to not use cache.  Set both of these to *file* from *memcached*, same thing:  `CACHE_DRIVER=file, SESSION_DRIVER=file`.  No idea what is tripping up CF."}}