Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dev/core#2602 - Installer doesn't check mysql version properly #20255

Merged
merged 1 commit into from
May 9, 2021

Conversation

demeritcowboy
Copy link
Contributor

Overview

https://lab.civicrm.org/dev/core/-/issues/2602

  1. Try to install on mariadb 5.5.68 by visiting sites/all/modules/civicrm/install/index.php
  2. The requirements checks tell you it's ok even though it should require 5.6.5+

Before

Comparing against a non-existent variable. Crashes if you proceed.

After

Red message. Can't proceed.

Technical Details

When it compares minor versions, it's comparing to $min when it should be comparing to $version (the variable passed into the function).

Comments

I know this is the "legacy" installer, but it's still there and used.

@civibot
Copy link

civibot bot commented May 9, 2021

(Standard links)

@civibot civibot bot added the master label May 9, 2021
@demeritcowboy demeritcowboy changed the title dev/core# - Installer doesn't check mysql version properly dev/core#2602 - Installer doesn't check mysql version properly May 9, 2021
@seamuslee001
Copy link
Contributor

This looks fine and looks to me to be a copy n paste error merging

@seamuslee001 seamuslee001 merged commit a0b9998 into civicrm:master May 9, 2021
@demeritcowboy
Copy link
Contributor Author

Thanks!

@demeritcowboy demeritcowboy deleted the mysql-compare branch May 11, 2021 02:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants