| User | Post |
|
11:43 pm 26 Aug 2008
| Emily
Guest
| | | |
|
| |
|
|
All of sudden the forum just stopped working today. It's been working fine for a week or so, but now when I try to login (as a different user other than admin) or post a reply or a topic, it just sends me back to my home page. I can SEE the forum, I just can't do anything with it. I thought maybe it was a permalink issue, so I went to Toolbox and clicked on update and it says “ahah error: 404 Not Found”. What's going on? I checked under pages and it's still listed, I can view it, so why isn't it found?
I had some bandwidth issues today and so I turned on WP Supercache, which is the only thing I can think of that messed things up because I haven't made any other changes lately. But I added /forum/ to the lists of pages not to cache and when that didn't work, I cleared the cache and completely turned off the plugin and I'm still having these problems. I tried clearing my browser cache and even using it in another browser and I'm still not able to do anything.
I'm using the newest version of the plugin and WP 2.6.
You can see it here: http://suzannemcminn.com/forum/
Any ideas what's going on?
|
|
|
11:49 pm 26 Aug 2008
| Emily
Guest
| | | |
|
| |
|
|
This is extending into my admin too. I tried to click on some of the help links in the forum admin and the box that pops up is giving me the same error. Do need to reinstall or something?
|
|
|
12:17 am 27 Aug 2008
| Emily
Guest
| | | |
|
| |
|
|
The error log is pointing to mysql problems. It's basically saying the table doesn't exist even though it does (I can still VIEW the forum and admin area). I've already contacted my host. But if anyone has any ideas about why this would happen that would be helpful. Was turning supercache the problem or is this completely unrelated?
|
|
|
|
|
You don't say WHICH table it claims does not exist.
The forum will not work with supercache because of its dynamic nature. I have not used supercache but do use the older wp-cache and I assume it works in a similar way so yes - putting your forum page slug in the 'exclude' should deal with it. But… if ot anything like wp-cache just disabling it does not remove it all. It places an entry in your wp-config.php file which also needs removing. So go and have a look at that because with that set it will still try and serve up pages from the cache.
It does sound like something may be corrupted. Have you checked your .htaccess file. Might be worth going into the permalinks page and updating them and also then updating the forum permalink on the options toolbox tab.
|
|
|
1:06 am 27 Aug 2008
| Emily
Guest
| | | |
|
| |
|
|
I followed the supercache plugin author's instructions for complete removal, so it's gone now, but I'm still have the same problem with the forum. I checked my .htaccess and I updated my permalinks. But I can't update the forum permalink, because when I do, it says: Current Permalink: ahah error: 404 Not Found. In fact in the admin area at the top of the forum options it also says that (even though I can see all the options, I just can't update anything without getting a 404 error).
I checked the timestamp of the mysql errors and they seem to be from the morning, so they may not be related. Although it's possible the forum stopped working this morning and I didn't notice until this afternoon. I didn't turn on supercache until this afternoon, though, so if these errors were generated this morning, then it looks like turning on supercache didn't affect anything.
Here are the errors though:
[26-Aug-2008 10:55:15] WordPress database error MySQL server has gone away for query SELECT topic_subs FROM sm_sftopics WHERE topic_id=17 made by sf_email_notifications [26-Aug-2008 10:55:16] WordPress database error MySQL server has gone away for query SELECT COUNT(topic_id) FROM sm_sftopics WHERE forum_id=1 made by sf_build_forum_index [26-Aug-2008 10:55:16] WordPress database error MySQL server has gone away for query SELECT post_id FROM sm_sfposts WHERE forum_id = 1 ORDER BY post_id DESC LIMIT 1 made by sf_build_forum_index [26-Aug-2008 10:55:16] WordPress database error MySQL server has gone away for query UPDATE sm_sfforums SET post_id=NULL, topic_count=0 WHERE forum_id=1 made by sf_build_forum_index [26-Aug-2008 10:55:16] WordPress database error MySQL server has gone away for query SELECT topic_sort FROM sm_sftopics WHERE topic_slug='whats-cookin-today' made by sf_get_topic_sort [26-Aug-2008 10:55:16] WordPress database error MySQL server has gone away for query SELECT post_id, post_index FROM sm_sfposts WHERE topic_id = 17 ORDER BY post_pinned DESC, post_id ASC made by sf_build_post_index [26-Aug-2008 10:55:16] WordPress database error MySQL server has gone away for query UPDATE sm_sftopics SET post_id=NULL, post_count=-1 WHERE topic_id=17 made by sf_build_post_index [26-Aug-2008 10:55:16] WordPress database error MySQL server has gone away for query SELECT message FROM sm_sfnotice WHERE id='74.193.176.35' AND item='sfmessage' made by get_sfnotice [26-Aug-2008 10:55:16] WordPress database error MySQL server has gone away for query INSERT INTO sm_sfnotice (id, item, message, ndate) VALUES ('74.193.176.35', 'sfmessage', '0@New Post Saved - Notified: Administrator', now()) made by update_sfnotice [26-Aug-2008 10:55:16] WordPress database error MySQL server has gone away for query SELECT topic_sort FROM sm_sftopics WHERE topic_slug='whats-cookin-today' made by sf_get_topic_sort [26-Aug-2008 10:55:16] WordPress database error MySQL server has gone away for query SELECT topic_id FROM sm_sftopics WHERE topic_slug='whats-cookin-today' made by sf_get_topic_id [26-Aug-2008 10:55:16] WordPress database error MySQL server has gone away for query SELECT post_id FROM sm_sfposts WHERE topic_id = ORDER BY post_pinned DESC, post_id ASC made by sf_determine_page [26-Aug-2008 10:55:16] PHP Warning: Cannot modify header information - headers already sent by (output started at /home/suzannem/public_html/wp-includes/wp-db.php:517) in /home/suzannem/public_html/wp-includes/pluggable.php on line 770
|
|
|
|
|
These errors do not say that tables do not exist - it says the server has 'gone away'. As I understand it that is a timeout issue and the db cnnection was dropped.
Have you changed any file permissions?
It might be worth seeing if your host will reboot the server as well.
|
|
|
3:43 am 27 Aug 2008
| Emily
Guest
| | | |
|
| |
|
|
Permissions! That was it! I had changed the wp-content folder to 777 this afternoon. When I switched back to 755 the forum started working again.
That's really strange. I've had problems where things didn't work because it WASN'T set to 777 but never because it WAS.
Anyway, thanks!
|
|
|
|
|
It's a server thing. And it depends on how the host has it set up. In your case the server found php scripts that had completely open permissions and decided this might be an attack so refused to run them. My host has the same setup.
|
|
|
2:21 pm 27 Aug 2008
| Mr Papa
Moderator
| | Arizona, USA | |
|
| posts 1602 |
|
|
glad its fixed, but very odd error for permissions like that… usually get internal 500 errors not mysql errors.. but its working - all that really matters…
|
|