Quick Nav:  Online Store   |   Login | Register
PrevPrev--NextNext
How To: Confirm PageBlaster Installation
Last Post 27 Jul 2010 11:57 AM by John Mitchell. 21 Replies.
Page 1 of 212 > >>
Please Register to participate.
Sort: Print topic: Printer Friendly
AuthorMessages
John Mitchell
Veteran Member
Posts:4350

Avatar

Administrator
Send PM:Send Private Message

--
10 Nov 2009 10:24 AM
To determine if PageBlaster is installed and working correctly please use the following steps:

1. Check in /bin folder of your website for Snapsis.HttpModules.PageBlaster.dll and Snapsis.DNN.PageBlaster.dll

2. Check in root of website for Snapsis.PageBlaster.config file.

3. Check in web.config for PageBlaster entries:
//for IIS7 in system.webServer node
3a. <add name="PageBlaster" type="Snapsis.HttpModules.PageBlaster.PageBlasterModule, Snapsis.HttpModules.PageBlaster" preCondition="managedHandler" />

//for IIS5 & IIS6 in system.web node
3b. <add name="PageBlaster" type="Snapsis.HttpModules.PageBlaster.PageBlasterModule, Snapsis.HttpModules.PageBlaster" />



4. Make sure you have logged out and browsed several pages on your site then check in the PageBlaster cache folder at /DesktopModules/Snapsis/PageBlaster/Cache. There should be several folders and files in those folders with a .webinfo extension.



5. If steps 1-3 are good and there are not any cache files in step 4 then turn on debug tracing by modifying Snapsis.PageBlaster.config:
5a. <trace level="Debug" file-path="/PageBlaster.trace.webinfo" />

After trace debugging is turned on, make sure you are logged out and browse several pages of your site, then check the PageBlaster.trace.webinfo file located in the root of your site to see if it has any information about what isn't working.
Roberto Caporale
New Member
Posts:4


Send PM:Send Private Message

--
20 Nov 2009 07:43 PM
Hi John,

I've checked this steps but the file /cache doen't appears !

And I've a 'Object not set.." error if I try to load Admin/PageBlaster page..

I'm going to test your module (just purchased) in a dotnetnuke 5.1.4 in http://localhost address.

can you help me ?
John Mitchell
Veteran Member
Posts:4350

Avatar

Administrator
Send PM:Send Private Message

--
20 Nov 2009 08:55 PM
Thanks for purchasing.
I'll certainly help as much as possible.

Are you seeing any errors in the DNN Event Viewer/Log ?
Roberto Caporale
New Member
Posts:4


Send PM:Send Private Message

--
21 Nov 2009 04:20 AM
Yes of course :

I had several errors in eventlog, the first and more expressive error is :

AssemblyVersion: 5.1.4
PortalID: 0
PortalName: My Website
UserID: 1
UserName: host
ActiveTabID: 73
ActiveTabName: PageBlaster
RawURL: /dotnetnuke500/Admin/PageBlaster.aspx
AbsoluteURL: /dotnetnuke500/Default.aspx
AbsoluteURLReferrer: http://localhost/dotnetnuke500/OWSTEST.aspx?runningDefault=2
UserAgent: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US) AppleWebKit/532.0 (KHTML, like Gecko) Chrome/3.0.195.33 Safari/532.0
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
ExceptionGUID: 2c05adbe-0c05-4185-8fad-78fd2c241c6a
InnerException: Value cannot be null. Parameter name: input
FileName:
FileLineNumber: 0
FileColumnNumber: 0
Method: System.Text.RegularExpressions.Regex.Match
StackTrace:
Message: System.ArgumentNullException: Value cannot be null. Parameter name: input at System.Text.RegularExpressions.Regex.Match(String input) at System.Text.RegularExpressions.Regex.Match(String input, String pattern, RegexOptions options) at Snapsis.HttpModules.PageBlaster.CachedRequest.SetFilePath() at Snapsis.HttpModules.PageBlaster.CachedRequest..ctor(HttpApplication app) at Snapsis.DNN.PageBlaster.PageBlasterConfig.InitializeComponent() at Snapsis.DNN.PageBlaster.PageBlasterConfig.OnInit(EventArgs e) at System.Web.UI.Control.InitRecursive(Control namingContainer) at System.Web.UI.Control.AddedControl(Control control, Int32 index) at System.Web.UI.ControlCollection.Add(Control child) at DotNetNuke.UI.Modules.ModuleHost.InjectModuleContent(Control content) at DotNetNuke.UI.Modules.ModuleHost.CreateChildControls() at System.Web.UI.Control.EnsureChildControls() at DotNetNuke.UI.Modules.ModuleHost.get_ModuleControl() at DotNetNuke.UI.Containers.Container.get_ModuleControl() at DotNetNuke.UI.Containers.Container.ProcessModule() at DotNetNuke.UI.Skins.Pane.InjectModule(ModuleInfo objModule)
Source:
Server Name: VAIOROB

( the http://localhost/dotnetnuke500/ can be a misunderstanding.. the assembly version is 5.1.4 !)


the following errors are identical (3 entry) :

ModuleId: -1
ModuleDefId: -1
FriendlyName:
ModuleControlSource:
AssemblyVersion: 5.1.4
PortalID: 0
PortalName: My Website
UserID: 1
UserName: host
ActiveTabID: 73
ActiveTabName: PageBlaster
RawURL: /dotnetnuke500/Admin/PageBlaster.aspx
AbsoluteURL: /dotnetnuke500/Default.aspx
AbsoluteURLReferrer: http://localhost/dotnetnuke500/OWSTEST.aspx?runningDefault=2
UserAgent: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US) AppleWebKit/532.0 (KHTML, like Gecko) Chrome/3.0.195.33 Safari/532.0
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
ExceptionGUID: 0813fa60-6b13-4f0b-979e-6d74bead167d
InnerException: Object reference not set to an instance of an object.
FileName:
FileLineNumber: 0
FileColumnNumber: 0
Method: DotNetNuke.UI.Containers.ActionBase.get_ActionRoot
StackTrace:
Message: DotNetNuke.Services.Exceptions.ModuleLoadException: Object reference not set to an instance of an object. ---> System.NullReferenceException: Object reference not set to an instance of an object. at DotNetNuke.UI.Containers.ActionBase.get_ActionRoot() at DotNetNuke.UI.Containers.ActionBase.Page_Load(Object sender, EventArgs e) --- End of inner exception stack trace ---
Source:
Server Name: VAIOROB


Thanks for you help !

John Mitchell
Veteran Member
Posts:4350

Avatar

Administrator
Send PM:Send Private Message

--
21 Nov 2009 09:39 AM
That appears to be the error from the last version of PageBlaster when installed on IIS7. To correct it, look in web.config for a PageBlaster line that says preCondition="classicMode,managedHandler" and change it so that it only reads preCondition="managedHandler"
Roberto Caporale
New Member
Posts:4


Send PM:Send Private Message

--
21 Nov 2009 01:17 PM
Ok John , now it's work !
Thanks !
Cynthia Conser
New Member
Posts:4


Send PM:Send Private Message

--
14 Feb 2010 08:37 PM
I've tried these steps. At Step 4, there were no folders and files with a .webinfo extension. I turned on debug tracing, but couldn't locate a PageBlaster.trace.webinfo file. The Admin/PB page is showing up fine. Advice?
John Mitchell
Veteran Member
Posts:4350

Avatar

Administrator
Send PM:Send Private Message

--
15 Feb 2010 06:18 AM
Hi Cynthia,
If the trace file is not being created and all other steps are good then the only thing I can think of is that you may not have permissions set to allow writing of files.

If you can check in your server's event log, or in the DNN event log there may be some errors to indicate what the problem is.
Nelson Fernandez
New Member
Posts:82


Send PM:Send Private Message

--
24 Feb 2010 02:18 PM
it looks like some compression is working as well as replacements, but I can't seem to get the CSS or JS merge/compression working.

What can I do to debug this?

John Mitchell
Veteran Member
Posts:4350

Avatar

Administrator
Send PM:Send Private Message

--
24 Feb 2010 02:36 PM
Hi Nelson,
On IIS7 and DNN 5.2 you'll need the latest version of PageBlaster (3.4.5) for JS & CSS merge to work properly.
Nelson Fernandez
New Member
Posts:82


Send PM:Send Private Message

--
24 Feb 2010 03:17 PM
I've updated and they are now getting Minified but still not Merged. Coincidentally my compression isn't working either. I've gone through the reference PDF and everything looks correct. I do have a concern that maybe one of my rules is preventing this. Can you attach a copy of the default Config file I can compare?
John Mitchell
Veteran Member
Posts:4350

Avatar

Administrator
Send PM:Send Private Message

--
24 Feb 2010 03:47 PM
You need to make sure you do not have any excludes for the merging (by default merging is excluded).

The default config files are in the DesktopModules/Snapsis/PageBlaster/Config folder.

These two lines are what you need to remove:
<path pattern="\.js$" excludeFrom="MergeJS" />
<path pattern="\.css$" excludeFrom="MergeCSS" />

Also, with the latest version of PageBlaster you will have to enable the static file handler for CSS & JS to be compressed.
If you are on IIS7 you can do that by adding these lines to web.config in the system.webServer/handlers node:

<add name="PBJSHandler" verb="*" path="*.js" type="Snapsis.HttpModules.PageBlaster.StaticFileHandler, Snapsis.HttpModules.PageBlaster" preCondition="managedHandler" />
<add name="PBCSSHandler" verb="*" path="*.css" type="Snapsis.HttpModules.PageBlaster.StaticFileHandler, Snapsis.HttpModules.PageBlaster" preCondition="managedHandler" />
Nelson Fernandez
New Member
Posts:82


Send PM:Send Private Message

--
24 Feb 2010 04:46 PM
Getting closer... I see the *.pb.js file is created and contains some of the merged JS but the actual script tags with the original js links remain. This means that my scripts are being loaded twice and probably hurting performance.

For example, if you look at the page source for this page:

http://www.warbeats.com/Home/Work/Blank.aspx

You should see in the head section many JS files being referenced. At the bottom of the page source you should see the combined pb.js file. One of the first JS files in the head section is SWFObject.js and the contents of this is also at the top of the pb.js file.
Cynthia Conser
New Member
Posts:4


Send PM:Send Private Message

--
10 Apr 2010 02:56 PM
Hi John,

I am having trouble with merging CSS and JS files.

CSS: PB is merging all but two of the CSS files referenced in the document head. I also am using a module that links to a CSS file outside of the document head. Is there anything I can do to include these files in the merged CSS file?

JS: PB is merging and caching the merged JS file (not sure whether it includes all 11 files), but for some reason the merged file is not being used by the browser. Instead, it is using the 11 separate files. What should I do to fix this?
Cynthia Conser
New Member
Posts:4


Send PM:Send Private Message

--
14 Apr 2010 08:06 AM
Am still having the problem. Does anyone have a solution?
stevennestler
New Member
Posts:10


Send PM:Send Private Message

--
27 Apr 2010 08:25 AM
John,
I've just installed 3.4.5, and going through your checklist, I see the bin files, but Snapsis.PageBlaster.config file is not in the root, and the web.config is unchanged. I tried re-installing. What do I do next?
thanks,
Steven
John Mitchell
Veteran Member
Posts:4350

Avatar

Administrator
Send PM:Send Private Message

--
27 Apr 2010 08:32 AM
Hi Steven,
Your host has probably restricted updates to the root of your site.
You will need to manually update the web.config file, and copy the Snapsis.PageBlaster.config file from the /DesktopModules/Snapsis/PageBlaster/Config folder to your root. In that folder are two files Default.config and Default5X.config, if you are running Dnn 5x+ then you need to copy the Default5x.config to root and rename it to Snapsis.PageBlaster.config. If you are running DNN 4x and below you will need to do the same with Default.config
John Mitchell
Veteran Member
Posts:4350

Avatar

Administrator
Send PM:Send Private Message

--
27 Apr 2010 08:34 AM
Cynthia and Nelson,
Are you using the latest version 3.4.5 of PageBlaster?
Steve Keane
New Member
Posts:4


Send PM:Send Private Message

--
27 Jul 2010 03:38 AM
Hi. Got the latest version running on DNN5.4.3 IIS6 Win2K3r2

The rewrite stuff seems to be working in that the Viewstate is moved but the cache directory remains empty.

Here is the latest content of the trace file. All entries are like this:

Application shutting down : DomainId=24
27/07/2010 08:53:29 : PB:PageBlasterModule.Dispose
Application shutting down : DomainId=24
27/07/2010 08:55:24 : PB:PageBlasterModule.Dispose
Application shutting down : DomainId=25
27/07/2010 08:55:24 : PB:PageBlasterModule.Dispose
Application shutting down : DomainId=25
27/07/2010 08:56:49 : PB:PageBlasterModule.Dispose
Application shutting down : DomainId=26
27/07/2010 08:57:49 : PB:PageBlasterModule.Dispose
Application shutting down : DomainId=26
27/07/2010 09:03:49 : PB:PageBlasterModule.Dispose
Application shutting down : DomainId=26
27/07/2010 09:04:49 : PB:PageBlasterModule.Dispose
Application shutting down : DomainId=26
27/07/2010 09:06:49 : PB:PageBlasterModule.Dispose
Application shutting down : DomainId=26
27/07/2010 09:07:49 : PB:PageBlasterModule.Dispose
Application shutting down : DomainId=26
27/07/2010 09:08:19 : PB:PageBlasterModule.Dispose
Application shutting down : DomainId=26
27/07/2010 09:08:49 : PB:PageBlasterModule.Dispose
Application shutting down : DomainId=26
27/07/2010 09:10:19 : PB:PageBlasterModule.Dispose
Application shutting down : DomainId=26
27/07/2010 09:10:49 : PB:PageBlasterModule.Dispose
Application shutting down : DomainId=26
27/07/2010 09:36:49 : PB:PageBlasterModule.Dispose
Application shutting down : DomainId=26




Any ideas?

Additionally the DNN Captcha images are broken/missing.

Thanks

SK
John Mitchell
Veteran Member
Posts:4350

Avatar

Administrator
Send PM:Send Private Message

--
27 Jul 2010 09:09 AM
Hi SK,
If that is all that is in your trace file then you'll need to make sure that the <trace level="Debug" is set in the Snapsis.PageBlaster.config file in the root of your site.
Please Register to participate.
Page 1 of 212 > >>


Active Forums 4.1
     
      
Powered by: Snapsis Software