2009-01-08, 06:39 PM
Hello!
Sorry to bring all this terrible stuff down, but I'm really not sure why it happened, and i'm interested in knowing how I can avoid it happening again.
I recently converted my forum from SMF. I don't think that has anything to do with these bugs, but I guess it might be relevant.
The problem
Yesterday everything was fine. Today, I got up and found some rather strange things going on.
The first thing I noticed was that no usernames were displayed on the highscores section of my game arcade plugin. That was strange. I was going to ask the arcade guys about it, but then I noticed that *all* my plugins were listed as not-activated (they all had an activate link).
I activated the ones I use again, but obviously they weren't simply deactivated the normal way, because at least one threw up an SQL error (a plugin problem, not myBB - obviously not designed to deal with existing tables), and the advert plugin ended up inserting a second advert box next to the first. I managed to fix that by uninstalling it and then reactivating it, which cleared both boxes and brought back one.
So obviously this is not (or at least not completely) the fault of a plugin. It's affecting all equally. As the day has gone on, I've noticed more strange things:
The permissions were strange. Normal members were suddenly able to reply to threads in my moderator-only forum. The permissions looked good, but for some reason they weren't acting. I saved the permissions the way they were meant to be, and that seemed to fix the problem - despite not doing anything. The strange thing about this is that even if the permissions had been altered by someone else in the database, one would assume that the forum software would reflect the alterations when I browsed the permissions. If that's not the case (does the admin interface read the permissions from a flat file while the main forum reads from the database?) then that would get me closer to the answer.
The smileys aren't displaying. The box on the left has disapeared, as has the post-icon box. This has happened in every template installed, including the default one.
That's what I've seen for now. Does anyone have any thoughts. This seems like somewhat more than a random error. I've had someone hack into my website in the past (when I was running SMF), and although I'm pretty sure they have no way of accessing files or the database any more, I could be wrong. Could what I'm describing be done by someone playing around in the database? Perhaps the permissions (assuming the admin interface reads off a flat file, while the forum software reads off the database, which seems kind of strange), but I can't see how the smiley box could be affected by someone changing settings in phpMyAdmin.
Edit: In both the database and the settings.php file, the settings to allow the smiley box are set to 1.
Sorry to bring all this terrible stuff down, but I'm really not sure why it happened, and i'm interested in knowing how I can avoid it happening again.
I recently converted my forum from SMF. I don't think that has anything to do with these bugs, but I guess it might be relevant.
The problem
Yesterday everything was fine. Today, I got up and found some rather strange things going on.
The first thing I noticed was that no usernames were displayed on the highscores section of my game arcade plugin. That was strange. I was going to ask the arcade guys about it, but then I noticed that *all* my plugins were listed as not-activated (they all had an activate link).
I activated the ones I use again, but obviously they weren't simply deactivated the normal way, because at least one threw up an SQL error (a plugin problem, not myBB - obviously not designed to deal with existing tables), and the advert plugin ended up inserting a second advert box next to the first. I managed to fix that by uninstalling it and then reactivating it, which cleared both boxes and brought back one.
So obviously this is not (or at least not completely) the fault of a plugin. It's affecting all equally. As the day has gone on, I've noticed more strange things:
The permissions were strange. Normal members were suddenly able to reply to threads in my moderator-only forum. The permissions looked good, but for some reason they weren't acting. I saved the permissions the way they were meant to be, and that seemed to fix the problem - despite not doing anything. The strange thing about this is that even if the permissions had been altered by someone else in the database, one would assume that the forum software would reflect the alterations when I browsed the permissions. If that's not the case (does the admin interface read the permissions from a flat file while the main forum reads from the database?) then that would get me closer to the answer.
The smileys aren't displaying. The box on the left has disapeared, as has the post-icon box. This has happened in every template installed, including the default one.
That's what I've seen for now. Does anyone have any thoughts. This seems like somewhat more than a random error. I've had someone hack into my website in the past (when I was running SMF), and although I'm pretty sure they have no way of accessing files or the database any more, I could be wrong. Could what I'm describing be done by someone playing around in the database? Perhaps the permissions (assuming the admin interface reads off a flat file, while the forum software reads off the database, which seems kind of strange), but I can't see how the smiley box could be affected by someone changing settings in phpMyAdmin.
Edit: In both the database and the settings.php file, the settings to allow the smiley box are set to 1.