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

[2.1.4]: upgrade from SMF 2.0.18 fails if the forum is in Slovenian language and UTF-8 #8125

Open
gregorklaric opened this issue Mar 3, 2024 · 0 comments

Comments

@gregorklaric
Copy link

gregorklaric commented Mar 3, 2024

Basic Information

Upgrade from SMF 2.0.18 hangs in step 6 if the forum is in Slovenian language and UTF-8.
I get this error:
Notice
: Undefined index: charset_detected in
/home3/fungifun/public_html/gobe/forum/upgrade.php
on line
3143

I think the problem is that in the upgrade script charsets are hardcoded for each language, (starting line 3083 // Figure out what charset we should be converting from... )
whereas the languages can be either in that encoding or in UTF-8 in SMF 2.0(as in my case)
See https://wiki.simplemachines.org/smf/UTF-8_Readme

The same problem might also be present in the upgrade.php for SMF 3.0.

See also https://www.simplemachines.org/community/index.php?topic=588397.0;topicseen for more details and a workaround.

Steps to reproduce

  1. Have a 2.0.18 forum in slovenian language, that has been converted to UTF-8 after install
  2. Upgrade to 2.1 as described in https://wiki.simplemachines.org/smf/Upgrading

Expected result

Upgrader works and upgrades the forum to 2.1.

Actual result

Upgrade is stuck in step 6 of the upgrade process.

Version/Git revision

2.1.4

Database Engine

MySQL

Database Version

5.7.23-23

PHP Version

7.4

Logs

No response

Additional Information

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant