vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   Any Troubleshooters Out there? (https://vborg.vbsupport.ru/showthread.php?t=290176)

AndyAitch 11-05-2012 11:51 AM

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

LouiseWilson 11-05-2012 07:41 PM

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 ?

AndyAitch 11-05-2012 08:17 PM

Quote:

Originally Posted by LouiseWilson (Post 2378663)
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

Lynne 11-05-2012 09:20 PM

Do you have an .htaccess file in the /forum directory also? And do you have a RewriteBase rule in there for the /forum directory?

AndyAitch 11-06-2012 02:15 AM

Quote:

Originally Posted by Lynne (Post 2378689)
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

Lynne 11-06-2012 05:53 PM

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


snakes1100 11-06-2012 11:00 PM

Its WP rewrite issue, its coming from his public_html .htaccess file.

Lynne 11-07-2012 12:17 AM

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).

AndyAitch 11-07-2012 02:45 AM

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

snakes1100 11-07-2012 03:36 PM

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.


All times are GMT. The time now is 09:43 PM.

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.01121 seconds
  • Memory Usage 1,742KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_code_printable
  • (1)bbcode_php_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete