Okay, I got a message from my ISP. They put an htaccess file on the site because of a “bug” that was breaking the site, which seems to have begun when I enabled captchas. Their message is below. Since the trouble started, and when I thought the site was working because by IP address wasn’t restricted, I’ve done the upgrade from 1.6.0 to 1.6.4, so I don’t know whether that might have resolved the original problem.
In /htdocs/www/mpcp/core/core.functions.php there are two calls to the unlink() function, but both were preceded by the @ sign, which makes them suppress any errors that were encountered. I removed the @ signs.
Then, I started browsing the site, and clicked on a ‘comments’ link which led to http://www. . . ./comments/poetry_slams/
There, I received the following warning messages:
Warning: unlink(/etc) [function.unlink]: Is a directory in /htdocs/www/mpcp/core/core.functions.php on line 1769
Warning: unlink(/tmp) [function.unlink]: Is a directory in /htdocs/www/mpcp/core/core.functions.php on line 1769
Warning: unlink(/logs) [function.unlink]: Is a directory in /htdocs/www/mpcp/core/core.functions.php on line 1769
Warning: unlink(/.renv) [function.unlink]: Is a directory in /htdocs/www/mpcp/core/core.functions.php on line 1769
Warning: unlink(/sitebin) [function.unlink]: Is a directory in /htdocs/www/mpcp/core/core.functions.php on line 1769
Warning: unlink(/htdocs) [function.unlink]: Is a directory in /htdocs/www/mpcp/core/core.functions.php on line 1769
And now the site is non-functional.
This indicates that the ExpressionEngine software attempted to delete your entire account, and failed only because it attempted to delete files, not folders. So all files in / were removed. The system folders I’ve mentioned are actually softlinks, a type of file, and so when this occurs, these softlinks are removed and the account is consequently broken.
My guess is that this bug was triggered by your attempts to get CAPTCHA working. It seems to me that CAPTCHA image removal shuold target *.jpg files, not everything, and yu shuold probably get the configuration issue worked out so that the images are stored somewhere web-accessible (i.e., in /htdocs/www/ somewhere).
I’m going to repair the account again now, and restrict access to it so that only your Blackfoot ISP can visit it, since any visitor (includign GoogleBot, etc) can inadvertently disable the account. Hopefully you/ExpressionEngine can get this sorted out without having to repair the account again. When you are ready to open up access to the world again, just remove the /.htaccess file.
I’m a little at a loss.
_________________________________