When database encoding changed from single to multibyte character set unserialize function fails for data with multibyte characters if database content is not converted too.
We need a script to correct corrupted serialized data.
The script is quit simple:
- loop through all messages (see scripts/rebuild_thread_info.php as example)
- try to unserialize the meta data
- catch the error and fix the serialized data with a preg_replace (like we did in this commit 1778174)
We need to run the script against the support forums on phorum.org!
When database encoding changed from single to multibyte character set unserialize function fails for data with multibyte characters if database content is not converted too.
We need a script to correct corrupted serialized data.
The script is quit simple:
We need to run the script against the support forums on phorum.org!