lodani dani
 Posts:45

| | 02/28/2008 2:47 PM |
| I'm afraid it didn't fix it. I going to dig into the DB to see if I get any other clue. | | | |
|
John Mitchell Posts:2750


| | 02/28/2008 3:04 PM |
| | There is also an un-install script. Maybe if you uninstall and then reinstall it will work. | | | |
|
caroig
 Posts:30

| | 02/28/2008 3:09 PM |
|
Yes, I am using both. Looking at the snapsis generated css, it FF I have one complete .css file, then the 1st line only from the default.css file - no other .css files are loaded (missing the skin.css is noticeable!).
In IE7 the results look near to perfect. | | | |
|
lodani dani
 Posts:45

| | 02/28/2008 3:11 PM |
| I found that the ModuleDefIds in the ModuleDefinitions table are all wrong and pointing to non-existing moduledefinitions (very odd) ok, 'm going to reinstall it | | | |
|
John Mitchell Posts:2750


| | 02/28/2008 4:13 PM |
| Hi Caroig, I went and looked at your site. It's hard to tell what is happening, but if you can send me the trace log it may have some clues.
You can also try excluding skin.css from the merge process. Put this in the Snapsis.PageBlaster.config file:
< path pattern="skin\.css" excludeFrom="MergeCSS" /> | | | |
|
grant
 Posts:7

| | 02/28/2008 7:37 PM |
| Thanks John! Awesome work. I'll grab a copy as soon as I can and test it out. | | | |
|
lodani dani
 Posts:45

| | 02/29/2008 2:47 AM |
| John, Reinstallation didn't work either. A clue: I have 8 portals in this installation and having a look to the "PageBlaster.03.00.08.sql" I noticed that it inserts a row in Module and ModuleDefinitions table for each portal. Could this be the problem? Even if an installation has more than one portal a single ModuleDefinitions shouldn't be enough? I attached an screenshot of the contents of these tables just after the uninstall. thanks, dani |
Attachment: 1229473678871.zip
| | |
|
caroig
 Posts:30

| | 02/29/2008 3:24 AM |
| I've located my problem. Looking at my css output in FireFox with Pageblaster default settings, the last class in the consolidated css was the first from my default.css:- .pngeng {
} I should have looked at my source as the first class in the default css was actually:- .pngeng {
behavior: url("../js/iepngfix.htc");
} In firefox the class contents are just ignored, but something's a little askew with PageBlaster. In my consolidated .css file in IE7, the above class is output as:- .pngeng { behavior: url(/Portals/_default/../js/iepngfix.htc"); } The missing quote is not a typo of mine and clearly the path is not resolving correctly. Looking a bit further into the css in IE7 - the following is one of the standard DNN classes for the Edit in Place functionality. .eipbutton_edit { background: url(/Portals/_default/../../images/eip_edit.gif') Again the leading quote is stripped (single in this case) and the path is not correctly rebuilt. In firefox the same class is rendered as empty - I guess because of the invalid path statement. The path to the iepngfix file in the fist class is actually incorrect (should be ../../) - so I'm not sure if it's failing there because of the use of the behaviour selctor, the double quotes or the incorrect path. | | | |
|
caroig
 Posts:30

| | 02/29/2008 5:10 AM |
| I use the Carousel module from Mediant this loads in an iFrame on the page. It's calling JS libraries and conveniently displays an alert if they are not found. I can see the JS file consolidated by pageblaster but, as they are not found from the iFrame call, I guess they are out of the scope of the iFrame. What's my best solution to exclude the iFrame scripts somehow or to call the scripts inthe parent object? | | | |
|
caroig
 Posts:30

| | 02/29/2008 5:48 AM |
| I'm not quite sure what to do with my RadMenu problem. The base css for the menu is served through WebResources.axd - in the pageblaster version of my site, the link for the axd file exists in the css list, but is not returning any content. All the js files served by webresoures or scriptresources are working fine.
| | | |
|
caroig
 Posts:30

| | 02/29/2008 6:36 AM |
| I have a problem with the load of a css file in my NewsArticles module. The template.css is located in the desktop modules folder and the trace is giving me the following error:- 2/29/2008 5:21:21 AM PB:RequestFilter.MergeCSS: Error Merging CSS Link:D:\inetpub\myserver\DesktopModules\DnnForge%20-%20NewsArticles\Templates\AmuNews\Template.css I guess it the blankspace %20 that's causing the problem. | | | |
|
John Mitchell Posts:2750


| | 02/29/2008 6:47 AM |
| Thanks for the detailed feedback guys. I'll be correcting these problems with paths in the CSS and the install on multiple portal sites right away.
Caroig, The one about CSS coming from WebResource.axd surprises me. Can you get me an example of how the css link is formatted? | | | |
|
caroig
 Posts:30

| | 02/29/2008 6:57 AM |
| | href="/WebResource.axd?d=FQg29-G-z0EVNv4mLNmH-DTjex2k42N1hMcjvvpsvt5ifTQ5m8Ky48Z43lQYPglB81Ox8yU_A7AdDpez1VCCELuYsTMsrFuL0&t=633354626251796343" | | | |
|
caroig
 Posts:30

| | 02/29/2008 9:06 AM |
| I've only just realized that there is a pageblaster item in the admin menu. I have a multi-portal site and on the default port, the pageblaster module is displayed correctly. On the other portals I have had the following results - displays nothing (i.e. no content panes), displays the filemanger admin option content, displays the pages admin option content. I haven't had a look at the database to see what's happening behind the scenes, but each case the url specifies the pageblaster.aspx. The page blaster icon is also displayed on the module header bar for pages or filemanager. | | | |
|
John Mitchell Posts:2750


| | 02/29/2008 12:31 PM |
| Hi Caroig, Please try the attached DLL to see if it corrects the issue with CSS from WebResources and invalid paths in the CSS files. I'll be correcting the install for multiple portals on the next release which will be ready shortly after you let me know how this new dll works. | | | |
|
John Mitchell Posts:2750


| | 02/29/2008 12:38 PM |
| I still need to look at the issue with JS inside an IFrame. I would think that it would do the optimatisation of the iframe seperately. maybe the IFrame is looking for the scripts in the parent page, but I wouldn't expect that. I'll take a look at the site to see if there is a demo page where I can find out what is happening, but you could should be able to just exclude that page using the excludePath in the global config or with a module on the page you can set it to exclude from specific operations. | | | |
|
John Mitchell Posts:2750


| | 02/29/2008 1:17 PM |
| For the Carousel, I think it may have a problem because of the flash player page it is using.
If you add another exclude to the main one in the global config gile it should take care of it:
path pattern="(DDDGallery|\.ashx|LinkClick|login|rss|fck|admin|install|thumb|wizard|cart|\.asmx)" excludeFrom="All" /> | | | |
|
jens lewald
 Posts:40

| | 02/29/2008 1:32 PM |
| ok, the latest dll crash my css and javascript access total. take a look on http://beta.lundp.de i take a look in different skins. on same dnn but different portal although crash css and javascript . http://www.farbserver.net. i got this error in event log of windows Exception information:
Exception type: ArgumentException
Exception message: parsing "DesktopModules\Snapsis\PageBlaster\Cache/([^.]+/).*\." - Malformed \p{X} character escape. thanks jens | | | |
|
jens lewald
 Posts:40

| | 02/29/2008 2:28 PM |
| i still have problems with the new dll. there is no more error in event log, but the js and css din´d work correct. i got error in firebug like this [script removed]http://beta.lundp.de/WebResource.axd?... (404) do not merge css is on. but if if merge then the layout will crash although. edit in pageblaster trace i got this error PM PB:RequestFilter.MergeCSS: Error Merging CSS Link:D:\LewaldundPartner\Portals\_default\default.css Length cannot be less than zero. Parameter name: length at System.String.InternalSubStringWithChecks(Int32 startIndex, Int32 length, Boolean fAlwaysCopy) at Snapsis.HttpModules.PageBlaster.RequestFilter.MergeCSS(String pageContent)
thanks jens | | | |
|
jens lewald
 Posts:40

| | 02/29/2008 2:52 PM |
| this are other errors from trace log 2/29/2008 9:49:21 PM PB:StaticFileHandler.GetStaticAXD: Error creating static AXD File: D:\LewaldundPartner\DesktopModules\Snapsis\PageBlaster\Cache\webresource\fb481b3d329e3c77c5576e3a9da743df.axd Url:http://beta.lundp.de/WebResource.axd?d=8D0Udtu8lOZuE6ho0EdsXw2&t=633367406168507500 Could not find a part of the path 'D:\LewaldundPartner\DesktopModules\Snapsis\PageBlaster\Cache\webresource\fb481b3d329e3c77c5576e3a9da743df.axd'. at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy) at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options) at System.IO.StreamWriter.CreateFile(String path, Boolean append) at System.IO.StreamWriter..ctor(String path, Boolean append, Encoding encoding, Int32 bufferSize) at System.IO.StreamWriter..ctor(String path) at Snapsis.HttpModules.PageBlaster.StaticFileHandler.GetStaticAXD(HttpContext context, CachedRequest& cachedRequest) 2/29/2008 9:49:21 PM PB:RequestController.RemoveRequestCache: Folder cleanup started.
| | | |
|