idoenk / dev-kaskus-quick-reply

Automatically exported from code.google.com/p/dev-kaskus-quick-reply
2 stars 0 forks source link

TypeError: Object function ... has no method 'cookie' #43

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Using Chrome (any stable version tested: 26.0.1410.43 | 27.0.1453.94 | 
28.0.1500.95)
2. with latest stable Tampermonkey (v3.3.3487)
3. without any userscript instead of KQR (using KQR standalone with 
Tampermonkey)
4. using release and dev KQR

What is the expected output? What do you see instead?
No Error "TypeError: Object function (E,F){return new o.fn.init(E,F)} has no 
method 'cookie'"

What version of the product are you using? On what operating system?
v4.1.0.5 (release) & v4.1.0.6 (r435) @dtversion 1305304106

Please provide any additional information below.

Error Dialog:
TypeError: Object function (E,F){return new o.fn.init(E,F)} has no method 
'cookie'

Trial & Error:
Dicoba pake Chrome Stable v25 juga masi error, semua userscript udah di-disable 
kecuali KQR (pakai yang v4.1.0.5 atau v4.1.0.6 DEV error juga... Tapi kalau 
pakai mQR dan KQR di-disable errornya ga muncul...)

Btw: Di Firefox ga muncul error itu.... (tapi di trit Firefox sempat ada yang 
nanyain muncul error serupa)

TKP: http://www.kaskus.co.id/show_post/51fa65e83fcb175b33000007/6487/
Error: "TypeError: $.cookie is not a function"

Original issue reported on code.google.com by coolk...@gmail.com on 1 Aug 2013 at 7:45

Attachments:

GoogleCodeExporter commented 9 years ago
Other similar case:
http://www.kaskus.co.id/show_post/51f4b472f7ca17093000000b/7427/
http://www.kaskus.co.id/show_post/51f9c2051dd7191738000005/7429/

Original comment by coolk...@gmail.com on 11 Aug 2013 at 5:19

GoogleCodeExporter commented 9 years ago
still cant reproduce the issue, yet. :|
as far (r438) alert method is being get rid.

mQR dgn KQR bukannya beda metadata include-nya yah?
hanya KQR yg melibatkan pemanggilan method $.cookie, which available via
http://cdn.kaskus.com/themes_2.0/js/jquery.cookie.js
asumsi file ini failed terload.

but, somehow entah knp file ini di panggil 2x (kalo ngeliat di view-source)
efek samping yg harusnya muncul ketika ini gagal, multi-quote at different page 
(same thread) might also malfunction.

Thx.

Original comment by 1d0...@gmail.com on 11 Aug 2013 at 1:09

GoogleCodeExporter commented 9 years ago
failover handler implemented in r439.
now it should properly work whenever $.cookie method is missing

Original comment by 1d0...@gmail.com on 11 Aug 2013 at 3:39

GoogleCodeExporter commented 9 years ago
Cannot reproduce and had never encountered this issue before.
Console error log screenshot would help, karena ini error belum tentu karena 
kqr juga; bisa jadi karena connection issue, jquery belum keload or something 
else.

Original comment by Sanjito....@gmail.com on 11 Aug 2013 at 3:49

GoogleCodeExporter commented 9 years ago
p1nk's tip, this could raised while using with scriptish (instead of GM).
tested: FF23, scriptish 0.1.11, KQR v4.1.0.5

update to r439, seems solved yes?. cmiiw

Original comment by 1d0...@gmail.com on 11 Aug 2013 at 4:19

GoogleCodeExporter commented 9 years ago
Tested r435 with FF23, Scriptish 0.1.11. Issue does not occur; cannot verify 
fix.

Original comment by Sanjito....@gmail.com on 11 Aug 2013 at 4:27

GoogleCodeExporter commented 9 years ago
My experience: It's happen only if I use Chrome... with Firefox, I've never 
have this problem.

Note: In Firefox use KQR along with Local Load Extension + Local Load Extended

Original comment by coolk...@gmail.com on 12 Aug 2013 at 1:23

GoogleCodeExporter commented 9 years ago
Well it's getting weird, :D
KQR in my GC 27 looks fine with stable TM or the beta one.
Anyhow is the r439 still raise any of this issue?

*gonna try that FF ext. later.

Original comment by 1d0...@gmail.com on 12 Aug 2013 at 5:57

GoogleCodeExporter commented 9 years ago
Cleanup; issue overdue and mostly invalid with the new codebase.
Please create a new issue if issue persisted.

Original comment by Sanjito....@gmail.com on 3 Feb 2015 at 9:46