Go Back   vb.org Archive > vBulletin 4 Discussion > vB4 General Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 11-05-2012, 11:51 AM
AndyAitch AndyAitch is offline
 
Join Date: Nov 2012
Posts: 5
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Any Troubleshooters Out there?

Hello Forum

I'm looking for someone who might be interested in solving an ongoing issue with forum blocked access? I've been advised to ask for someone who is a vB coder with good knowledge of WordPress.

To save me re-writing the problem description, all the details can be found in in this thread. You might want to read it all, or you can get a quick idea of the issues in post #1 and #9.

Thanks in advance

Andy
Reply With Quote
  #2  
Old 11-05-2012, 07:41 PM
LouiseWilson LouiseWilson is offline
 
Join Date: Oct 2007
Posts: 154
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Having a quick look, didnt read all of it just scanned when you login to ADMINCP
I saw you go through 2 URL's
Quote:
The first is a security URL
Is this set in your .htaccess or by something else ?
Reply With Quote
  #3  
Old 11-05-2012, 08:17 PM
AndyAitch AndyAitch is offline
 
Join Date: Nov 2012
Posts: 5
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by LouiseWilson View Post
Having a quick look, didnt read all of it just scanned when you login to ADMINCP
I saw you go through 2 URL's

Is this set in your .htaccess or by something else ?
Hi Louise, and thanks for your reply.

From what i understand, the first URL is a security feature that acts as an extra layer of protection. I didn't set it up and don't really understand how it works, but I do have documents explaining it all.

Having said that, this is not what's causing the issue - apparently - because the guy who set it all up has already attempted to resolve the problem but to no avail. He knows the forum very well seeing as he's the one that installed and configured it all, yet even he had to admit defeat in the end.

All the forum files and folders are in place, yet none of them can be opened when putting the URLs into the address bar - sample page here. It really is most strange.

Andy
Reply With Quote
  #4  
Old 11-05-2012, 09:20 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Do you have an .htaccess file in the /forum directory also? And do you have a RewriteBase rule in there for the /forum directory?
Reply With Quote
  #5  
Old 11-06-2012, 02:15 AM
AndyAitch AndyAitch is offline
 
Join Date: Nov 2012
Posts: 5
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Lynne View Post
Do you have an .htaccess file in the /forum directory also? And do you have a RewriteBase rule in there for the /forum directory?
Hello Lynne, thanks for reading here.

Yes, there is a .htaccess in the /public_html/forum/ directory. I just looked for the RewriteBase rule and this is what i found:

# RewriteBase /forum-stub-directory/

There's not a lot of code in this directory and a few comments that I don't really understand.

Thanks once again for your input, it's appreciated.

Andy
Reply With Quote
  #6  
Old 11-06-2012, 05:53 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Can you post the contents of the .htaccess file in your /forum directory. And, most likely that RewriteBase rule should be:

PHP Code:
RewriteBase /forum
Reply With Quote
  #7  
Old 11-06-2012, 11:00 PM
snakes1100 snakes1100 is offline
 
Join Date: Dec 2001
Location: Michigan
Posts: 3,733
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Its WP rewrite issue, its coming from his public_html .htaccess file.
Reply With Quote
  #8  
Old 11-07-2012, 12:17 AM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yeah, I know. But I think he can get around it by adding the RewriteBase to his /forum .htaccess to counteract the other rule (but since he hasn't posted that .htaccess, I don't know).
Reply With Quote
  #9  
Old 11-07-2012, 02:45 AM
AndyAitch AndyAitch is offline
 
Join Date: Nov 2012
Posts: 5
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi Folks.

Sorry for the delayed response, but I'm living in the North of Thailand (Chiang Mai), so if you guys are in the US, Canada, or Europe, there's going to be quite a time difference between us.

Hi snakes1100, thanks for helping to identify the area of the problem yesterday. I guess the difficulty now is how to fix it. The strangest thing is the unknown reason(s) why these issues have materialized in the first place, when previously there were none. I mean, none of these .htacess files have been modified between then and now, which is why I was thinking some WP update might have caused a conflict somewhere.

I did wonder too if a WP plugin might have been the cause, but I've since deactivated all of them, with no success.

Hi Lynne. Below is the code from the /public_html/forum/.htaccess as requested. Hope it makes some sense?

Code:
RewriteEngine on

# This file is only needed if you have set the Forum Component URL in your admincp and you are 
# using the mod_rewrite option for friendly urls.  If this is the case, copy this file
# to your forum component stub directory.

# If you are having problems or are using VirtualDocumentRoot, uncomment this line and set it to your forum component directory.
# RewriteBase /forum-stub-directory/

# If you are having problems with the rewrite from content/ to content.php, uncomment this line to turn MultiViews off.
# Options -MultiViews

# Forum
RewriteRule ^threads/.* showthread.php [QSA]
RewriteRule ^forums/.* forumdisplay.php [QSA]
RewriteRule ^members/.* member.php [QSA]

RewriteCond %{THE_REQUEST} ^[A-Z]{3,9}\ /.*calendar\.php\ HTTP/
RewriteRule ^(.*)calendar\.php$ /$1 [R=301,L]
RewriteRule ^(50adm)($|/) - [L]

And here's what I discovered when working with snakes1100 yesterday:

The guy that installed and custom built the forum said that the issue with admincp denied access could be resolved by removing the line: RewriteRule . /index.php [L] from the /public_html/.htaccess file, and it can. But that line is also needed for the WordPress site to function, so its removal is not an option.

However, removing RewriteRule . /index.php [L] from the /public_html/ directory only allows access to the adminCP but it does not allow access to the forums, whereas temporarily removing the .htaccess file by renaming it without the dot, does allow access to ALL forum pages, but once again, it can't stay that way because it disrupts the WordPress site.


Like I've said previously, I don't understand most of what I'm writing here, so apologies if my lack of technical skills in this areas make it difficult to understand what I'm trying to say.

Thanks, as always, for any help and suggestions given.

Andy
Reply With Quote
  #10  
Old 11-07-2012, 03:36 PM
snakes1100 snakes1100 is offline
 
Join Date: Dec 2001
Location: Michigan
Posts: 3,733
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

As your running the default rule set for WP, it shouldnt be affecting the forum dir anyways, chking your other thread at the .com, did you remove all rules except for the default WP rules?

I know you disabled your plugins in WP, but that isnt going to remove/stop the custom rules in wp-cache either.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 10:28 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.06235 seconds
  • Memory Usage 2,265KB
  • Queries Executed 13 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (1)bbcode_code
  • (1)bbcode_php
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete