We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 48171
    • 6 Posts
    Hi All,

    I have something very strange going on with a site that I have copied and installed on a local Wampserver install, that I moved using the steps at http://rtfm.modx.com/revolution/2.x/administering-your-site/moving-your-site-to-a-new-server.

    The MODX version is currently 2.2.4-pl
    Apache - V2.4.9
    PHP - V5.5.12
    MySQL - V5.6.17

    Everything works fine apart from one page which shows without any of the formatting etc from the template that has been applied to it.
    I have 5 document resources that all are set to use the template Admin Pages.

    This is the contents of the "Admin Pages" template
    [[$Head]] 
    
    [[$Header]] 
    
    <aside class="subBanner">
    	<div class="bannerImage">
    	<div class="siteAlign">
    		<h1 class="">[[*pagetitle]]</h1>
    		<div class="clear"><!-- --></div>
    	</div>
    	</div>
    </aside>
    
    <section class="content">
    	<div class="siteAlign">
    
    	<div class="column1">
    	
    		<div class="column4-3">
    [[*content]]
    [[!MaritimeModule]]
    <!--			 -->
    			<div class="clear"></div>
    		</div>
    		<div class="column4-1">
    <aside class="courseBookingStep1 adminNav">
    <h2>Admin Modules</h2>
    
    [[!Wayfinder? &startId=`29` &level=`1` &rowTpl=`adminNavTpl` ]]
    
    </div>
    <div class="clear"></div>
    		</div>
    	<div class="clear"></div>
    	</div>
    	<div class="clear"></div>
    	</div>
    </section>
    <div class="clear"></div>
    [[$Footer]]
    


    The other 4 resources all include the header and footer information, but this one resource only shows the information from the
    [[*content]]
    section.

    Any ideas?
      • 3749
      • 24,544 Posts
      Try editing the resource and saving it. While you're there, check to make sure it's still set to use that template.

      If that doesn't work, try turning off the compress_js and compress_css System Settings, then deleting all files in the core/cache directory.
        Did I help you? Buy me a beer
        Get my Book: MODX:The Official Guide
        MODX info for everyone: http://bobsguides.com/modx.html
        My MODX Extras
        Bob's Guides is now hosted at A2 MODX Hosting
        • 48171
        • 6 Posts
        Hi BobRay,

        Thanks for the ideas.
        I performed those steps, without success.

        Interestingly enough, I then copied the site up to a Linux based hoster, and it worked fine.
        Must be something in either windows or Wamp Server.

        Thanks
          • 3749
          • 24,544 Posts
          Or gremlins. wink
            Did I help you? Buy me a beer
            Get my Book: MODX:The Official Guide
            MODX info for everyone: http://bobsguides.com/modx.html
            My MODX Extras
            Bob's Guides is now hosted at A2 MODX Hosting
            • 28042 ☆ A M B ☆
            • 24,524 Posts
            Every now and then I get something like that, and after poking at it for a while I end up just creating a new resource and deleting the badly-behaved one. Once on the MODX Cloud a TV that I wasn't even using got stuck, and when I deleted it every resource using the template the TV was attached to would white-page when I tried to edit it. Not even the Cloud support team could figure out what was wrong. I finally ended up creating a new template, moving all the resources to using that template, and then I could delete the template and the TV.
              Studying MODX in the desert - http://sottwell.com
              Tips and Tricks from the MODX Forums and Slack Channels - http://modxcookbook.com
              Join the Slack Community - http://modx.org