We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 3633
    • 84 Posts
    I am trying to set a template for the home page via the document manager, and whenever I click on the submit button, it displays a blank page. Why does it do that? How can I fix it?
      • 36635
      • 41 Posts
      same here on one site I upgraded to 1.0.0 (5 others fine)...I’ll post when I find more info...prob php error
        • 36635
        • 41 Posts
        php 4 error:

        Oct 14 12:43:41 ns1 httpd: PHP Parse error: parse error, unexpected ’(’, expecting ’}’ in /var/www/vhosts/domain.com/httpdocs/assets/modules/docmanager/classes/dm_backend.class.php on line 77

        replace line 77 with

        $tbl = $this->modx->getFullTableName(’site_content’);
        $sql = "UPDATE " . $tbl . " set menuindex=" . $key . " WHERE id=" . $id;

        fixes that error, but I still get no content, only menu header on doc manager page...must be more php4 compatibility issues...
          • 10487 MODX Staff
          • 1,535 Posts
          Garry Nutting Reply #4, 17 years ago
          DocManager PHP 4 issues have been fixed in SVN and will be made available in Evo 1.0.1. If you can’t wait for Evo 1.0.1, then you could use SVN to retrieve the latest DocManager files.
            Garry Nutting
            Senior Developer
            MODX, LLC

            Email: [email protected]
            Twitter: @garryn
            Web: modx.com