1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

XF 1.2 anonymous function error in all js

Discussion in 'Installation, Upgrade, and Import Support' started by RoldanLT, Jul 3, 2013.

  1. RoldanLT

    RoldanLT Well-Known Member

    How to fix this errors?
    Capture.PNG
     
  2. Jeremy

    Jeremy XenForo Moderator Staff Member

    Do you have jQuery defined and loaded in on the page?
     
  3. RoldanLT

    RoldanLT Well-Known Member

  4. RoldanLT

    RoldanLT Well-Known Member

    Before I upgraded that demo site, using 1.1.5 of xenforo.
    Everything is OK, that error just happen after I upgrade to xf 1.2 beta 4
     
  5. Brogan

    Brogan XenForo Moderator Staff Member

    Run the file health check.
     
  6. RoldanLT

    RoldanLT Well-Known Member

    All 1,085 checked files are present and correct.
     
  7. RoldanLT

    RoldanLT Well-Known Member

    But File Health Check is just a quick, only a second then it display that result.
     
  8. RoldanLT

    RoldanLT Well-Known Member

    Any ? :(
     
  9. Jeremy

    Jeremy XenForo Moderator Staff Member

    Your Xenforo JavaScript object is failing to work properly. Specifically, $.browser is undefined. Have you made any recent changes to your install? More specifically, have you removed the jQuery Migrate plugin, since that adds back $.browser support?

    Try re-uploading /js/xenforo.js. The migrate plugin is the first line (first few characters should be "jQuery.migrateMute"). If that doesn't work, what changes have you recently made?
     
    Last edited: Jul 4, 2013
  10. RoldanLT

    RoldanLT Well-Known Member

    I have no recent changes on the xenforo core.
     
  11. Jeremy

    Jeremy XenForo Moderator Staff Member

    Try re-uploading the .js file I mentioned in the last one. I'm looking and comparing yours to the one that ships with XenForo and they aren't the same.
     
    RoldanLT likes this.
  12. RoldanLT

    RoldanLT Well-Known Member

    What is the correct ssh command to replace files/overwrite?
    What i did is:
    scp upload.zip user@x.x.x.x:/home/public_html
    unzip upload.zip
    A (ALL)

    I also tried unzip -b upload.zip

    Still problem not fix.
     
  13. Jeremy

    Jeremy XenForo Moderator Staff Member

    Unfortunately, I FTP files. Just gave a quick glance and the file you have recently reuploaded is still missing the first line (the migrate plugin). Not sure how or why.
     
    RoldanLT likes this.
  14. RoldanLT

    RoldanLT Well-Known Member

    I will re-test the upgrade in different server with ftp.
     
  15. Liam W

    Liam W Well-Known Member

    Try reuploading and overwriting all files :)

    (The full install file)
     
    RoldanLT likes this.

Share This Page