vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Strange problem - Redirected to main page (https://vborg.vbsupport.ru/showthread.php?t=214540)

sdfaheem 05-25-2009 08:31 PM

Strange problem - Redirected to main page
 
I have come across a strange problem on my forum today.
My forum is located in a sub-folder of my domain, wordpress being the main folder.
Until now everything was working fine, but today when i try to make a new post, i am being redirected to the homepage and getting an error: Nothing found for Forum Newthread Php?do=postthread&f=18

What could be the problem here?
Please help me

Lynne 05-25-2009 09:19 PM

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

PHP Code:

define('DISABLE_HOOKS'true); 

Don't forget that for vbseo, disabling the modification means to also get rid of anything extra you added to your htaccess file.

sdfaheem 05-25-2009 09:22 PM

Thanks for the input, i would try that now.
I just noticed that i am also getting an error in admincp vbulletin options:
Code:

1||1243293677||115.184.40.151||do=options&dogroup=http||http://www.aimim.in/forum/admincp/options.php?do=options&dogroup=datetime||Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.10) Gecko/2009042316 Firefox/3.0.10 GTB5
Warning: fopen(./logfile_worms.txt) [function.fopen]: failed to open stream: Permission denied in [path]/includes/init.php(298) : eval()'d code on line 105
Error Opening Logfile.

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

After disabling the plugins also i am getting the same error.

I do not have any .htaccess file in my forum folder

Lynne 05-25-2009 09:41 PM

Looks like you have vb firewall installed (that error looks like it is from that) and you didn't set your permissions correctly on the files. I suggest you go reread the installation instructions for that and if you continue to get that error regarding that file, you ask for help in that thread.

(I have seen a lot of users have problems with that mod or have no clue what to do with the results from that mod. You may want to rethink installing it if you fall into either category.)

sdfaheem 05-25-2009 09:49 PM

Quote:

Originally Posted by Lynne (Post 1817181)
Looks like you have vb firewall installed (that error looks like it is from that) and you didn't set your permissions correctly on the files. I suggest you go reread the installation instructions for that and if you continue to get that error regarding that file, you ask for help in that thread.

(I have seen a lot of users have problems with that mod or have no clue what to do with the results from that mod. You may want to rethink installing it if you fall into either category.)

Yes i had vbfirewall and i disabled it, i am not getting any error in admincp options now.
But still i am being redirected to homepage while creating a new thread.

Lynne 05-25-2009 09:53 PM

Is there anything in your apache error_logs? (If you don't know where they are, ask your host.)

sdfaheem 05-25-2009 09:59 PM

Quote:

Originally Posted by Lynne (Post 1817185)
Is there anything in your apache error_logs? (If you don't know where they are, ask your host.)

i checked the error logs, they are so many and almost all of them are referring to a file: failed to open stream: No such file or directory in /home/public_html/mysite/viva.inc.php

"viva.inc.php" is a file from my wordpress theme folder. Do you think this is causing the error on the forum?

Lynne 05-25-2009 10:42 PM

I have no idea if that's the problem, but I doubt it. But you should fix it anyway. once you fix it, it will be easier to go through your error_logs and look for any errors related to this problem.

notrious 05-26-2009 04:18 AM

make sure if .htaccess file exists some times it's not viewable most likely if you are using cuteftp..

sdfaheem 05-29-2009 10:07 PM

Quote:

Originally Posted by notrious (Post 1817307)
make sure if .htaccess file exists some times it's not viewable most likely if you are using cuteftp..

Now i am even getting redirected to the homepage when i try to edit my templates in Admincp. I don't have a .htaccess file in my forum folder, instead i have one on my main folder which also contains wordpress.
The .htaccess contain:

Code:

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

# END WordPress



All times are GMT. The time now is 09:00 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.01650 seconds
  • Memory Usage 1,736KB
  • 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
  • (2)bbcode_code_printable
  • (1)bbcode_php_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete