Advertisement
Guest User

Untitled

a guest
Dec 31st, 2012
90
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.35 KB | None | 0 0
  1. I am currently testing page overlay and get several errors (version is Piwik 1.10b2)
  2.  
  3. {{{
  4. Unsafe JavaScript attempt to access frame with URL http://piwik.geekproject.eu/index.php?module=Overlay&period=month&date=today&idSite=1#l=http$3A$2F$2Fgeekmonkey.org$2F from frame with URL http://geekmonkey.org/. Domains, protocols and ports must match.
  5. piwik.js:14
  6. 2
  7. Unsafe JavaScript attempt to access frame with URL http://piwik.geekproject.eu/index.php?module=Overlay&period=month&date=today&idSite=1#l=http$3A$2F$2Fgeekmonkey.org$2F from frame with URL http://geekmonkey.org/. Domains, protocols and ports must match.
  8. piwik.js:14
  9. Uncaught SyntaxError: Unexpected token < /index.php?module=API&method=Overlay.getTranslations&idSite=1&period=month&date=today&format=JSON&filter_limit=-1&jsoncallback=jQuery1830013447137549519539_1356954227925&_=1356954228294:2
  10. Unsafe JavaScript attempt to access frame with URL http://geekmonkey.org/ from frame with URL http://piwik.geekproject.eu/index.php?module=Overlay&period=month&date=today&idSite=1#l=http$3A$2F$2Fgeekmonkey.org$2F. Domains, protocols and ports must match.
  11. chrome-extension://elifhakcjgalahccnjkneoccemfahfoa/chrome/contentscript.js:82
  12. 2
  13. Unsafe JavaScript attempt to access frame with URL http://piwik.geekproject.eu/index.php?module=Overlay&period=month&date=today&idSite=1#l=http$3A$2F$2Fgeekmonkey.org$2F from frame with URL http://geekmonkey.org/. Domains, protocols and ports must match.
  14. piwik.js:14
  15. 2
  16. Unsafe JavaScript attempt to access frame with URL http://piwik.geekproject.eu/index.php?module=Overlay&period=month&date=today&idSite=1#l=http$3A$2F$2Fgeekmonkey.org$2F from frame with URL http://geekmonkey.org/. Domains, protocols and ports must match.
  17. piwik.js:14
  18. Uncaught SyntaxError: Unexpected token < /index.php?module=API&method=Overlay.getTranslations&idSite=1&period=month&date=today&format=JSON&filter_limit=-1&jsoncallback=jQuery18302361928941681981_1356954230577&_=1356954230734:2
  19. 19
  20. Unsafe JavaScript attempt to access frame with URL http://geekmonkey.org/ from frame with URL http://piwik.geekproject.eu/index.php?module=Overlay&period=month&date=today&idSite=1#l=http$3A$2F$2Fgeekmonkey.org$2F. Domains, protocols and ports must match.
  21. chrome-extension://elifhakcjgalahccnjkneoccemfahfoa/chrome/contentscript.js:82
  22.  
  23. }}}
  24.  
  25. I noticed the "unexpected token <" error and looked what the server responds:
  26.  
  27. {{{
  28.  
  29. <div style='word-wrap: break-word; border: 3px solid red; padding:4px; width:70%; background-color:#FFFF96;'>
  30. <strong>There is an error. Please report the message (Piwik 1.10-b2)
  31. and full backtrace in the <a href='?module=Proxy&action=redirect&url=http://forum.piwik.org' target='_blank'>Piwik forums</a> (please do a Search first as it might have been reported already!).<br /><br/>
  32. Strict Notice:</strong> <i>Only variables should be passed by reference</i> in <b>/var/www/htdocs/piwik.c0demonkey.com/html/plugins/Overlay/API.php</b> on line <b>116</b>
  33. <br /><br />Backtrace --&gt;<div style="font-family:Courier;font-size:10pt"><br />
  34. #0 Piwik_ErrorHandler(...) called at [/var/www/htdocs/piwik.c0demonkey.com/html/plugins/Overlay/API.php:116]<br />
  35. #1 Piwik_Overlay_API-&gt;authenticate(...) called at [/var/www/htdocs/piwik.c0demonkey.com/html/plugins/Overlay/API.php:36]<br />
  36. #2 Piwik_Overlay_API-&gt;getTranslations(...) called at [:]<br />
  37. #3 call_user_func_array(...) called at [/var/www/htdocs/piwik.c0demonkey.com/html/core/API/Proxy.php:190]<br />
  38. #4 Piwik_API_Proxy-&gt;call(...) called at [/var/www/htdocs/piwik.c0demonkey.com/html/core/API/Request.php:128]<br />
  39. #5 Piwik_API_Request-&gt;process(...) called at [/var/www/htdocs/piwik.c0demonkey.com/html/plugins/API/Controller.php:27]<br />
  40. #6 Piwik_API_Controller-&gt;index(...) called at [:]<br />
  41. #7 call_user_func_array(...) called at [/var/www/htdocs/piwik.c0demonkey.com/html/core/FrontController.php:138]<br />
  42. #8 Piwik_FrontController-&gt;dispatch(...) called at [/var/www/htdocs/piwik.c0demonkey.com/html/index.php:53]</div><br />
  43. </pre></div><br />jQuery18307169822950381786_1356954297728([{"oneClick":"1 click","clicks":"%s clicks","clicksFromXLinks":"%1$s clicks from one of %2$s links","link":"Link"}])
  44. }}}
  45.  
  46. The installation is a fresh install (no files changed) of Piwik 1.10b2. I am running Google Chrome 23, nginx, PHP 5.4.9. I can't reproduce this on the demo, so I am not sure if this is a local misconfiguration.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement