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

XF 1.2 JS Error - unknown

Discussion in 'Troubleshooting and Problems' started by tommydamic68, Dec 15, 2013.

  1. tommydamic68

    tommydamic68 Well-Known Member

    could anyone identify why I would get this error?


    Screen Shot 2013-12-15 at 10.17.00 AM.png
     
  2. Brogan

    Brogan XenForo Moderator Staff Member

    What changes did you make to your site prior to this error occurring?

    The usual troubleshooting advice applies - disable all add-ons and test again.
    Re-enable one at a time until you identify the culprit.

    Also remove any additional javascript or code you have added to the templates manually.
     
  3. Jeremy

    Jeremy XenForo Moderator Staff Member

    That JavaScript isn't an error, by the way. It is a warning, but one that is constantly repeated by the Popup plugin. This is most likely due to removing code from the Navigation template. Did you remove anything from there?
     
  4. tommydamic68

    tommydamic68 Well-Known Member

  5. Jeremy

    Jeremy XenForo Moderator Staff Member

    If you disable the add-on, does it still occur?
     
  6. tommydamic68

    tommydamic68 Well-Known Member

    thats the thing, not sure how to reproduce it.
     
  7. Adam Howard

    Adam Howard Well-Known Member

    Please send me a pm with your log-in details. I'll have a quick look.
     
  8. Adam Howard

    Adam Howard Well-Known Member

    Found several problems. One of them being that you're missing an add-on

    /js/whohasvisited/

    Seems to point to nothing. You need to re-upload the files. If you wanted to un-install the add-on, you need to do it properly and not just delete files.

    Also you should add this to your htaccess file

    PHP:
    Options -Indexes
    I should not be able to randomly browse all your directories
     
  9. Adam Howard

    Adam Howard Well-Known Member

    Zend_Db_Statement_Mysqli_Exception: Mysqli prepare error: Unknown column 'album.content_count' in 'where clause' - library/Zend/Db/Statement/Mysqli.php:77

    Something also appears to not have installed or uninstalled properly.

    Again, you cannot just simply delete files. You need to actually go through the install / remove process.
     
  10. tommydamic68

    tommydamic68 Well-Known Member

    It doesn't appear this add-on has a js folder. Strange.
     
  11. tommydamic68

    tommydamic68 Well-Known Member

    Where exactly is this added?
     
  12. tommydamic68

    tommydamic68 Well-Known Member

    What is this in reference to? perhaps xengallery update.
     
  13. Adam Howard

    Adam Howard Well-Known Member

    Contact the add-on developer. When visiting your site I get A LOT of 404 errors.

    js/whohasvisited/who_visited.js?_v=24242163
    /data/photos/m/0/461-1248155448-a6929defa9867bb06aa22c2a1979a4a7.gif
    js/whohasvisited/who_visited.js?_v=24242163

    From the above, I would think the add-on is "Who has visited"
     
  14. Adam Howard

    Adam Howard Well-Known Member

    From that error, yes.
     
  15. tommydamic68

    tommydamic68 Well-Known Member

    yes, thats what that error is, will report to author.
     
  16. tommydamic68

    tommydamic68 Well-Known Member

    yes it is, just looked through install folder - no js as crazy as it sounds, thank @Adam Howard
     
  17. Adam Howard

    Adam Howard Well-Known Member

    But don't forget to re-upload the files for "who has visited" or contact the developer.
     
  18. Adam Howard

    Adam Howard Well-Known Member

    You're welcome.
     
  19. tommydamic68

    tommydamic68 Well-Known Member

    where do i add this exactly? is the htaccess file that is.
     
  20. Adam Howard

    Adam Howard Well-Known Member

    You have 30+ errors from MicroCart

    2 that concern me the most are

    ErrorException: rename
    ErrorException: fsockopen()
     

Share This Page