Support Forum

404 message when trying to access specific forum page

65 Answers

New Answer

BS Brad Siegfried
Brad Siegfried
Member

Yes, I have always had the same index.php in the url.

I enabled define(‘WP_DEBUG’, true); in wp-config.php.  That’s why you see all the errors now. 

When I visit http://wilmington.crimeboard.org/index.php/forum/ I still see the list of forums; however, the display is chock full of notices such as these:

Notice: Undefined property: stdClass::$post_tip in /******/dev/wp-content/plugins/simple-press/forum/content/sp-group-view-functions.php on line 993

Notice: Undefined property: stdClass::$user_id in /******/dev/wp-content/plugins/simple-press/forum/content/sp-group-view-functions.php on line 1004

Notice: Undefined property: stdClass::$display_name in /******/dev/wp-content/plugins/simple-press/forum/content/sp-group-view-functions.php on line 1004

Notice: Undefined property: stdClass::$guest_name in /******/dev/wp-content/plugins/simple-press/forum/content/sp-group-view-functions.php on line 1005

Notice: Undefined property: stdClass::$post_permalink in /******/dev/wp-content/plugins/simple-press/forum/content/sp-group-view-functions.php on line 1008

Notice: Undefined property: stdClass::$topic_name in /******/dev/wp-content/plugins/simple-press/forum/content/sp-group-view-functions.php on line 1009

Notice: Undefined property: stdClass::$post_date in /******/dev/wp-content/plugins/simple-press/forum/content/sp-group-view-functions.php on line 1010

 

Also many instances of this one:

Notice: Undefined variable: s in /users2/data/t/tutorsystems.com-39577/public_html/dev/wp-content/plugins/simple-press/forum/content/classes/sp-group-view-class.php on line 429

 

I did not do a DB restore, I did a DB repair.  I’m not sure it “worked” as I don’t see any difference.

BS Brad Siegfried
Brad Siegfried
Member

Can we make this private or redact the part of the path before wp-content?

MP Mr Papa
Mr Papa
Member

security by obfuscation… ;)   sure, done… but you are spewing them all over your pages for anyone to see…

MP Mr Papa
Mr Papa
Member

do you have wp_debug turned on? or reporting php notices/warnings??

MP Mr Papa
Mr Papa
Member

so when you get the site back to where it was, if you want to send myself, Yellow Swordfish and BrandonC a temp account with both wp and sp admin capabilities, we can try taking a closer look…  I am heading off to work, so will be tonight… Andy though is on vacation returning today or tomorrow (cannot remember), so might be able to beat me to it…

BS Brad Siegfried
Brad Siegfried
Member

Good point about the spewing.  I’ll turn off debug mode and will send you access credentials.

Thanks.

BS Brad Siegfried
Brad Siegfried
Member

FYI, below are excerpted HTTP headers. 

 

http://wilmington.crimeboard.org/index.php/forum/unit-182f/

GET /index.php/forum/unit-182f/ HTTP/1.1

Host: wilmington.crimeboard.org

User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:16.0) Gecko/20100101 Firefox/16.0

Accept: text/problem-with-post-edit-buttontml,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8

Accept-Language: en-US,en;q=0.5

Accept-Encoding: gzip, deflate

DNT: 1

Connection: keep-alive

Referer: http://wilmington.crimeboard.org/index.php/forum/

If-Modified-Since: Thu, 18 Oct 2012 15:08:04 GMT

Cache-Control: max-age=0

HTTP/1.1 404 Not found

Server: Zeus/4.3

Date: Thu, 18 Oct 2012 15:10:51 GMT

Connection: close

Last-Modified: Thu, 18 Oct 2012 15:10:51 GMT

Cache-Control: no-cache, must-revalidate, max-age=0

Pragma: no-cache

Content-Type: text/problem-with-post-edit-buttontml; charset=UTF-8

Expires: Wed, 11 Jan 1984 05:00:00 GMT

X-Pingback: http://wilmington.crimeboard.org/xmlrpc.php

X-Powered-By: PHP/5.2.17

You can see by the referer that we can successfully get to http://wilmington.crimeboard.org/index.php/forum/ just fine, but we get the 404 Not Found in response to GET /index.php/forum/unit-182f/ HTTP/1.1.

Does this suggest to you an area of the SimplePress code to look into, to see if it is being executed as expected or if there is some external factor preventing that?

BS Brad Siegfried
Brad Siegfried
Member

A point of interest.  I just checked the Forum>Admins>Manage Admins and found that the account I created for you (and provided by PM) appears in the list of Current Admins but ALSO appears in the list of WP Admins but not SPF Admins.  That appears contradictory.  Does it indicate a problem in the database?

When you try to log in, we’ll see if you are indeed a current SP admin or not.

BS Brad Siegfried
Brad Siegfried
Member

I tried accessing a specific forum via permalink while not logged in to see if I would get a 404 or access denied. 

I got the 404.

 

It has been a long day.  I hope the cavalry is saddling up.

BR Brandon
Brandon
Member

Did you try the default permalinks? The top one in the list that doesn’t show /index.php/ ?

MP Mr Papa
Mr Papa
Member

contradictory?  no, not at all…  sp admins are not wp admins and vice versa… which is why I asked for both capabilities… you add wp admins on forum – admins – manage admins…

just home from work, so will look around shortly…

BS Brad Siegfried
Brad Siegfried
Member

I replied by email but then realized that doesn’t show up here, so I copied and pasted my email below.

 

Great, thanks.

I understand that there are two types of admins, wp admins and sp admins.
Here is the contradiction that I still see.

Manage Admins is showing your spadmin user under “Current Admins” complete
with all the Admin Capabilities specific to SimplePress, so I conclude that
“Current Admins” is listing sp admins, not a wp admins.  You are also,
incidentally, a wp admin.

However, at the bottom of the page, your spadmin user is shown under “WP
Admins But Not SPF Admins.”  The contradiction is that you ARE an sp admin,
as shown above.

In the wp_sfmembers table, your spadmin user shows a value of zero under the
admin column, but shows
a:4:{s:8:”sfnotify”;b:0;s:12:”bypasslogout”;b:0;s:15:”sfstatusmsgtext”;s:0:””;s:10:”sfadminbar”;b:1;}
under the admin_options column.  This made me think that perhaps the
database is not as it should be.  (I would have expected a value of one
under the admin column.  This might explain why you both are and are not an
sp admin, according to the Current Admins UI.)

All this is just speculation as to whether some database problem might be
related to the 404 errors.

Brad

MP Mr Papa
Mr Papa
Member

reply by email works fine… you have to follow the directions…

I am having no issues getting around your site…

what is in your .htaccess file?

also, please confirm that on your server, you do not have a directory called forum in the wp root (say from a 3rd party forum app)…

BS Brad Siegfried
Brad Siegfried
Member

My bad, I’ll parse out the

—– Original Message —–
From: “Simple:Press Support” <support@simple-press.com>
To: <bradsiegfried@gmail.com>
Sent: Thursday, October 18, 2012 9:29 PM
Subject: Forum Post – Simple:Press: [404 message when trying to access
specific forum page]

>
>

from above the

> [– To reply by email insert your text above this line – instructions
> below –]

next time I reply by email.

 

No issues?  What happens when you go to the URL below, per post#3 in this thread?

http://wilmington.crimeboard.org/index.php/forum/unit-182f/

 

Contents of .htaccess:

# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index.php$ – [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>

# END WordPress

My server does not have mod_rewrite.  (Zeus, not Apache)  Worked fine before, though.  No changes to .htaccess.

There is no directory called forum in the wp root.

MP Mr Papa
Mr Papa
Member

if you want to reply by email, note the instructions… remove everything above

[– To reply by email insert your text above this line – instruction below –]

and add your reply above it…

no issues having wp admin and sp admin access… was not referring to the 404s…

yeah, understand no mod_rewrite… unfortunate stuck using old pathlinks, but should work…

has your host recently enabled mod_security?  since zeus, not likely since its probably only apache…