vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=252)
-   -   404 not found when deleting threads.. (https://vborg.vbsupport.ru/showthread.php?t=309680)

lsti 03-25-2014 01:44 PM

Quote:

Originally Posted by Seven Skins (Post 2489431)
Try this ...

Edit htaccess file From
Code:

# RewriteBase /forum/
To

Code:

RewriteBase /forum/

Edit forum to forums if needed.

.

Thanks but still same error.

Not Found

The requested URL /forums/56-General was not found on this server.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

lsti 03-27-2014 05:47 AM

Well, is there any one to assist me with this?

Thanks.

Seven Skins 03-28-2014 03:44 PM

Link to your site will help.

There might be a confilct from the htaccess file above your forums folder.
You may try this soultion (it may or may not work) ... to the htaccess file in forums folder, add the code below to the first line.

Code:

RewriteEngine Off
Your htaccess file should start like this:

Code:

RewriteEngine Off

RewriteEngine on

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


Lynne 03-28-2014 06:03 PM

If your forums are really in a directory called /forums/forums/, then the RewriteBase would be:

RewriteBase /forums/forums/

lsti 03-28-2014 08:20 PM

Quote:

Originally Posted by Seven Skins (Post 2490063)
Link to your site will help.

There might be a confilct from the htaccess file above your forums folder.
You may try this soultion (it may or may not work) ... to the htaccess file in forums folder, add the code below to the first line.

Code:

RewriteEngine Off
Your htaccess file should start like this:

Code:

RewriteEngine Off

RewriteEngine on

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


I even tried removing the htaccess file in the root folder and tried your suggestions. But no luck.

--------------- Added [DATE]1396038346[/DATE] at [TIME]1396038346[/TIME] ---------------

Quote:

Originally Posted by Lynne (Post 2490084)
If your forums are really in a directory called /forums/forums/, then the RewriteBase would be:

RewriteBase /forums/forums/


My forums are in the forum directory.

/forums

After the url rewrite it turns to /forums/forums/

I think if we can get rid of the forums rewrite, we can fix this.

Also i tried commenting out this but resulted in 404 not found error, when i open a forum category but threads work fine.

Code:

RewriteRule ^forums/.* forumdisplay.php [QSA]

Lynne 03-28-2014 11:05 PM

Quote:

Originally Posted by lsti (Post 2490108)
My forums are in the forum directory.

/forums

Then it needs to say:

RewriteBase /forums/

(not RewriteBase /forum/ or RewriteBase /forums/forums/)

lsti 03-29-2014 10:27 AM

Quote:

Originally Posted by Lynne (Post 2490158)
Then it needs to say:

RewriteBase /forums/

(not RewriteBase /forum/ or RewriteBase /forums/forums/)


I already did that, but still the problem exists.

Lynne 03-29-2014 05:09 PM

Is your actual Forum url set to yoursite.com/forums? Do you have anything entered into the Forum Component URL textarea?

Try disabling your modifications/plugins and see if you still have this problem.
Note: To temporarily disable the plugin system, edit includes/config.php and add this line right under <?php

define('DISABLE_HOOKS', true);

ForceHSS 03-29-2014 05:13 PM

Might be best to put in a support ticket and let someone from support fix it

lsti 03-30-2014 05:43 PM

Quote:

Originally Posted by Lynne (Post 2490282)
Is your actual Forum url set to yoursite.com/forums? Do you have anything entered into the Forum Component URL textarea?

Try disabling your modifications/plugins and see if you still have this problem.
Note: To temporarily disable the plugin system, edit includes/config.php and add this line right under <?php

define('DISABLE_HOOKS', true);


Yayyyyyy.

Setting up the forum component url fixed the issue.

Thank you very much Lynee & others who helped me to fix the issue :)

Thanks guys.


All times are GMT. The time now is 03:13 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.01013 seconds
  • Memory Usage 1,740KB
  • 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
  • (7)bbcode_code_printable
  • (6)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)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