Déclic Vidéo
 Posts:57


| | 03/19/2007 9:09 AM |
| Hello,
I have finally managed to install Page Blaster (I had a problem related to the length of my web). Everything seems ok, excepted the images, which are ALL replaced by a red cross... If I uninstall the Page Blaster module, everything is then ok.
Any idea ??
By the way, what is the difference between the free version and the non-free one.
Déclic Vidéo | | | |
|
|
|
John Mitchell Posts:3033


| | 03/19/2007 9:17 AM |
| If the images are not displayed then it may be because they are being rendered through ASP.Net instead of directly through IIS.
In that case you may need to exclude the page that is rendering the images.
You should have an exclude for LinkClick, and one for all .axd extensions. The following exclude is on that I have been using as a default recently:
pattern="LinkClick|\.axd|\.asxh|FileManager|Cart|Install" excludeFrom="All" | | | |
|
Déclic Vidéo
 Posts:57


| | 03/19/2007 9:24 AM |
| Thanks for the answer John.
I have put into exclude what you wrote here (without pattern=). Now I am locked with this error message:
Server Error in '/' Application. --------------------------------------------------------------------------------
'LinkClick' is an unexpected token. Expecting white space. Line 8, position 33. Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.Xml.XmlException: 'LinkClick' is an unexpected token. Expecting white space. Line 8, position 33.
Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
Stack Trace:
[XmlException: 'LinkClick' is an unexpected token. Expecting white space. Line 8, position 33.] System.Xml.XmlTextReaderImpl.Throw(Exception e) +87 System.Xml.XmlTextReaderImpl.Throw(String res, String arg) +127 System.Xml.XmlTextReaderImpl.ParseAttributes() +1902762 System.Xml.XmlTextReaderImpl.ParseElement() +545 System.Xml.XmlTextReaderImpl.ParseElementContent() +461 System.Xml.XmlTextReaderImpl.Read() +26 System.Xml.XmlLoader.LoadNode(Boolean skipOverWhitespace) +557 System.Xml.XmlLoader.LoadDocSequence(XmlDocument parentDoc) +50 System.Xml.XmlLoader.Load(XmlDocument doc, XmlReader reader, Boolean preserveWhitespace) +162 System.Xml.XmlDocument.Load(XmlReader reader) +96 System.Xml.XmlDocument.LoadXml(String xml) +194 Snapsis.HttpModules.PageBlaster.Config.Settings.Create(HttpApplication app, String settingsXML) +233 Snapsis.HttpModules.PageBlaster.PageReplacementsFilter.Write(Byte[] buffer, Int32 offset, Int32 count) +621 System.Web.HttpWriter.Filter(Boolean finalFiltering) +251 System.Web.HttpResponse.FilterOutput() +60 System.Web.CallFilterExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +29 System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +64
What should I do ???
DV | | | |
|
John Mitchell Posts:3033


| | 03/19/2007 9:35 AM |
| There must be a problem with your config file syntax. I have uploaded an example config file that you can download here | | | |
|
Déclic Vidéo
 Posts:57


| | 03/19/2007 11:44 AM |
| Sorry, it is still the same problem with the new config file.
Everything goes well, excepted when I enter: "LinkClick|\.axd|\.asxh|FileManager|Cart|Install" excludeFrom="All" in the exclude path... Then I have this big error message (only solution is to re-install from scratch).
I will wait your advice before going ahead.
DV PS: I do not have a problem with linkclick, I have a problem for displaying images (does not show correctly on a page). | | | |
|
John Mitchell Posts:3033


| | 03/19/2007 11:49 AM |
| If you give me access to your site, I can look and see what needs to be excluded.
I know that sample config file works because I am using it on this site.
You can send me an e-mail directly with a link to your site. | | | |
|
Déclic Vidéo
 Posts:57


| | 03/19/2007 12:27 PM |
| Email sent...
DV PS: What is the difference between Page Blaster FREE and non-free version ??? | | | |
|
John Mitchell Posts:3033


| | 03/19/2007 12:50 PM |
| Ok, the problem with the images is in the repository module beause it is calling a different page to generate the Thumbnails using ASP.Net
You can make those work by adding MakeThumbnail.aspx to your exclude pattern.
pattern="MakeThumbnail\.aspx|LinkClick\.aspx|\.axd|\.asxh|FileManager|Cart|Install" excludeFrom="All"
In your e-mail you asked about the speed not being faster. Your pages are being compressed, but they are not being cached for some reason. I would have to see your full list of excludes to understand why no caching is taking place.
You also noticed that white space is still in the source of the page. PageBlaster does not remove whitespace by default as I feel this is a wasted process. Just compressing the page will remove the whitespace before it is transmitted.
As for the difference between the Free and non-free version. The non-free DNN module version allows you to control the settings on each page, where the free version only uses the global config file. The module also allows you to specify a Virtual Path to a page, so that you can use any name you like without being tied to a rewrite rule to do a friendly url.
| | | |
|
John Mitchell Posts:3033


| | 03/19/2007 12:51 PM |
| If you want to e-mail me your config file I can make the needed corrections and send it back to you. | | | |
|
Déclic Vidéo
 Posts:57


| | 03/19/2007 1:57 PM |
| Hello John,
I have just sent you an email with all creditentials to look at it. Because I do not understand WHY it is not cached...
Problem with images is solved, when I added the pattern you specified (in the Snapsis config file !!). Because for your information, I was adding the 'pattern' into the module settings, part "Page Setup - Excluse path (pattern)". Maybe that's why it was not working and I had problem.
Ok, I better understand the free/ non-free differences.
Déclic Vidéo | | | |
|
Déclic Vidéo
 Posts:57


| | 03/31/2007 7:15 AM |
| UP. The site is still not cached. Maybe a problem with the @ in the path ??
DV | | | |
|
John Mitchell Posts:3033


| | 03/31/2007 7:19 AM |
| | Oh right, now I remember. I'll test that now. I also have added a way to get more debug information so I'll send you a newer version. | | | |
|
Déclic Vidéo
 Posts:57


| | 04/05/2007 9:18 AM |
| Any news ???
DV | | | |
|