vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=252)
-   -   404 Page (https://vborg.vbsupport.ru/showthread.php?t=244448)

wierdo124 06-12-2010 01:55 AM

404 Page
 
Hey guys.

Trying to create a custom 404 page. I was using a mod called 404 Area, but i came to the conclusion it sucked, so i'm making my own.

Problem is, i have a 404.php, i have an .htaccess that points to it, but still no dice :(

What's the trick with vB? I'm using vbulletin 4.

Rafa-el 06-12-2010 02:31 AM

What are you trying to do? I think that you only have to add this line in the .htaccess file

ErrorDocument 404 /myerrorpage.php

And if you're planning to use that page integrated with vB4 that's other history ;)

wierdo124 06-12-2010 02:37 AM

Quote:

Originally Posted by Rafa-el (Post 2052332)
What are you trying to do? I think that you only have to add this line in the .htaccess file

ErrorDocument 404 /myerrorpage.php

And if you're planning to use that page integrated with vB4 that's other history ;)

I have that. And what do you mean..? there's nothing integrated with vb4, on Chrome i just get a Chrome error.

Rafa-el 06-12-2010 01:29 PM

Quote:

Originally Posted by wierdo124 (Post 2052333)
I have that. And what do you mean..? there's nothing integrated with vb4, on Chrome i just get a Chrome error.

so what's the problem???

pant 06-12-2010 07:45 PM

This is our 404 :D

http://the-sps.org/404.shtml

ChopSuey 06-12-2010 07:54 PM

Check mine out

http://forum.vbdiscussions.com/wierd...hingiwantahaha

It works :D

pant 06-13-2010 10:26 AM

Ours is better, Maddie McCann trumps your software babble :D

wierdo124 06-13-2010 06:11 PM

Quote:

Originally Posted by Rafa-el (Post 2052513)
so what's the problem???

That i want to point to a specific custom 404 page..

How did you guys do that?

pant 06-13-2010 06:43 PM

1 Attachment(s)
I have two files in the public folder.

one called 404.stml
one called 404image.jpg

The contents of the .shtml is

Rename the 404 with a .shtml extention and if you want also an image that you name the same as the jpg above and upload them to your public folder. You can then go to yourfoum.com/404.shtml and see if it works. If that works great, all you need to do then is play about with the shtml file to get what you want :)

wierdo124 06-14-2010 07:56 PM

But i have a 404 page setup, i can view it no problem, but an error doesn't point to the page.


All times are GMT. The time now is 05:32 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.01281 seconds
  • Memory Usage 1,728KB
  • 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
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)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