(2026-11-06, 09:15 PM)Dave H Wrote: Could you validate files with the mybb server in the past? As I recall, the validater gets the checksums from mybb.com via a file_get_contents() call. However, for that to work with a URL (as mybb.com is) you need to have the setting allow_url_fopen in your php.ini - that was disabled on my server and may be on your as well. I ended up adding this to my copy of file_verification.php and calling it instead:
function curl_file_get_contents($url)
{
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, $url);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$response = curl_exec($ch);
curl_close($ch);
return $response;
}
I'm not sure where you are in the process, but I went to your site and it offered to let me either install it or upgrade it. (I didn't do either.) I don't know if you (or some random stranger) did an install - you don't want to install, you want to upgrade. Note - install means creating a new database - and I think with the install script exposed to the world, anyone can potentially do that.
I've never validated files. I'm not even sure how to. I just downloaded the latest version from the main site.
I've been rebuilding and installing for a couple of days now. and I think I know what the issue is although it makes no sense.
I restore the files and the db. I got the same errors on the restored system. So it must be something to do with PHP which is now at 8.4. So I rolled that back to 7.4 and the errors disappeared.
I went in and ensured I disabled plugins and locked the board. 100% sure. I then ran the upgrade script again and it appeared to work fine again.
I then upgraded PHP to 8.4 and the messages appeared again.
So I restored everything back to 7.4, old forum, old db and checked it was fine. I've updated the forum to the latest version and it appears to be working fine. Only thing is when I change PHP to 8.4 it comes up with the error message warnings. Every time.
I'm stuck now. Any ideas? My next move is a new install and restoring the data but I don't want to do that if I can help it.