Simple Machines Community Forum

SMF Support => SMF 1.1.x Support => Topic started by: Dame on January 10, 2008, 09:33:14 AM

Title: "Page not found" error UPDATE: Search/Spellcheck not working/Can't Ban
Post by: Dame on January 10, 2008, 09:33:14 AM
My forum has developed a recent problem when a post is made.   Instead of being directed to the new post in the thread, I get a "Page Not Found" error message.   It's easily "fixed" by refreshing the page but it's annoying.

The URL that the "Page Not Found" error is:   http://www.etiquettehell.com/smf/index.php?topic=23007.new

Note that this is different than the URL when the post has been properly directed to the end of the thread:

http://www.etiquettehell.com/smf/index.php?topic=23007.new#new

It's sporadic for me...doesn't do it all the time but enough to be a pain.  If you were to click on the first URL, it does direct to the post as intended but at the time of the message being posted, it does not.

Note the error being logged quite frequently in the Forum Error Log. 

Can someone help me figure out what is happening?  Yesterday I checked and analyzed my db tables (everything OK) and yesterday upgraded from 1.1.3 to 1.1.4.   Nothing fixed the problem. 
Title: Re: "Page not found" error after posting instead of direct to new post in thread
Post by: Dame on January 10, 2008, 09:35:40 AM
Hmm, this may not be a problem solely with my SMF forum.  When I posted the previous message here, I got the exact same thing...Page Not Found...but when refreshed, it directed the browser to the post in thread. 

Do I have two different problems going on where the forum error log is not related to the posted message not found problem?
Title: Re: "Page not found" error after posting instead of direct to new post in thread
Post by: Rumbaar on January 11, 2008, 06:03:17 AM
You saying you got the exact same things when you posted this new topic?
Title: Re: "Page not found" error after posting instead of direct to new post in thread
Post by: Dame on January 11, 2008, 07:07:15 PM
Yes.  I wrote my first message here, in this thread, clicked the "POST" link and immediately got a "Page cannot be displayed" error message.  Refreshing the page did work.  Let's see if it does this time when I post with this message.....
Title: Re: "Page not found" error after posting instead of direct to new post in thread
Post by: Dame on January 11, 2008, 07:08:58 PM
Yep, happened here again..."The page cannot be displayed". When I refreshed, I got redirected to main index for General English Support and not back to this thread. 
Title: Re: "Page not found" error after posting instead of direct to new post in thread
Post by: Rumbaar on January 11, 2008, 07:43:54 PM
In that case I would say it's an issue on your end.  This site isn't have those issue, and I'm sure we all would be hearing it if more than say, just you, were experiencing it.

Have you installed a firewall or got some kind of firewall/proxy software/hardware in place.  Might be your ISP or connection.
Title: Re: "Page not found" error after posting instead of direct to new post in thread
Post by: Dame on January 11, 2008, 08:29:33 PM
Nothing new that hasn't been there for ages.  I did recently upgrade to 1.1.4 from 1.1.3 however. 
Title: Re: "Page not found" error after posting instead of direct to new post in thread
Post by: greyknight17 on January 11, 2008, 10:55:21 PM
How about clearing out your cookie and temp files from the browser? Also try using another browser to see if it's happening on that one as well.
Title: Re: "Page not found" error after posting instead of direct to new post in threa
Post by: metallica48423 on January 11, 2008, 11:30:00 PM
no problem here (and i get redirected back to this reply)
Title: Re: "Page not found" error after posting instead of direct to new post in thread
Post by: Dame on January 14, 2008, 06:26:51 AM
Quote from: greyknight17 on January 11, 2008, 10:55:21 PM
How about clearing out your cookie and temp files from the browser? Also try using another browser to see if it's happening on that one as well.

That seems to have corrected the problem but since upgrading to 1.1.4 a few days ago, my forum members are complaining that Search and Spellcheck are not working, specifically, they get the "Page Cannot Be Found" error.  Search works sporadically for me and Spellcheck not at all.

When I created this thread, there were blank spaces I could fill in to add more information regarding the problem, what forum version I was running, what mods...I can't see that information but in the "Forum Error Log" area, I copied an error message that kept appearing in my forum error log.  I upgraded from 1.1.3 to 1.1.4,  did a search on this forum for that particular  error message and found a thread pertaining to it and implemented the code change...this eliminated the error message in the log but now members are saying Search doesn't work at all (yet there are no error messages in the log) and spellcheck either.

Can a forum mod here see that entry I made regarding the forum error log message and tell me what it was? 

Further, my moderators state they cannot ban/gag people because the ban triggers are simply missing.  When they go to ban someone, the check boxes for IP address, email address and user name ban triggers are simply not there at all to be checked.  As the admin, however, I do have them.  I've checked repeatedly and it is not a permissions problem that I can find. 
Title: Re: "Page not found" error after posting instead of direct to new post in thread
Post by: Rumbaar on January 14, 2008, 04:29:02 PM
You'll need to post the errors you were getting again, as the auto insert feature doesn't seem to be working.

Also relating to the missing areas, are those users using a different langauge to the forum default?  Have you got it so people can select their own languages.  One of the only times I've seen missing areas like that is when the txt strings aren't loading for some reason.
Title: Re: "Page not found" error after posting instead of direct to new post in thread
Post by: Dame on January 15, 2008, 01:46:05 AM
Quote from: Rumbaar on January 14, 2008, 04:29:02 PM
You'll need to post the errors you were getting again, as the auto insert feature doesn't seem to be working.

Also relating to the missing areas, are those users using a different langauge to the forum default?  Have you got it so people can select their own languages.  One of the only times I've seen missing areas like that is when the txt strings aren't loading for some reason.

I found the information in an email I sent my husband....
To reiterate, in chronological order:

1. Upgraded from 1.1.3 to 1.1.4 last week.   No mods, use the DilberMC theme.

2.  Repaired this error message in the Forum Error Log:
8: Undefined index: brd
File: ... /smf/Sources/Search.php
Line: 407

by using the code recommended in this thread:
http://www.simplemachines.org/community/index.php?topic=213833.0

It eliminated the error message in the log but...

3.  Now Search and Spellcheck do not work but yield "Page Cannot Be Displayed" message

4.  Even worse, neither I nor my global moderators can gag or ban anyone.  We get the ban triggers with the boxes, click on the boxes such as "Username" and "Email address" and then "Add" but the ban triggers are not showing up in the ban list and the person we attempted to gag or ban just keeps right on posting as if we did nothing. 

In addition to the typical error log entries, this one appears for one of my global moderators and myself:

8: Undefined index: account_activate_method_12
File: ... /smf/Sources/Profile.php
Line: 1248

This one shows up for two members:

Database Error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')
LIMIT 1' at line 8
File: ... /smf/Sources/Post.php
Line: 2042

Yes, members can select for languages (English is the default) but I can't get Search and Spellcheck to work and I'm using the default English. 
Title: Re: "Page not found" error UPDATE: Search/Spellcheck not working/Can't Ban
Post by: Rumbaar on January 15, 2008, 02:15:36 AM
Some of those might related to English language files not being right.  Are you able to upload fresh files to make sure they are correct.  Extract them from the large upgrade file if you need to get them.  We will see what that does and move on from there.
Title: Re: "Page not found" error UPDATE: Search/Spellcheck not working/Can't Ban
Post by: Dame on January 16, 2008, 12:08:17 AM
Thanks for your suggestions.  Unfortunately, we've not had success so far.  We've tried switching to different themes, updating the theme that we were using in the first place with the most recent version, refreshing all the language files in the default theme from those in the download distribution, and nothing has worked.  The theme changes and language changes seem to have no effect. 

The search and spell-check functions still intermittently get "The page cannot be displayed" errors.  Also the boxes are there for banning and you can press the Add button but it does not create a ban trigger. 

We've gone back to the original theme for now, though left the default theme's language files refreshed.

Is there anything else we should try?  Thanks for all your help.
Title: Re: "Page not found" error UPDATE: Search/Spellcheck not working/Can't Ban
Post by: Dame on January 16, 2008, 12:15:54 AM
Oh, and a new and exciting behavior has begun to manifest as an alternative to the "The page cannot be displayed" error upon searching.  The browser just hangs trying to load something but never updates the contents of the window.  Hitting refresh does the same thing, but manually clicking in the address bar and hitting enter does bring up the search (page http://www.etiquettehell.com/smf/index.php?action=search2) with the message, "Did you forget to put something to search for?"  Of course, sometimes Search works just fine, as spell check sometimes works fine and sometimes cannot display the page.  The ban stuff never works.
Title: Re: "Page not found" error UPDATE: Search/Spellcheck not working/Can't Ban
Post by: metallica48423 on January 16, 2008, 12:27:09 AM
running based on the brd error, there was an error with 1.1.4 that was fixed in SVN but not in 1.1.4,  that's been ported to a mod.


Mind trying to apply this package?  http://custom.simplemachines.org/mods/index.php?mod=976
Title: Re: "Page not found" error UPDATE: Search/Spellcheck not working/Can't Ban
Post by: Dame on January 16, 2008, 12:51:05 AM
Applying the package won't work now, since I've already swapped the conditions that the package swaps.  That fixed the "brd" error, but the other problems started to show up about the same time that I fixed it.  Of course, the upgrade to 1.1.4 at the same time is a more likely culprit than a mere reversal of conditions in an if statement.  Thanks for the suggestion though.  Is there anything else we should try?
Title: Re: "Page not found" error UPDATE: Search/Spellcheck not working/Can't Ban
Post by: metallica48423 on January 16, 2008, 12:56:55 AM
how heavily modified are you?  Have you considered reuploading fresh everything?
Title: Re: "Page not found" error UPDATE: Search/Spellcheck not working/Can't Ban
Post by: Dame on January 17, 2008, 06:57:52 AM
Quote from: BlackMage on January 16, 2008, 12:56:55 AM
how heavily modified are you?  Have you considered reuploading fresh everything?

We're not modified at all except for upgrade patches recommended via the Admin panel of my forum.  We've now got all the forum, langauge, theme files upgraded to current versions and still no resolution to the problems.

We're trying a complete reinstallation of the forum software tonight.

Title: Re: "Page not found" error UPDATE: Search/Spellcheck not working/Can't Ban
Post by: metallica48423 on January 17, 2008, 03:54:28 PM
you shouldn't need to just reinstall, rather than do that, use the large upgrade package, it will completely refresh all files to default
Title: Re: "Page not found" error UPDATE: Search/Spellcheck not working/Can't Ban
Post by: Dame on January 18, 2008, 06:50:13 PM
We changed the caching setting to Level 2 instead of Level 3 where it had been.  That appears to have resolved (or coincided with the resolution of) the search and spell-check problems.  However, the problem with banning remains.