We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 25322
    • 78 Posts
    Modx run site I have done freelance for a company is having issues running on a windows server that I can’t seem to solve so I need to export the entire site to static html to pass over to the company to use their own custom built cms which runs fine on their server. Can I just use the export static html option in the tools section of the manager for this? I just need to give them the xhtml/css files. Will this still leave the modx site exactly as it for the time being while they do their work or does it wipe over the current site? I basically just want to know if this will export all my pages to html and stick them in a folder I specify so I can just grab them off the server and pass them over. Cheers
      • 18397
      • 3,250 Posts
      Quote from: rob21 at May 03, 2007, 10:11 AM

      I basically just want to know if this will export all my pages to html and stick them in a folder I specify so I can just grab them off the server and pass them over

      It will export all of your sites HTML pages to /assets/export
        • 25322
        • 78 Posts
        awesome. cheers Mark
          • 25322
          • 78 Posts
          when trying to export the pages it fails on each page and I get this error at the top of the manager

          Warning: Call-time pass-by-reference has been deprecated; If you would like to pass it by reference, modify the declaration of [runtime function name](). If you would like to enable call-time pass-by-reference, you can set allow_call_time_pass_reference to true in your INI file. in /home/.nicedemos/ebugogo_main/www.ebugogo.tv/main3/manager/actions/export_site.static.php on line 227

          Warning: Call-time pass-by-reference has been deprecated; If you would like to pass it by reference, modify the declaration of [runtime function name](). If you would like to enable call-time pass-by-reference, you can set allow_call_time_pass_reference to true in your INI file. in /home/.nicedemos/ebugogo_main/www.ebugogo.tv/main3/manager/actions/export_site.static.php on line 246

          I had a look at the export_site.static.php file but I am not sure what to change on the lines specified.
          Any help greatly appreciated