Here's a patch to cure that and a missing .threads error
Before
Code
$thread_data = file($threadspath);
Add
Code
if (file_exists($threadspath)) {
and After
Code
$thr_array = $threads--;
Insert
Code
} else { $thr_array = 0; echo "Unable to read .threads file. Either you are trying to access a private forum, or you need to Rebuild your forum stat files."; }
Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.
Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.