vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   Custom error-handler based on vBulletin templates (https://vborg.vbsupport.ru/showthread.php?t=65013)

Intex 05-29-2004 08:15 AM

I followed the instructions and it doesn't appear to work for me. I'm using Apache2 on a Windows host.

I've created the .htaccess file and made sure that the Apache httpd.conf file is set to look for .htaccess files and also includes the 'AllowOverride FileInfo AuthConfig Limit' directive. Template was also included and error.php uploaded.

All I get is the usual Windows 404 Error saying page not found.

Any ideas?

Intex 06-01-2004 10:57 AM

* Bump *

Intex 06-03-2004 10:36 AM

* Bump @ AlexanderT *

AlexanderT 06-03-2004 11:04 AM

Intex, sorry for my late reply. I am not sure why it wouldn't work for you. But the again, I haven't really had experience with either Apache 2 or Windows hosts. Can you use .htaccess files in general (like for protection directories)?

Slapyo 06-03-2004 12:23 PM

can i use this error handler for the forums only, and then a different error handler for my site.

like put a .htaccess in ../

and put your .htaccess in ../forums/

just curious if this is possible or not, or if i should just make the whole site goto the forum error handler. thanks.

0zone 06-07-2004 11:51 PM

Installed, tested, working as expected.

Thanks for the hack. :)

[clicks install]

AlexanderT 06-08-2004 06:22 AM

Quote:

Originally Posted by Slapyo
like put a .htaccess in ../
and put your .htaccess in ../forums/

Yes that should work. Have you given it a try?

Slapyo 06-08-2004 03:23 PM

not yet, unfortunately i am in the middle of finals week so i won't be able to sit down and work on my site until next week some time.

Slapyo 06-28-2004 11:27 AM

after installing the hack, all i get is:

Quote:

Unknown Error
We are currently unable to handle this error.
Please contact us if this problem persists.
i tried requesting a file like asdf.html which i don't have on my server and it doesn't give the 404 error. it gives the unknown error. after looking at the code that means that $_SERVER['REDIRECT_STATUS'] isn't being set. everything is setup up according to the install. any ideas?

EDIT: figured it out. in my .htaccess, the link i gave to the error.php file included my URL in front of it ... http://www.mysite.com/forums/error.php ... soon as i changed it to what was shown in the instructions ... /forums/error.php ... it worked like a charm. thanks!

ImportPassion 06-28-2004 11:38 AM

how do we get this to use whatever skin somebody is using currently?


All times are GMT. The time now is 02:01 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.02931 seconds
  • Memory Usage 1,733KB
  • 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_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)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