We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 43404
    • 4 Posts
    First, I feel I should mention that this is my first post here, so I apologise if I leave any details out.

    When I assign a template variable to a template and select that template for a page, it essentially breaks the page. I get a white bar that covers part of "Edit Resource" and my settings tab disappears. When I select "Preview Resource" I get a blank page that loads instantly. If I remove the template variable from being linked to the template I'm using, it works fine. I also get this issue when using the MODxHost demo template, so I know it isn't my template. I'm almost positive it's not a problem with php, mySQL, or anything like that because this isn't the first site using Modx 1.0.8 on this server and I haven't seen this issue before. However, this isn't the first time I've had issues uploading the Modx files to the server to install. I've never had a problem using Windows 7, but the first time I tried uploading them using my new computer, running Windows 8, it took me a couple tries to get everything uploaded correctly. Could it possibly be an issue with the install? I looked at the database and the records looked fine, but I don't know explicitly what to look for.

    Server: Linux version 2.6.32-220.17.1.el6.x86_64
    Modx: 1.0.8
    PHP: 5.3.23
    MySQL: 5.5.30
    Browser: Firefox 26.0.1

    Also, I included a screenshot of my Edit Resource page when a template variable is assigned to the template I'm using.

    I really appreciate any help I can get. I'm pulling my hair out over this.
    • If at all possible, it is much better to upload the zip archive and unzip it on the server. It is far too likely to have files lost or corrupted if you try to upload all the files.
        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
        • 43404
        • 4 Posts
        Quote from: sottwell at Apr 17, 2013, 03:48 PM
        If at all possible, it is much better to upload the zip archive and unzip it on the server. It is far too likely to have files lost or corrupted if you try to upload all the files.

        Unfortunately, I don't have the SSH access required to unzip the archive. Any thoughts on why I wouldn't have problems when uploading until I switched to Windows 8, or would that be more of a question for Microsoft?
        • Probably depends on your FTP client. Could be the files being transferred from a Windows environment have the wrong end-of-line character. This causes a single-line comment to take over the whole file, since the wrong end-of-line character isn't recognized to end the comment line.
            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
            • 43404
            • 4 Posts
            Ah, okay, that makes sense. I'll try from a different computer and see what I get.