In admin/validate.php
Line 110 has a missing where clause and will count words in all unvalidated chapters after you validate any one chapter. It should be:
$count = dbquery("SELECT SUM(wordcount) as totalcount FROM ".$tableprefix."fanfiction_chapters WHERE sid = '$sid' AND validated=1");
Line 115 has fanfiction_ missing from the table name and in incorrect where clause - it should read:
list($chapters, $words) = dbrow(dbquery("SELECT COUNT(chapid), SUM(wordcount) FROM ".$tableprefix."fanfiction_chapters WHERE validated=1"));
Line 117 is an excess } that needs to be deleted.
I'm hoping this should also fix my problem - I don't require validation, but at the moment I have a queue of chapters, that I cannot validate.
I validated new stories and chapters since the upgrade. Seems to be fixed.
Whoever said nothing is impossible never tried slamming a revolving door.
url: https://www.potionsandsnitches.org/fanfiction
php: 7.4.33 msql: 5.6.51-community GPL
efic version: 3.5.5 latest patches: yes
bridges: none mods: challenges, tracker, story end, beta, word
This is fixed in 3.3