Support Forum
My problem:
Only sometimes, not always, a visitor who clicks a link to
http://wilmington.crimeboard.o.....unit-182f/
instead lands at a different page:
http://wilmington.crimeboard.o.....nits/182f/
Similar effects have occurred on similarly corresponding forum and unit pages.
I have these Integration Options settings:
- Enabled Filter WP List Pages
- Disabled Load Javascript in Footer
- Enabled Force the strict use of the WP API
I have these Theme Display Options settings:
- Enabled Limit forum display to within WP loop
- Enabled Allow multiple loading of forum content
- Disabled Bypass wp_head action complete requirement
I haven't determined what causes this intermittent problem but seem to be able to CORRECT it after the fact by hitting the Update WP Integration button on the Integration - Page and Permalink settings.
Can you give me some suggestions as to how I can PREVENT the problem? Obviously it's not a good thing when a user encounters the problem, then has to tell me about it, then I have to fix it. I need to prevent the user from encountering the problem.
I'm a relative newcomer to WordPress so it would help me to understand this problem if you could provide some background on what are the relevant factors that could be influencing this problem. Perhaps something to do with permalinks, for example? I don't understand how something that is apparently happening outside the forum is affecting or resolved by the forum page and permalink settings. Some appropriately bite-sized knowledge nuggets would be appreciated.
Thanks.
Brad
My environment:
Simple:Press |
Version: 5.1.3 Build: 8972 Release: Release |
|
WordPress |
Version: 3.4.1 Language: en-US Character Set: UTF-8 Theme: Suffusion |
|
PHP |
Version: 5.2.17 Memory: 128M Max Upload: 30M Timeout: |
|
MySQL |
Version: 5.0.96 Prefix: wp_ |
|
Server | Version: Zeus/4.3 | |
WP Plugins |
Akismet (2.5.6) crimeboard (0.2) Custom Field Taxonomies (2.0.2) Janrain Engage (1.1.0) MapPress Easy Google Maps (2.38.6) Simple:Press (5.1.3) Suffusion Custom Post Types (1.00) TurboCSV (2.47) Types - Complete Solution for Custom Fields and Types (1.0.4) Types Access (0.1) Widget Logic (0.52) WP Views (1.1.1) |
|
SP Plugins |
Admin Bar (1.1.1) Captcha (1.1.4) Custom Profile Fields (1.1) File Uploader (using Plupload) (1.2.2) Font Resizer (1.0.2) Policy Documents (1.1.3) Post Ratings (1.1.2) Private Message System (1.1.4) Profanity Filter (1.1.1) Subscriptions (1.1.3) |
so just to rule out a few things, can you run a few tests?
we have quite a few folks using suffusion (including our upcoming demo site) so not likely the issue, but you could you do a temp switch to the default wp theme and see if it still occurs?
if so, then deactivate all other wp pluigns and try again... and if it works, then re-enable one by one until it breaks...
just trying to narrow down potential issue list... and not familiar with some of those plugins...
Visit Cruise Talk Central and Mr Papa's World
Thanks for the prompt response.
I follow your logic in trying the tests you describe; however, the fly in the ointment is that I don't have a consistently reproducible problem. That's why I was trying to get a handle on what factors might be relevant. If I could make it break consistently, I could test it as you describe.
Barring that, I guess I can wait until it happens to break, then instead of doing my usual hail mary with the Update WP Integration button, I'll try switching themes and disabling plugins to see if I can isolate a factor that way.
I don't have enough background knowledge to guess at the source of the problem, but if I had to hazard a guess it would be that some change to a permalink on an individual post outside of the forum is affecting the way links to the forums are being handled. My reason for thinking that is that when the problem has occurred it has been after I have made no changes within the forum but have made changes to posts outside the forum, including adding custom posts and changing individual post permalinks.
If I get the opportunity of the problem manifesting again, I'll try testing as you describe. If you think of anything else please let me know.
Thanks.
Brad
1 - What is your WordPress permalink set to? I am puzzled by that index.php in the forum urls...
2 - When you say 'hitting the Update WP Integration button on the Integration – Page and Permalink settings' do you mean without changing anything?
This looks like a permalink problem to me so question 1 is probably the important one... But I am not that familiar with the Zeus server so I also wonder if that imposes something specific it needs - perhaps you can fill me in...
YELLOW
SWORDFISH
|
Thanks for sticking with me on this. I chose Simple:Press not only for its feature set but also for its support model. I'm happy on both counts.
1. My permalink settings are set to the third list item under Common Settings, that being "Month and name." The example format shown is
. All of the Common Settings other than "Default" include "index.php."
2. Correct, I have been successful in resolving the problem by doing nothing more than hitting the Update WP Integration button on the Integration – Page and Permalink settings.
As far as Zeus goes, I'm afraid I can't shed any light there. It's what my hosting company uses and has used for years. If there is a particular configuration setting that you want me to find out, let me know.
Thanks.
Brad
those types of permalinks are rare these days and are called pathinfo (almost pretty permalinks)... usually when your server is incapable (or by choice) of running apache mod_rewrite, the gold standard for wp... shouldnt really matter, just a bit dated style of permalinks...
if its random, then my suggestions probably will not help - will be too late and already occurred...
after it occurs, but before you hit the update permalink button, what is the permalink shown in the sp integration page?
Visit Cruise Talk Central and Mr Papa's World
Progress!
I managed to reproduce the problem. I went to my site's Wordpress Settings>Permalinks page WITHOUT clicking anything, then went to the SP Integration page, again WITHOUT clicking anything. I then opened a new tab, went to a page from which I have a link to a forum. I clicked the link and was sent not to the forum but to the corresponding unit page as described in my original post.
The current permalink on the SP Integration page is http://wilmington.crimeboard.o.....php/forum/.
I tried to access a different forum from a different link; same type of result. I landed at a unit page instead of the forum for that unit.
This is my .htaccess from the root directory of this site:
# 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
However, based on what I found at http://www.names.co.uk/support/new/528-zeus_rewrite_rules_user_guide.html I think these rules are not used because Zeus does not use mod_rewrite. So far, the only place that I have seen a problem manifest is when I try to follow a link to a forum.
Two questions then:
1. Is there any other troubleshooting information I should gather before I try to resolve the problem for now by clicking the Update WP Integration button on the SP Integration – Page and Permalink settings?
2. Do you have any suggestions as to what I can do to prevent the forum links from breaking while I research rewrite rules for Zeus?
I'm starting to read up on implementing rewrite rules for Zeus.
Thanks.
Brad
per my earlier question, what does the permalink look like before and after clicking the update sp permalink button?
not sure what your steps would have to do with it... viewing either page does not update any permalink stuff... wondering if the real issue here is a 404 causing it... after resetting to working... can you on the front end go to a fictitious page on your site... and see if that causes the issue to manifest itself afterwards...
Visit Cruise Talk Central and Mr Papa's World
per my earlier question, what does the permalink look like before and after clicking the update sp permalink button?
not sure what your steps would have to do with it... viewing either page does not update any permalink stuff... wondering if the real issue here is a 404 causing it... after resetting to working... can you on the front end go to a fictitious page on your site... and see if that causes the issue to manifest itself afterwards...
Visit Cruise Talk Central and Mr Papa's World
I didn't want to click the button before gathering any additional troubleshooting information that you might want at that point. Here are the results of clicking.
Per your earlier question:
after it occurs, but before you hit the update permalink button, what is the permalink shown in the sp integration page?
Before:
Per your last question:
and after clicking the update sp permalink button?
After:
The permalink was the same before and after. After clicking the Update Forum Permalink button, I was able to access forums again.
I then went to a fictitious page, which produced a 404 page with search dialog. I then went to a page with a link to a forum. I followed the link successfully to the forum. So, no problems there.
As I understand it, rewrite rules are flushed whenever the admin visits the Settings>Permalinks page, even if no changes are made or saved.
Problem: The simple act of visiting this Settings>Permalinks page does in fact break all forum links.
Workaround: Resolving this requires clicking the Update Forum Permalink button OR the Update WP Integration button.
This is now a reliably reproducible problem and workaround, so that's progress.
Just visiting the SP Integration page doesn't resolve the problem; I tried that also.
I'm sure the solution has to do with the lack of mod_rewrite on Zeus. I don't know, and really didn't want to know, anything about mod_rewrite or the Zeus alternative of rewrite.script. But it looks like I'm going to start learning anyway.
Any tips that might save me time would be appreciated. I'll be sure to follow up here in hopes of helping the next person who uses both Zeus and Simple:Press.
It looks like the Simple:Press SP Integration page is creating some necessary rewrite rules that are being flushed whenever the Settings>Permalinks page is viewed.
Brad
1 Guest(s)