PDA

View Full Version : Views count is incorrect - always +1 on replies


mrpotatohead
Thu 29th May '08, 10:19am
Hi guys,

I can't be sure whether this problem has come from a mod I have installed or not, but thought I would try my luck posting here.

A member of mine has noticed that in the forum display (e.g. http://www.bigbrotherwebsite.net/forums/forumdisplay.php?f=29) - all threads posted recently (some even before upgrading to 3.7) have shown the incorrect amount of Views.

In the columns, the Views is always +1 on what the replies is. e.g. Replies: 7, Views: 8.

Any ideas on how to fix this? I've tried updating counters but no change...


- Joe

Steve Machol
Thu 29th May '08, 5:27pm
The most likely cause of this is a modififation.

To troubleshoot this, first reupload all the original vB non-image files (except install.php). Make sure you upload these in ASCII format and overwrite the ones on the server. Also be sure to upload the admincp files to whichever directory you have set in your config.php file. Then run 'Suspect File Versions' in Diagnostics to make sure you have all the original files for your version and that none show 'File does not contain expected contents':

Admin CP -> Maintenance -> Diagnostics -> Suspect File Versions

[Note: In some cases you may also need to remove any of the listed .xml files in the includes/xml directory.]

Next, disable all plugins.

Note: To temporarily disable the plugin system, edit config.php and add this line right under <?php

define('DISABLE_HOOKS', true);

Then if you still have this problem, create a new style and choose no parent style. This will force it to use the default templates. Finally empty your browser cache, close all browser windows then try again. Make sure you change to the new style and view your forums with it. Do you have the same problem?