vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Administrative and Maintenance Tools - vB Error Pages 1.0 (https://vborg.vbsupport.ru/showthread.php?t=132337)

redlabour 12-01-2006 04:40 AM

Quote:

Originally Posted by Spikeman (Post 1129096)
This error was generated as I installed vBSEO and it appears that it takes over the 404 errors, so i need to look in to that ;)

You have only to enter your 404.php Path to vbseo.cp at the 404 Managesection. :)

Spikeman 12-01-2006 08:28 AM

Quote:

Originally Posted by redlabour (Post 1129208)
You have only to enter your 404.php Path to vbseo.cp at the 404 Managesection. :)

Yeah, thats what I thought, but it would not work, thats is where the errors came from, had to change the 404.php script and all is good again, will include that for next release.

da420 12-01-2006 04:03 PM

Im using Zoints and it works fine for me. :)

MaestroX 12-06-2006 09:08 PM

A problem, when testing, i got an error 404 and my CSS didn't load. ?
Please help :)

4yBak 12-07-2006 02:51 PM

Bug:
1) try go to example link http://yuorboardname/bla/bla.php (directory BLA not exist)
2) so, if this directory not exist we can see vbulletin page with error 404 that did this hack, BUT:
- we also lost all style graphics
- we also has broken links on forum, example:
a) Contact Us - http://yourboardname/bla/sendmessage.php
b) Archive - http://yourboardname/bla/archive/index.php
c) FAQ - http://yourboardname/bla/faq.php

So, as you can see we has broken style and links. Hope, you fix it.

Thanks for hack!

Slash_ 12-08-2006 05:40 AM

installed

thanks man!

adonfun 12-27-2006 11:11 PM

Clicked install.

I'll be waiting for the updated version before actually installing it :)

SaN-DeeP 12-27-2006 11:20 PM

thank you for this addon :)

maxicep 12-29-2006 11:55 AM

thanks installed

Brew 12-30-2006 03:08 PM

One other person has posted this problem so at least I know it's not just me :P

I recently migrated to vB from another system. Since vB has new URLs from the old system visitors are being taken to this error pages mod.

The problem is that since the bad page call is in a different directory than vB folder the css is not called correctly.

As an example try these:
1: http://www.politicalforums.net/oldforum/index.php
2: http://www.politicalforums.net/forums/badpage.php

Link 1 is similar to what people going to the old forums get. All graphics are missing.

Link 2 is the error page under the current vB folder where it can find the css data to generate the graphics.

I've trying to figure out a way around this but haven't had any luck. The only thing left I can think of is to put the css info directly into the error.php file but this would make it a real pain to change every time I update the forums.

Thanks for any help with this.

Brew

masterme 01-06-2007 02:01 PM

Installed and very nice. Always a better look and a better service towards visitors this way!

Smoothie 01-06-2007 02:39 PM

Where are the phrases?

Smoothie 01-06-2007 07:39 PM

Quote:

Originally Posted by Brew (Post 1147562)
One other person has posted this problem so at least I know it's not just me :P

I recently migrated to vB from another system. Since vB has new URLs from the old system visitors are being taken to this error pages mod.

The problem is that since the bad page call is in a different directory than vB folder the css is not called correctly.

As an example try these:
1: http://www.politicalforums.net/oldforum/index.php
2: http://www.politicalforums.net/forums/badpage.php

Link 1 is similar to what people going to the old forums get. All graphics are missing.

Link 2 is the error page under the current vB folder where it can find the css data to generate the graphics.

I've trying to figure out a way around this but haven't had any luck. The only thing left I can think of is to put the css info directly into the error.php file but this would make it a real pain to change every time I update the forums.

Thanks for any help with this.

Brew

same here, this mod is worthless to me now. Uninstalled

Brew 01-06-2007 10:37 PM

Quote:

Originally Posted by Smoothie (Post 1152140)
same here, this mod is worthless to me now. Uninstalled

I was able to get it mostly working but I had to hard-code the image paths and links.

So long as I don't update the skin anytime soon I'll be ok.

:classic:

Smoothie 01-07-2007 02:28 PM

Quote:

Originally Posted by Brew (Post 1152237)
I was able to get it mostly working but I had to hard-code the image paths and links.

So long as I don't update the skin anytime soon I'll be ok.

:classic:

I hear that. Not worth the time or effort for me to do that. Thanks for the heads up though.....

Brew 01-07-2007 02:50 PM

This has actually been working very well. So it's no knock on the author.

It just has this one issue as far as I can tell.

Fix the skin problem and it'll be top notch.

In the mean time you just have three templates to change the links to the images and forums to. It's really not at all difficult.

vulture 01-09-2007 08:40 PM

I like this hack but it doesn't work properly (even on the authors forum)

This gives the correct error page: http://www.internetwatchers.co.uk/forums/blah
This totally screws up: http://www.internetwatchers.co.uk/blah

On my site if I do the later example the forums/ parts just disappears in any hyperlink. Is there a fix for this?

4yBak 01-15-2007 01:45 PM

how about fixing this bug?

redlabour 01-17-2007 01:36 PM

Still waiting for the WOL Fix. Everything else works perfect.

jgommel 01-25-2007 12:49 PM

I'm not sure if this will help anyone or not, but I added the following code to each .php error page in order to get my skins images/paths etc to work correctly.

FIND:
Code:

require_once('./global.php');
ADD UNDER:
Code:

// #################### HARD CODE JAVASCRIPT PATHS ########################
$headinclude = str_replace('clientscript', $vbulletin->options['bburl'] . '/clientscript', $headinclude);


TheFrienzNet 01-25-2007 09:27 PM

Thanks a lot, i've been looking for something like this for a while!

*Edit*

I can't seem to find any place where I can edit the error pages in AdminCP.

blogtorank 01-25-2007 11:33 PM

Thanks this works perfect!

TheFrienzNet 01-27-2007 07:51 PM

Quote:

Originally Posted by TheFrienzNet (Post 1167301)
Thanks a lot, i've been looking for something like this for a while!

*Edit*

I can't seem to find any place where I can edit the error pages in AdminCP.


Err?

da420 01-27-2007 08:06 PM

Try your style manager.

TheFrienzNet 01-31-2007 07:42 PM

Quote:

Originally Posted by da420 (Post 1168533)
Try your style manager.

Hm?

da420 01-31-2007 07:49 PM

vberrorpages_400
vberrorpages_401
vberrorpages_403
vberrorpages_404
vberrorpages_500

Those are the templates that are added with this modification. To make them look different you will need to edit those templates.

Ericsson 03-01-2007 07:53 PM

The error pages arnt showing up for me: http://www.ps3blab.com/dsadsa

What should the .htaccess file look like?

tehPARADOX 03-08-2007 05:30 AM

Quote:

Originally Posted by jgommel (Post 1166996)
I'm not sure if this will help anyone or not, but I added the following code to each .php error page in order to get my skins images/paths etc to work correctly.

FIND:
Code:

require_once('./global.php');
ADD UNDER:
Code:

// #################### HARD CODE JAVASCRIPT PATHS ########################
$headinclude = str_replace('clientscript', $vbulletin->options['bburl'] . '/clientscript', $headinclude);


This has solved the issue with missing style images when error page is outside of forum directory.

thincom2000 03-08-2007 04:06 PM

I have just made it a rule to always use full paths in my templates since I first had an error like this, and so far no problems (except when a hack uses str_replace() on top of my pre-empt).

Also, with specific regards to this hack, I noticed that when using these error pages, the error is not sent to my server's error logs, while if using the default error pages, they are.

SaN-DeeP 03-10-2007 12:13 AM

does this modification calls error pages for deleted threads as well ??

dazed12 03-15-2007 07:38 PM

if you wanted to customize it via a phrase, then add a phrase and leave where the txt would have been :: $vbphrase[what_ever_you_want_your_phrase_to_be]. you could even look in the articles on how to add links in the admincp and set up your own menu for customized phrases that you made or edit daily

4yBak 03-16-2007 02:57 PM

I'm also was uninstall this hack through not existing support.

thincom2000 03-17-2007 07:26 AM

Quote:

Originally Posted by thincom2000 (Post 1198876)
Also, with specific regards to this hack, I noticed that when using these error pages, the error is not sent to my server's error logs, while if using the default error pages, they are.

Scratch that. For some reason as of this week it has begun reporting the error details to my server's logs.

radarhunter 08-07-2007 05:02 AM

hey man
your own site is giving this error
Quote:

Warning: main(./global.php): failed to open stream: No such file or directory in /home/interne/public_html/forums/errorpages/404.php on line 26

Fatal error: main(): Failed opening required './global.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/interne/public_html/forums/errorpages/404.php on line 26
could u please tell that is this hack still workin` and if yes then does it work on higher end versions.......

RichieBoy67 08-10-2007 12:42 AM

Some of you guys up above only have to edit your paths in htaccess just as thre instructions stated.... It is set by default for /forums/ Change it to your own...

I just installed without a problem but I have not testes funtionality yet... My only concern was seo and possible looping...

I usually create my own error pages and what I do is use a meta refresh redirect to redirect back to my home page after like 5 seconds. That solves the looping problem plus it redirects back to the home page....

How is this accomplished with this mod as to not cause looping???

Thanks

Harley D 05-25-2008 02:37 PM

Very Nice!!!!
Thank You.

SevenUp 02-09-2009 12:11 PM

works with 3.8

thank you!


All times are GMT. The time now is 01:28 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.01408 seconds
  • Memory Usage 1,818KB
  • 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
  • (4)bbcode_code_printable
  • (10)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
  • (37)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