Skip to end of metadata
Go to start of metadata

Hi there. I have a strange issue with Builder v3.3.4-conf210 with Confluence v3.0.0_01 where the HTML cache headers are showing up in the page. The items listed below show up at the top of the page as part of the content.

<META HTTP-EQUIV="Pragma" CONTENT="no-cache">
<META HTTP-EQUIV="Cache-Control" CONTENT="no-cache">
<META HTTP-EQUIV="Expires" CONTENT="-1">

Here is an image with a screenshot:

http://files.getdropbox.com/u/39023/wiki-builder-bug.png

If I code a view-source, here is what I see:

<meta id="confluence-context-path" name="confluence-context-path" content="/wiki">
<META name="Generator" content="Adaptavist Theme Builder 3.3.4-conf210">
&lt;META HTTP-EQUIV=&quot;Pragma&quot; CONTENT=&quot;no-cache&quot;&gt;
&lt;META HTTP-EQUIV=&quot;Cache-Control&quot; CONTENT=&quot;no-cache&quot;&gt;
&lt;META HTTP-EQUIV=&quot;Expires&quot; CONTENT=&quot;-1&quot;&gt;

You'll notice that the greater-than and less-than are escaped into their HTML safe-counterpart. How can I resolve this? Is this a known issue? Thanks

--Vinny

  • No labels

22 Comments

  1. That sounds like an invalid doctype ... click the 'use Default' link next to the doctype input on all the layouts down to the DEFAULT to ensure that a valid doctype shows through.

  2. Unknown User (vscarpenter)

    Hi Alain and thanks. So I navigated to Manage Layout -> Options -> DOCTYPE tag, the input box was empty. So I clicked "Use Default" and saved the layout. Now when I visit any page in the space using that layout, I see the following items showing up at the top of my page.

    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <META HTTP-EQUIV="Pragma" CONTENT="no-cache"> <META HTTP-EQUIV="Cache-Control" CONTENT="no-cache"> <META HTTP-EQUIV="Expires" CONTENT="-1"> 
    

    When I do a view-source on the generated page, here is what the top of the page looks like:

    <!-- main.vmd
    helper: com.atlassian.confluence.themes.GlobalHelper@c09597
    action: com.atlassian.confluence.core.ConfluenceActionSupport@19d2863
    action.helper: com.atlassian.confluence.themes.GlobalHelper@c09597
    action.globalHelper: com.atlassian.confluence.themes.GlobalHelper@c09597
    -->
    &lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.0 Transitional//EN&quot; &quot;http://www.w3.org/TR/html4/loose.dtd&quot;&gt;
    <html null>
    <head>
                  
    
    1. What happens when you append ?layout=DEFAULT to the url?

      Also you should be using 3.3.5 with confluence 3.0

      1. Unknown User (vscarpenter)

        Hi Alain. If I append ?layout=DEFAULT to the url, I still get the html message at the top with the default purple background. Here is a screenshot:

        http://files.getdropbox.com/u/39023/wiki-builder-bug2.png

        1. Which application container are you using?

          Have you upgraded to 3.3.5?

          1. Unknown User (vscarpenter)

            I am using WebLogic 9.2 SP3 - I am in the process of upgrading to 3.3.5 and I'll report back. Thanks

            1. Oh joy, I suspect that this is a Weblogic related issue (sad)

              One thing you might try doing is to switch off the debug comment, I have a suspicion that it may be confusing Weblogic ... unfortunately any more detailed investigation would require me to be able to sign the time off against a license or support contract.

          2. Unknown User (vscarpenter)

            Just upgrade to 3.3.5 and I am still getting these items at the top of the screen:

            <META HTTP-EQUIV="Pragma" CONTENT="no-cache"> 
            <META HTTP-EQUIV="Cache-Control" CONTENT="no-cache"> 
            <META HTTP-EQUIV="Expires" CONTENT="-1"> 
            
            1. I've attached a jar to this page which will remove the main.vmd comment, adittionaly you should go into the options tab of your layout and switch off the debug comment

              adaptavist-plugin-themeBuilder-3.3.5-M4-SNAPSHOT-conf210.jar

              1. Unknown User (vscarpenter)

                Hi Alain and thanks. So I downloaded and installed the latest M4 snapshot jar you provided above and restarted WebLogic. I also verified that the debug comment was turned off. After restarting, I still see the exact same issue.

                I don't know if I can provide any more information. If you want, I'm open to doing a WebEx session or something similar where you can connect and see all my configuration, etc. Let me know. Thanks

                1. Do you have a support contract with us?

                  1. Unknown User (vscarpenter)

                    I don't know - We did purchase Builder when it wasn't free but I have never been able to get an answer on where we stand. In fact, I did open an JIRA issue a few weeks ago trying to figure out our support status but I never heard anything back. I am not sure if you have access to the internal records and can check on our support status.

                    1. I am one of the three founders of adaptavist, I have access to EVERYTHING.

                      You purchased your builder license on 31-Oct-07, your maintenance contract expired on 31-Oct-08 - if you need us to help you with resolving this issue I'm going to need to get you to take out a support contract

                      1. Unknown User (jimbon)

                        Hello

                        I am having the same problem as Vinny, I see the header showing through in the final rendered page for my confluence. I am using adaptavist-plugin-themeBuilder-3.3.6-conf210.jar for confluence-3.0.2-std which I am upgrading to. Any tip on how to make the html generate correctly?

                        Jim

                        1. Try appending ?layout=DEFAULT to the url of a page where you are seeing this problem ... does the problem still ocurr?

                          1. Unknown User (jimbon)

                            Thank you for the quick reply Alain

                            That does make the page render a little better in IE, but it still has the same issue with the header showing through. : (

                            Also I just noticed that in IE my layout is very messed up, but other than the header issue it seems ok in google chrome.

                            Jim

                            1. Unknown User (jimbon)

                              Would not having the -conf210 variant cause this issue?
                              edited
                              Well I have that version installed sorry, I was confused before, is there any reason I would want to use a different version of theme builder?

                              Jim

                          2. Unknown User (jimbon)

                            I am still having this problem any other advice???

                            1. Unknown User (jimbon)

                              <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">

                              makes me sad : (

                              1. The doctype is set through the options tab of your layout, please ensure that you are using the default doctype by clicking the 'use default' link next to the input.

                                1. Unknown User (jimbon)

                                  In my existing installition I see the link you are asking me to hit.

                                  But in my new installation when I go to Manage Layouts, the buttons such as "overview" "layout" "options etc are not loading. This is similar to what I see in all theme builder menus.

                                  Any advice, on how to make the buttons show up?

                                  Jim

                                  1. You are going to need to take out a support contract before I can help you any further.

                                    Free support is only available upto a point and you have passed that point, sorry.