Quick Nav:  Online Store   |   Login | Register

4.8.1 Display Issue With PB

Rate this topic:

Please Register to post a reply. Another benefit of registration is the ability to subscribe to and recieve notifications of new posts.
Page 2 of 2<< < 12
AuthorMessages
quest4denali
<100 Posts
Posts:63


03/13/2008 8:50 AM  
Hi John,

Thank you in advance for all of your help with this. The new version of PB is great.
I'm just not sure why my main page has losts it's skin.

path pattern="56" excludeFrom="All"
path pattern="Downloads\.aspx" excludeFrom="All"
path pattern="\?(?!tabid)" excludeFrom="All"
path pattern="(/admin/|/host/|LinkClick|\.ashx|rss|captcha|install|thumb|cart|\.asmx|\.asxh)" excludeFrom="All"
path pattern="ctl[/=](edit|module|tab)" excludeFrom="Replacements"
path pattern="\.js|\.css" excludeFrom="Replacements"
path pattern="jQuery" excludeFrom="MergeJS"
John Mitchell
Posts:3196


03/13/2008 8:59 AM  
Hi Ben,
It looks like your Merged CSS file is getting a 404.
I have a feeling it may be that exclude pattern of "56", try removing that and see if it fixes the CSS problem.

I'll take another look at the other issues.
quest4denali
<100 Posts
Posts:63


03/13/2008 9:32 AM  
Hi John,

I moved the 56 below the Merged CSS and everything seems to be ok. I think the issue with the Respository module is that it does everything on postback.
quest4denali
<100 Posts
Posts:63


03/13/2008 9:38 AM  
Ok, spoke to soon. It works in FF but not in IE. Any ideas? I can't seem to exclude the downloads.aspx without using the tabid.
It seems using the tabid kills the formatting on the default page.
John Mitchell
Posts:3196


03/13/2008 9:47 AM  
Check in web.config and move the PageBlaster httpModule line above the UrlRewriter line.
That way it can see the "human friendly" Urls for the exclusions.

Also remove the "no tabid" exclude for this version:
path pattern="\?(?!tabid)" excludeFrom="All"

And I see one more thing that you don't need:
\.asxh on the excludeFrom="All" was an old typo, it should be \.ashx which I see you also have in that list.
quest4denali
<100 Posts
Posts:63


03/13/2008 9:56 AM  
Hi John,
I made the above mentioned changes ( detailed below ). Now in FF when I go to my download page it crashes FF and I get the following in IE.
The XML page cannot be displayed
Cannot view XML input using style sheet. Please correct the error and then click the Refresh button, or try again later.


--------------------------------------------------------------------------------

Invalid at the top level of the document. Error processing resource 'http://www.bahrenburgs.com/Downloads.aspx'. Line 1, P...

MZ�
^



I not have the following in my PB Config:

path pattern="Downloads\.aspx" excludeFrom="All"
path pattern="(/admin/|/host/|LinkClick|rss|captcha|install|thumb|cart|\.asmx|\.asxh)" excludeFrom="All"
path pattern="ctl[/=](edit|module|tab)" excludeFrom="Replacements"
path pattern="\.js|\.css" excludeFrom="Replacements"
path pattern="jQuery" excludeFrom="MergeJS"

In my web.config I moved to the following:

add name="ScriptModule" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" preCondition="managedHandler"
add name="PageBlaster" type="Snapsis.HttpModules.PageBlaster.PageBlasterModule, Snapsis.HttpModules.PageBlaster"
add name="UrlRewrite" type="DotNetNuke.HttpModules.UrlRewriteModule, DotNetNuke.HttpModules" preCondition="managedHandler"

quest4denali
<100 Posts
Posts:63


03/13/2008 10:00 AM  
On additional thing. This seems to be an issue when the user is not logged in.
John Mitchell
Posts:3196


03/13/2008 10:04 AM  

The \.asxh should be \.ashx (keep the one with the X on the end).

That is probably not the problem with the downloads page though.

Try deleting all the files and folders in the PageBlaster cache-folder.
Something may be corrupted since the module has been moved in the list.

quest4denali
<100 Posts
Posts:63


03/13/2008 10:15 AM  

Thanks John.

I did the following:

1) Updated the PB config file to add the x

2) Deleted all of the cache content

3) added the exclude pattern for tabid=56

Everything seems to be working without issue.  I've tested in both IE and FF.

The only thing that is interesting is it doesn't seem to exclude on page name for the Respository module pages.

 

Thanks a million for your help.  Let me know when PB is officially releases so I can purchased an updated license.

quest4denali
<100 Posts
Posts:63


03/14/2008 6:08 AM  

Hi John,

I just wanted to give you an update in case anyone else has this issue in the future.

I found that excluding by tabid for some reason caused issues over the evening.  I'm not 100% sure why but all of the styles where removed from my main page.

In order to enable the ability to exclude by page name, with friendly Urls enabled I had to page PB above all other httpModules.

After doing that, I was able to remove the exclude by tabid pattern and just exclude by the page name.  So far so good.

 

John Mitchell
Posts:3196


03/14/2008 6:31 AM  

Hi Ben,
I'm pretty sure it was because of that number 56 being so generic. With a pattern like that you end up excluding a lot more than the one tab. Like tab 156, tab 561, etc.
You could use a pattern like this pattern="tabid[/=⒌[/&]?"
If PB is listed before the UrlRewrite module then it will see the tabid/56/ on the Url, if it is after it will see tabid=56.

When I had checked before there was a number 56 in the Merged CSS file.
The merged CSS file has a .axd extension and is handled a little differently than other extensions as a static file without needing the Static FileHandler.
All that being said, it still shouldn't cause a problem when you have an exclusion, so I'm going to be looking further into this, but overall it is better not to have an exclude pattern that is too "wide".

quest4denali
<100 Posts
Posts:63


03/14/2008 8:55 AM  

Hi John,

Thanks for the reply.  Does pattern="tabid[/=⒌[/&]?" look for 56?  Sorry I'm really bad when it comes to regex

John Mitchell
Posts:3196


03/14/2008 9:05 AM  

It looks like the forum messed up my pattern.
It should be:

pattern="tabid[/=]56[/&]?"

Which means:
Match the characters "tabid" literally «tabid»
Match a single character present in the list "/=" «[/=]»
Match the characters "56" literally «56»
Match a single character present in the list "/&" «[/&]?»
Between zero and one times, as many times as possible, giving back as needed (greedy) «?»

So it'll only get 56 if it is proceeded by tabid/ or tabid= and followed by a / or &.

quest4denali
<100 Posts
Posts:63


03/14/2008 9:17 AM  
Thanks John.
Sorry to ask another followup, does it work if I put the full 56 in such as the below?
pattern="tabid[/=56[/&]?"
John Mitchell
Posts:3196


03/14/2008 9:19 AM  
Ok, the forum was still eating the brackets, but I have it displayed correctly above now.
quest4denali
<100 Posts
Posts:63


03/14/2008 9:20 AM  
Just got the email, seems like for some reason the forum was removing the 56 value and replacing it with just 5 and a period.
It should be 56 without the period?
Please Register to post a reply. Another benefit of registration is the ability to subscribe to and recieve notifications of new posts.
Page 2 of 2<< < 12

Forums >Snapsis Product Support >PageBlaster > 4.8.1 Display Issue With PB



ActiveForums 3.7
Powered by: Snapsis Software