vBadvanced Forums  
Go Back   vBadvanced Forums > vBadvanced Products > vBadvanced Links Directory > vBa Links Directory v1.0 Support > Troubleshooting & Problems

Reply
 
Thread Tools Display Modes
  #1  
Old 01-22-2006, 12:03 PM
SARMX SARMX is offline
Member
 
Join Date: Feb 2005
Posts: 87
Default "Page Cannot Be Displayed" Error when disabled.

Group,

When I have my forums and links both disabled, and I click on any of the links at the top such as register, faq, calender, and etc, while at the links path I get a white "Page cannot be displayed".

Everything works fine when Im accessing those links from the path of the message board. Todays posts and search are the only two that dont do this.

Anyone have any idea what might be going on here?

Thanks

Doug

P.S. I did some further testing and this only seems to happen when the message board is disabled and not the links. If the message board is enabled and the links is disabled it wont do it and everything works fine, but if you disable the message board and disable the links it will give the errors. It will also give the errors is both board and links are disabled.

Also from what I have found this also does it with the VB Gallery program under the same conditions not just the links directory. (Yes I know VB Gallery is now owned by Photo Post, makes no difference, same code.) I have asked at Photo Post for the VB Gallery as well. http://www.photopost.com/forum/showt...84#post1145484
Reply With Quote
  #2  
Old 01-22-2006, 12:07 PM
SARMX SARMX is offline
Member
 
Join Date: Feb 2005
Posts: 87
Default Re: "Page Cannot Be Displayed" Error when disabled.

This "Page Cannot Be Displayed" issue wouldnt have anything to do with the settings in the Links Global PhotoPost vBGallery Settings would it?

Being that the url when the error occurs is domainname.com/links/calendar.php or what ever Im trying to access such as the members list, faq's, register and so on.

Please take a look at the attached snap shot if you would.

From what you can tell is this setup correctly?

My message board is at the top level. domainname.com

And my gallery is at domainname.com/gallery

Thanks

Doug
Reply With Quote
  #3  
Old 01-22-2006, 12:08 PM
SARMX SARMX is offline
Member
 
Join Date: Feb 2005
Posts: 87
Default Re: "Page Cannot Be Displayed" Error when disabled.

I did a little more testing on this with a test board, a fresh install of Vbulletin with no mods or anything and a bare bone, no mod install of Links Directory.

Disabled Vbulletin but left links enabled and the "Page Cannot be displayed" still occurs. I then tried it with both disabled and the same thing.

As far as I can tell this test rules out any mods being the cause of the problem.

But what could be causing this?

Doug
Reply With Quote
  #4  
Old 01-23-2006, 02:06 AM
Brian's Avatar
Brian Brian is offline
Administrator
 
Join Date: Jan 2004
Location: Georgia, USA
Posts: 34,240
Default Re: "Page Cannot Be Displayed" Error when disabled.

If you have your forum turned off then it will not make it to the part of the code in the links directory which handles the navbar replacements and such before it prints out the "board closed" message.
Reply With Quote
  #5  
Old 01-23-2006, 02:17 AM
SARMX SARMX is offline
Member
 
Join Date: Feb 2005
Posts: 87
Default Re: "Page Cannot Be Displayed" Error when disabled.

Quote:
Originally Posted by Brian
If you have your forum turned off then it will not make it to the part of the code in the links directory which handles the navbar replacements and such before it prints out the "board closed" message.
Brian,

But what if I need to have my board disabled for any period of time, How am I going to show my members that the links or gallery are temporarily down and them not be thinking something is wrong with my site because they are seeing error messages when clicking on these links?

How can I have the board disabled and still have these links function properly to show the page that says the board or links or gallery have been disabled like the forum does when you click on any of the forum links?

Is there anyway to get this to work properly? It just seems strange that this function will not work as it should when the board is disabled.

From what I am reading Brian, Your telling me that it is normal for this to happen and that either it was coded like this, or that you dont have a way for the code to get this to work properly?

Could you elaborate a little more on this as to why we can get this to work as it should?

Thanks much

Doug
Reply With Quote
  #6  
Old 01-23-2006, 02:51 AM
Brian's Avatar
Brian Brian is offline
Administrator
 
Join Date: Jan 2004
Location: Georgia, USA
Posts: 34,240
Default Re: "Page Cannot Be Displayed" Error when disabled.

Basically, it would be a bit of a pain in order to get the links replaced in the navbar and such for the links directory when the forum is closed. The links direcotry does not touch any vBulletin files, and the board closed message is printed out in the vB global.php file, before any code from the links directory is really executed. Since most admins do not close their forums that often, it's not something we've been too worried about. If you think it's going to be that big of an issue for you though, you can always edit your navbar template and add the full URL to each of those links.
Reply With Quote
  #7  
Old 01-23-2006, 03:01 AM
SARMX SARMX is offline
Member
 
Join Date: Feb 2005
Posts: 87
Default Re: "Page Cannot Be Displayed" Error when disabled.

Quote:
Originally Posted by Brian
Basically, it would be a bit of a pain in order to get the links replaced in the navbar and such for the links directory when the forum is closed. The links direcotry does not touch any vBulletin files, and the board closed message is printed out in the vB global.php file, before any code from the links directory is really executed. Since most admins do not close their forums that often, it's not something we've been too worried about. If you think it's going to be that big of an issue for you though, you can always edit your navbar template and add the full URL to each of those links.
Brian,

Im not saying that its "going" to be a problem, but in my situation it most likely will be a problem for me that is. It would be nice to have it work properly, and I'm trying to understand why it don't already work correctly "out of the box" and what can be done if anything to get this issue resolved?

I don't expect you or anyone to bend over backward or go out of their way to correct this problem for me and the others, But honestly it would be nice to have this work correctly for that day when I do have my board disabled and I don't have my members thinking my board is down or messed up.

There have been times that I was doing some work on my site for about 10 to 20 minutes, and they were getting a "Page Cannot Be Displayed" and they were immediately emailing me asking "Whats Up? I can't Access the site, Is it down?" Did you shut it down?

Brian with the above experiences I would just rather avoid these issues altogether if possible, especially if this is something that is fixable.

Doug
Reply With Quote
  #8  
Old 01-23-2006, 03:11 AM
Brian's Avatar
Brian Brian is offline
Administrator
 
Join Date: Jan 2004
Location: Georgia, USA
Posts: 34,240
Default Re: "Page Cannot Be Displayed" Error when disabled.

Quote:
Originally Posted by Brian
If you think it's going to be that big of an issue for you though, you can always edit your navbar template and add the full URL to each of those links.
.
Reply With Quote
  #9  
Old 01-23-2006, 03:06 PM
SARMX SARMX is offline
Member
 
Join Date: Feb 2005
Posts: 87
Default Re: "Page Cannot Be Displayed" Error when disabled.

Brian,

I just want to make sure that I am editing the right stuff so Id like to ask to be sure, but what is the path to the Nav Bar Templates and which templates do I need to be editing, just to make sure that there isn't more than one of them that needs to be edited?

Thanks for your help.

Doug
Reply With Quote
  #10  
Old 01-23-2006, 06:44 PM
Brian's Avatar
Brian Brian is offline
Administrator
 
Join Date: Jan 2004
Location: Georgia, USA
Posts: 34,240
Default Re: "Page Cannot Be Displayed" Error when disabled.

Go to your Style Manager in your Admin CP and click on the << >> button next to the style you wish to modify. Then scroll down to the 'Navigation / Breadcrumbs Templates' section, double click on that to expand the list, and then double click on the 'navbar' template to modify it. Then you'll want to go probably about half way down in the text area until you start seeing the links to usercp.php, faq.php, and etc. Just add $vboptions[bburl]/ in front of each of those filenames and you should be set.
Reply With Quote
  #11  
Old 01-24-2006, 10:03 AM
SARMX SARMX is offline
Member
 
Join Date: Feb 2005
Posts: 87
Default Re: "Page Cannot Be Displayed" Error when disabled.

Brian,

Just something I wanted to add to this...

Why is it that when the board is disabled and the links are enabled that the "Todays Posts" and the "Search" links work properly and the path shows

domainname.com/links/search.php

domainname.com/links/search.php?do=getdaily

But the others dont work???

From what Im seeing here Brian it appears as though it works but the faq, members list and a couple other links dont work. How come two links work but the rest dont work?

Im just thinking that it would be either all or nothing, but not a couple and not the rest.

Also I notice in the lower left corner there is an error message that says "Done, But with errors on page", or "Error on page" depending on what im viewing.

Also one other thing, adding the $vboptions[bburl]/ in front of the file names is basically just forwarding me to the message boards board disabled message, I dont feel this is right, why have a disable message for the links directory if the members are never going to see it? I want to try and fix this proper not find a "work around"

Can you help?

Doug
Reply With Quote
  #12  
Old 01-24-2006, 03:43 PM
Brian's Avatar
Brian Brian is offline
Administrator
 
Join Date: Jan 2004
Location: Georgia, USA
Posts: 34,240
Default Re: "Page Cannot Be Displayed" Error when disabled.

Those two search links work becuase /links/search.php is a valid file, though they should still be pointing to /forum/search.php.

Quote:
Also I notice in the lower left corner there is an error message that says "Done, But with errors on page", or "Error on page" depending on what im viewing.
Those are most likely from the clientscript files. It's not actually hurting anything though since the boards are closed and nobody can login from those pages anyways.

Quote:
Also one other thing, adding the $vboptions[bburl]/ in front of the file names is basically just forwarding me to the message boards board disabled message, I dont feel this is right, why have a disable message for the links directory if the members are never going to see it? I want to try and fix this proper not find a "work around"
Yes, adding that code is just forwarding you to the message board, which is exactly what it should do since those files are located within your forum folder. If your board is closed then you're going to get that message with any vBulletin file, or on any vBulletin hack you have installed.
Reply With Quote
  #13  
Old 01-24-2006, 06:26 PM
SARMX SARMX is offline
Member
 
Join Date: Feb 2005
Posts: 87
Default Re: "Page Cannot Be Displayed" Error when disabled.

Quote:
Yes, adding that code is just forwarding you to the message board, which is exactly what it should do since those files are located within your forum folder. If your board is closed then you're going to get that message with any vBulletin file, or on any vBulletin hack you have installed.
But what im trying to ask is what is the purpose of having the disabled message in the links directory if your never going to see it and are always forwarded to the message boards disabled message???

Why did you put that feature in there if its never used? that is what im racking my brain on trying to figure out.

Quote:
Those are most likely from the clientscript files. It's not actually hurting anything though since the boards are closed and nobody can login from those pages anyways.
Brian I dont want to write this stuff of as a "oh well" we can deal with it the way it is, I'd like to fix this stuff. Won't you help me figure this out and fix it, instead of just blowing it off as it doesn't hurt anything like it is go ahead and leave it like it is?

Brian Private Message or Email me direct if you like.

Doug
Reply With Quote
  #14  
Old 01-25-2006, 05:05 PM
Brian's Avatar
Brian Brian is offline
Administrator
 
Join Date: Jan 2004
Location: Georgia, USA
Posts: 34,240
Default Re: "Page Cannot Be Displayed" Error when disabled.

Quote:
Originally Posted by dcpaq2
But what im trying to ask is what is the purpose of having the disabled message in the links directory if your never going to see it and are always forwarded to the message boards disabled message???

Why did you put that feature in there if its never used? that is what im racking my brain on trying to figure out.
The feature is there so that you can disable just the links directory if you have some reason to do so. If your forums are disabled as well though, the forum's closed message is always going to be displayed first. If the forums are open but the links directory is closed, then you will see the links directory closed message when you access your links directory. So basically it's there to enable you to close off your links directory without closing off the rest of your forums.


Quote:
Brian I dont want to write this stuff of as a "oh well" we can deal with it the way it is, I'd like to fix this stuff. Won't you help me figure this out and fix it, instead of just blowing it off as it doesn't hurt anything like it is go ahead and leave it like it is?
There's really no reason to fix it. The only time it will be seen is when your boards are closed (which shouldn't be that often). The function of that javascript is related to logging into the message board, which you can't do while it's closed anyways, so there's absolutely nothing that it is affecting. If you're that concerned with fixing it though you could always search your vB templates for all references to "clientscript/" and replace them with "$vboptions[bburl]/clientscript/"
Reply With Quote
  #15  
Old 01-25-2006, 07:42 PM
SARMX SARMX is offline
Member
 
Join Date: Feb 2005
Posts: 87
Default Re: "Page Cannot Be Displayed" Error when disabled.

Brian,

I understand and thank you for explaining further.

You do have somewhat of a valid point that my board hopefully won't be disabled that often so this shouldnt be that big of an issue, however though it would be nice if this issue did not exist at all, and could eventually be fix in the future.

Anyway I might try out the client script suggestion and see what that does, but otherwise I guess I am finished with this discussion unless someone else wants to add something to it.

Thanks for your help Brian, keep the excellent programs comming.

Doug
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Latest Topics - Combine "Show New Posts" with "Goto New Post" Tom M Add-On Modules & Modifications 2 08-08-2005 10:10 AM
Page loads with "Error" ChinniePaws Troubleshooting / "How do I..." Questions 8 04-21-2005 03:38 AM


All times are GMT -4. The time now is 03:06 PM.

Forums Powered by vBulletin, Copyright ©2000-2009, Jelsoft Enterprises Ltd.
Please note that vBadvanced is in no way affiliated with Jelsoft Enterprises Ltd, nor will Jelsoft be able to provide any support for our products.