![]() |
Quote:
Quote:
|
hi people,
it looks like this is not working for error code 401 (autorization requirerd) the screen that comes up if you try to login to restricted area with the wrong login information.My apache error_log shows this Code:
can't use a FULL url in a 401 ErrorDocument ignoring Code:
ErrorDocument 401 /httperror.php?e=401 |
Assuming that your httperror.php is in the web root (meaning not in a forums subfolder), did you try it without the beginning slash? Try it using a path name instead of a URL?
|
hi,
Yes the httperror.php is in the "webroot" i didn't tryed that yet (using an aboslute pathname or remoing the slash) will give that a shot and get back to you |
Quote:
|
Quote:
Quote:
|
well,
punch me but all of a sudden it started to work.All i did before it started to work is just access the page that would bring up that error page eg http://www.yourserver.com/httperror.php?e=401 and the line in my .htaccess for errorcode 401 is Code:
ErrorDocument 401 /httperror.php?e=401 |
Thanks a lot, it's great, it saved me lots of time :)
|
I will shortly be changing the instructions to not have the full URL to the file, just the local file name, as in Delphiprogrammi's code example in Post# 47. Maybe it only applies to the one type of error, maybe there are others, so just in case, I'm recommending that for all of them.
|
Quote:
|
Quote:
Sorry for the confusion. |
Quote:
|
Quote:
You may want to ask your webhost technical support what's wrong with your .htaccess file. Explain to them you're trying to use custom error pages and show them what you put in that file. If they are able to help you, please tell us here what they did. If they can't help you (or nobody else here can), then unfortunately you may need to uninstall and not use this hack. |
Quote:
Btw this only happens at the home page of the site... Are you sure it has nothing to do with the hack? Cause I read here that other members have it too and it only started happening after the install of it... |
It's possible, but if it is, it's beyond my comprehension. It defies logic. The operation of this hack should be extremely simple. Either an error condition occurs, in which case you are directed to the appropriate page generated by this hack, or else there is no error condition and you get to the correct page on your site. I can't understand how someone would get to the error message without there being any error condition. I'm sorry.
|
Hi JJR512,
great hack, it is working perfectly except in whoisonline, it shows when a user is seeing an error page: Unknown location instead of the phrase viewing error. How do I fix this Regards |
Is the plugin active?
|
|
I don't see any broken images, it's working fine. ;)
|
Glad to know I'm not alone, I've been using the old and new versions of this and everyone is EXPERINCING and error, even when they aren't.
WTF? |
Quote:
|
Quote:
I have access to 4 computers and I can put them all on different places on my website, with no problems, but most of the time it will show them as VIEWING and HTTP error unless they are on the forum home. |
I came across a problem when I tried to verify my google sitemap..
Quote:
|
Quote:
I understand the theory of "If there's no problem without the hack, and there is a problem with the hack, then the problem must be caused by the hack." It seems logical enough. But there is nothing in the hack itself to cause those problems, that the Who's Online system says someone is on an error page, when in reality they aren't. Rather, the problem must be with how the hack is implemented, how it's activated (which is done through the .htaccess file). Some people have said that it has something to do with the webserver setup. What it is, how to fix it, how to work around it, are all beyond my ability and knowledge. Again, I'm sorry. If you can figure it out, by all means post the solution here. All I can say is if for some reason it doesn't work for you, simply don't use it. |
How can i change it so that the header doesn't show a 200 status on error pages?
My old urls are getting 200 status and the bots think it's still there and don't update the search results. |
i removed the http://ww bit from my .htacess
its now Code:
ErrorDocument 404 /forums/httperror.php?e=404 all is working for fine for me,and i now see a 404 status sorry to bump this topic to! |
nice ive been making pages and having my error pages redirect to them
this is alot better *Clicks Install |
I would just like to add, now I made the changes i mentioned above in post 66, I am seeing whole loads of 404's in my logs, which wernt there while I had this addon installed as per the instructions provided
Before i made the change, all the links that were incorrect would have been reutrining status 200 and thus this may well have damaged my search engine ranking, if you havnt allready please update htacess to remove the http://www from the links |
Hello, Thank you for this great Hack!
How can I insert the navbar by an error ? If I insert $navbar into the template , it wont't be show ... Thank you ! mfg Surviver PS: Sorry for my bed english |
Thank you for this! makes things complete now :)
|
Quote:
|
I've just installed this on a couple of my sites, and I like it. ;-)
Some fixes, though... The line: Code:
<title>$vboptions[bbtitle] - HTTP Error $error</title> Code:
<title>$vboptions[bbtitle] - HTTP Error $error[title]</title> Also, after "$headinsert" add this line: Code:
<meta name="robots" content="noindex, nofollow"> |
Sweet. So you're saying it should work just fine on 3.6.0? :)
|
Yes, it does.
|
Thanks mikel!
|
thanks for the tips and fixes, finally got my errors resolved and this hack working on 3.6.0
|
I got the HTTP error also (3.5.4),but when I hit the refresh page ...it's gone ....is this the right MOD for the fix .?
|
I was running this on 3.5 without any problems. I upgraded to 3.6.1 and the error screen looks like this (see attachment). It's like it's not getting the CSS info. Any ideas? Thanks for such a cool hack!
You can also see it live here: http://www.churchmedia.net/blah |
I found the problem. I had switched my CSS to be stored in files in the VB Style Options. I switched that off and everything is fine now.
|
Well I installed this on 3.6.4 with very little problems. Though for .htaccess i used an actuall URL and it seems to work fine. I think I read earlier there were some problems but seems fine so far.
|
All times are GMT. The time now is 04:17 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|