• Resolved Pieter Daalder

    (@wizzard_)


    Hello,

    I’ve found a little (but annoying) bug in your plugin. Currently if you’re running the installation process on a Windows IIS server the installer will break the entire site, because the generated web.config file is not a valid XML configuration file for IIS.

    If you want to reset the contents of this file, and leave a note there for future reference, the following XML should be used in trunk/installer/build/classes/config/class.conf.srv.php:

    <?xml version="1.0" encoding="UTF-8"?>
    <!-- Reset by Duplicator Installer.  Original can be found in web.config.{$timeStamp}.orig -->
    <configuration>
    </configuration>

    This way you won’t break the site on installation.

    • This topic was modified 9 years ago by Pieter Daalder. Reason: Added filename
Viewing 2 replies - 1 through 2 (of 2 total)
  • Cory Lamle

    (@corylamleorg)

    Hey Pieter,

    Thanks for the feedback and snippet! I went ahead and rolled those changes up into the trunk. If you can give the developer version a try it should have the updates for your issue. The very latest version (1.2.9) can be found by following these instructions:

    > Download Latest Version
    > Uninstall your current version and install this one.

    Also on step 1 of the installer under options is a new checkbox labeled ‘Retain original .htaccess, .user.ini and web.config’ check the checkbox and run the installer. This will prevent any changes to the web.config file. Please note you will need to save the permalinks once you are done.

    Please let me know if this solves the problems you ran into effectively~

    Thanks

    Thread Starter Pieter Daalder

    (@wizzard_)

    Sorry for the delay in feedback. We’ve tested the newer version and the problem seems to be fixed. Thank you!

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Problem with resetting web.config’ is closed to new replies.