• Resolved HU ist Sebastian

    (@kuchenundkakao)


    Hi,

    The Database Rewrite Feature rewrites the absolute path of the old installation with the absolute path of the new installation.

    If the old installations absolute path is ‘/html’, then the Database option “html_type” gets updated too, which makes the website unusable (because the html_type option gets sent with the headers, and Browsers don’t understand a Content-Type like “text/whatever_new_root_path_this_installation_has”).

    Please update the installer -> Database Rewrite Feature to exclude the html_type option in the options table or find a way to only replace the old path if it stands singular (i think you can do this with regex).

    Thanks!

Viewing 1 replies (of 1 total)
  • Hey @kuchenundkakao,

    That definitely looks like an edge case, this is the first we have seen this since the plugin was released 11 years ago, most probably because almost nobody uses as root path /html generally there is something else before like /var/www/html which gives the search and replace a safer path to parse from. I’ll get this into the backlog to have someone take a look and see if there is a viable solution or work-a-round.

    Thanks for letting us know!

Viewing 1 replies (of 1 total)
  • The topic ‘Option ‘html_type’ MUST be excluded on Database Updates’ is closed to new replies.