View Full Version : Strange problem - Redirected to main page
sdfaheem
05-25-2009, 09:31 PM
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, 10: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
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, 10: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:
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 1243293963 at 1243293963 ---------------
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, 10: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, 10:49 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.)
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, 10: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, 10:59 PM
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, 11: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, 05: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, 11:07 PM
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:
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
# END WordPress
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.