• 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

Brogan

XenForo moderator
Staff member
#2
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.
 

Jeremy

Well-known member
#3
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?
 

Adam Howard

Well-known member
#8
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
 

Adam Howard

Well-known member
#9
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.
 

tommydamic68

Well-known member
#10
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
It doesn't appear this add-on has a js folder. Strange.
 

tommydamic68

Well-known member
#11
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
Where exactly is this added?
 

tommydamic68

Well-known member
#12
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.
What is this in reference to? perhaps xengallery update.
 

Adam Howard

Well-known member
#13
It doesn't appear this add-on has a js folder. Strange.
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"
 

tommydamic68

Well-known member
#16
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"
yes it is, just looked through install folder - no js as crazy as it sounds, thank @Adam Howard
 

tommydamic68

Well-known member
#19
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
where do i add this exactly? is the htaccess file that is.